Skip to content

Commit

Permalink
Allow PHP 8.2 and run CI against it (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
marmichalski authored Dec 13, 2022
1 parent edb9b79 commit 8ef19a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
php-version:
- "8.0"
- "8.1"
- "8.2"
operating-system:
- "ubuntu-latest"

Expand Down Expand Up @@ -49,7 +50,7 @@ jobs:
run: "composer audit"

- name: "Run coding style"
if: ${{ matrix.php-version != '8.1' }} # php-cs-fixer does not run on 8.1 yet
if: ${{ matrix.dependencies == 'locked' && matrix.php-version == '8.0' }}
run: "composer code-style:check"

- name: "Run PHPStan"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"require": {
"php": ">=8.0,<8.2",
"php": ">=8.0,<8.3",
"ext-json": "*"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ef19a0

Please sign in to comment.