Skip to content

Commit 28aac31

Browse files
committed
GH Actions: show deprecations when linting
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.
1 parent dade966 commit 28aac31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"prefer-stable": true,
4545
"scripts" : {
4646
"lint": [
47-
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
47+
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
4848
],
4949
"check-cs": [
5050
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"

0 commit comments

Comments
 (0)