Skip to content

Commit

Permalink
Merge pull request #12 from 21TORR/phpstan-v
Browse files Browse the repository at this point in the history
Add `-v` flag to PHPStan calls
  • Loading branch information
apfelbox authored Jun 5, 2024
2 parents e152727 + 9e41e53 commit a889481
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.3.3 (unreleased)
=====

- (improvement) Add `-v` flag to PHPStan call to also show the error identifiers.


1.3.2
=====

Expand Down
2 changes: 1 addition & 1 deletion src/Initializer/LibraryInitializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function initialize (TorrStyle $io) : int
"cs-fixer" => "vendor-bin/cs-fixer/vendor/bin/php-cs-fixer check --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --no-interaction --ansi",
]);
$helper->updateProjectComposerJsonScripts("test", [
"phpstan" => "vendor-bin/phpstan/vendor/bin/phpstan analyze -c phpstan.neon . --ansi",
"phpstan" => "vendor-bin/phpstan/vendor/bin/phpstan analyze -c phpstan.neon . --ansi -v",
]);

$io->writeln("• Running <fg=blue>composer update</>...");
Expand Down
2 changes: 1 addition & 1 deletion src/Initializer/SymfonyInitializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function initialize (TorrStyle $io) : int
"cs-fixer" => "vendor-bin/cs-fixer/vendor/bin/php-cs-fixer check --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --no-interaction --ansi",
]);
$helper->updateProjectComposerJsonScripts("test", [
"phpstan" => "vendor-bin/phpstan/vendor/bin/phpstan analyze -c phpstan.neon . --ansi",
"phpstan" => "vendor-bin/phpstan/vendor/bin/phpstan analyze -c phpstan.neon . --ansi -v",
]);

$io->writeln("• Running <fg=blue>composer update</>...");
Expand Down

0 comments on commit a889481

Please sign in to comment.