Skip to content

Commit 8f12bd8

Browse files
authored
CI: run tests even with PHP 8.4 (#179)
1 parent 8d30e53 commit 8f12bd8

File tree

7 files changed

+117
-93
lines changed

7 files changed

+117
-93
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
37+
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
3838
dependency-version: [ prefer-lowest, prefer-stable ]
3939
operating-system: [ ubuntu-latest, windows-latest ]
4040
steps:
@@ -50,7 +50,7 @@ jobs:
5050
ini-file: development
5151
-
5252
name: Update dependencies
53-
run: composer update --no-progress --${{ matrix.dependency-version }} --prefer-dist --no-interaction
53+
run: composer update --no-progress --${{ matrix.dependency-version }} --prefer-dist --no-interaction ${{ matrix.php-version == '8.4' && '--ignore-platform-req=php+' || '' }}
5454
-
5555
name: Run tests
5656
run: composer check:tests

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,5 @@ NO_COLOR=1 vendor/bin/composer-dependency-analyser
175175
- All functionality must be tested
176176

177177
## Supported PHP versions
178-
- Runtime requires PHP 7.2 - 8.3
178+
- Runtime requires PHP 7.2 - 8.4
179179
- Scanned codebase should use PHP >= 5.3

collision-detector.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"excludePaths": [
3-
"tests/data/not-autoloaded/builtin/native-symbols.php"
4-
]
2+
"ignoreParseFailures": true
53
}

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"require-dev": {
2727
"ext-dom": "*",
2828
"ext-libxml": "*",
29-
"editorconfig-checker/editorconfig-checker": "^10.3.0",
30-
"ergebnis/composer-normalize": "^2.19",
31-
"phpcompatibility/php-compatibility": "^9.3",
32-
"phpstan/phpstan": "^1.10.63",
33-
"phpstan/phpstan-phpunit": "^1.1.1",
34-
"phpstan/phpstan-strict-rules": "^1.2.3",
35-
"phpunit/phpunit": "^8.5.28 || ^9.5.20",
36-
"shipmonk/name-collision-detector": "^2.0.0",
37-
"slevomat/coding-standard": "^8.0.1"
29+
"editorconfig-checker/editorconfig-checker": "^10.6.0",
30+
"ergebnis/composer-normalize": "^2.19.0",
31+
"phpcompatibility/php-compatibility": "^9.3.5",
32+
"phpstan/phpstan": "^1.12.3",
33+
"phpstan/phpstan-phpunit": "^1.4.0",
34+
"phpstan/phpstan-strict-rules": "^1.6.0",
35+
"phpunit/phpunit": "^8.5.39 || ^9.6.20",
36+
"shipmonk/name-collision-detector": "^2.1.1",
37+
"slevomat/coding-standard": "^8.15.0"
3838
},
3939
"autoload": {
4040
"psr-4": {

0 commit comments

Comments
 (0)