Skip to content

Commit

Permalink
GH Actions: show deprecations when linting
Browse files Browse the repository at this point in the history
While rare, there are some deprecations which PHP can show when a file is being linted.
By default these are ignored by PHP-Parallel-Lint.

Apparently though, there is an option to show them (wasn't documented until recently), so let's turn that option on.
  • Loading branch information
jrfnl committed Aug 22, 2024
1 parent 075144b commit 5e07f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
Expand Down

0 comments on commit 5e07f7a

Please sign in to comment.