Skip to content

Commit

Permalink
Merge pull request #225 from PHPCSStandards/feature/ghactions-show-co…
Browse files Browse the repository at this point in the history
…mpile-time-deprecations

GH Actions: show deprecations when linting & lint against next PHP version
  • Loading branch information
Potherca authored Aug 26, 2024
2 parents 293db2c + 14f8798 commit 026a90d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/phplint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:

strategy:
matrix:
php: ['5.4', '5.6', '7.2', 'latest']
php: ['5.4', '5.6', '7.2', 'latest', 'nightly']

continue-on-error: ${{ matrix.php == 'nightly' }}

name: "PHP Lint: PHP ${{ matrix.php }}"

Expand Down
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 026a90d

Please sign in to comment.