Skip to content

Commit

Permalink
Merge pull request #2046 from WordPress/feature/composer-lint-script-…
Browse files Browse the repository at this point in the history
…show-deprecated

GH Actions: show deprecations when linting
  • Loading branch information
dingo-d authored Apr 26, 2022
2 parents 445ff65 + fc6958b commit 7415105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"prefer-stable": true,
"scripts": {
"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"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git --checkstyle"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
Expand Down

0 comments on commit 7415105

Please sign in to comment.