Skip to content

Commit 026a90d

Browse files
authored
Merge pull request #225 from PHPCSStandards/feature/ghactions-show-compile-time-deprecations
GH Actions: show deprecations when linting & lint against next PHP version
2 parents 293db2c + 14f8798 commit 026a90d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/phplint.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
php: ['5.4', '5.6', '7.2', 'latest']
22+
php: ['5.4', '5.6', '7.2', 'latest', 'nightly']
23+
24+
continue-on-error: ${{ matrix.php == 'nightly' }}
2325

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

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
6363
],
6464
"lint": [
65-
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
65+
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
6666
],
6767
"test": [
6868
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"

0 commit comments

Comments
 (0)