Skip to content

Commit 6187d48

Browse files
committed
chore: Add PHP 8.5. compatibility
1 parent ebc7aa7 commit 6187d48

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
fail-fast: true
77
matrix:
8-
php: [ "8.3" ]
8+
php: [ "8.3", "8.4", "8.5" ]
99

1010
runs-on: [ubuntu-latest]
1111
name: PHP@${{ matrix.php }}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"type": "package",
44
"description": "The Gaudigame Engine",
55
"require": {
6-
"php": "8.3.* | 8.4.*"
6+
"php": "8.3.* | 8.4.* | 8.5.*"
77
},
88
"require-dev": {
99
"laravel/pint": "^1.0",
10-
"pestphp/pest": "^3.0",
11-
"pestphp/pest-plugin-type-coverage": "^3.0",
12-
"phpstan/phpstan": "^1.0"
10+
"pestphp/pest": "^4.0",
11+
"pestphp/pest-plugin-type-coverage": "^4.0",
12+
"phpstan/phpstan": "^2.0"
1313
},
1414
"autoload": {
1515
"psr-4": {

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ parameters:
2121
message: "#^Access to an undefined property PHPUnit\\\\Framework\\\\TestCase\\:\\:\\$#"
2222
path: tests/*
2323

24+
-
25+
identifier: method.nonObject
26+
path: tests/*
27+

0 commit comments

Comments
 (0)