Skip to content

Commit aa838b5

Browse files
committed
ci: 🤖 add PHP 8.4
1 parent bac07f5 commit aa838b5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/static-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
php:
19-
- '8.3'
19+
- '8.4'
2020
steps:
2121
- uses: 'actions/checkout@v2'
2222
- uses: 'shivammathur/setup-php@v2'

.github/workflows/testing.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
- '8.1'
2727
- '8.2'
2828
- '8.3'
29+
- '8.4'
2930
steps:
3031
- uses: 'actions/checkout@v2'
3132
- uses: 'shivammathur/setup-php@v2'
3233
with:
3334
php-version: '${{ matrix.php }}'
34-
- run: 'find src/ -type f -name "*.php" -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )'
35+
- run: 'find src/ -type f -name "*.php" -print0 | xargs -0 -n1 -P4 php -d"error_reporting=E_ALL&~E_DEPRECATED" -l -n | (! grep -v "No syntax errors detected" )'
3536

3637
unit-testing:
3738
runs-on: 'ubuntu-20.04'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Full documentation is available in the [`docs/`](docs/) folder.
1313
## Compatibility
1414

1515
This library has extensive test coverage using PHPUnit on PHP versions: `5.6`,
16-
`7.0`, `7.1`, `7.2`, `7.3`, `7.4`, `8.0`, `8.1`, `8.2`, and `8.3`.
16+
`7.0`, `7.1`, `7.2`, `7.3`, `7.4`, `8.0`, `8.1`, `8.2`, `8.3` and `8.4`.
1717

18-
Static analysis is performed with PHPStan at `max` level on PHP `8.3`, using
18+
Static analysis is performed with PHPStan at `max` level on PHP `8.4`, using
1919
core, bleeding edge, and deprecation rules.
2020

2121
> The Doctrine features for this library have been split off into their own

phpstan.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ parameters:
22
level: 'max'
33
paths: [ 'src', 'tests' ]
44
checkFunctionNameCase: true
5-
checkGenericClassInNonGenericObjectType: true
65
reportUnmatchedIgnoredErrors: true
76
treatPhpDocTypesAsCertain: false
87
parallel:

0 commit comments

Comments
 (0)