diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d8804c..ef96273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.3.3 (unreleased) +===== + +- (improvement) Add `-v` flag to PHPStan call to also show the error identifiers. + + 1.3.2 ===== diff --git a/src/Initializer/LibraryInitializer.php b/src/Initializer/LibraryInitializer.php index 79b8455..66bd194 100644 --- a/src/Initializer/LibraryInitializer.php +++ b/src/Initializer/LibraryInitializer.php @@ -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 composer update..."); diff --git a/src/Initializer/SymfonyInitializer.php b/src/Initializer/SymfonyInitializer.php index 3ced3fb..f782b14 100644 --- a/src/Initializer/SymfonyInitializer.php +++ b/src/Initializer/SymfonyInitializer.php @@ -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 composer update...");