Skip to content

Commit

Permalink
GH Actions: run lint against PHP 8.2
Browse files Browse the repository at this point in the history
The first alpha of PHP 8.2 was released nearly two weeks ago, so let's start linting against PHP 8.2

Includes enabling the `--show-deprecated` option.

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.
  • Loading branch information
jrfnl committed Jun 19, 2022
1 parent f8740d2 commit 28c9444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
steps:
- uses: "actions/checkout@v2"
- uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ext-zlib": "Zlib extension is required for archive modules and compressed metadata."
},
"scripts": {
"lint": "parallel-lint --exclude vendor --exclude .git .",
"lint": "parallel-lint --show-deprecated --exclude vendor --exclude .git .",
"test": [
"composer lint"
]
Expand Down

0 comments on commit 28c9444

Please sign in to comment.