Skip to content

Commit cc0b6fa

Browse files
authored
Test against PHP 8.5 (#9)
* chore(ci): test against php 8.5 * chore(ci): bump actions/checkout version to 6 * chore(phpstan): ignore warning regarding invalid return type
1 parent da65596 commit cc0b6fa

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [8.2, 8.3, 8.4]
11+
php: [8.2, 8.3, 8.4, 8.5]
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
@@ -30,4 +30,4 @@ jobs:
3030
run: phpcs src/
3131

3232
- name: Static analysis
33-
run: phpstan analyze --level=9 src/
33+
run: phpstan analyze

phpstan.neon.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
level: 9
3+
paths:
4+
- src
5+
ignoreErrors:
6+
- '#Method Codeception\\Util\\XmlStructure::matchElement\(\) should return DOMNode\|null but returns DOMNameSpaceNode\|DOMNode\|null\.#'

0 commit comments

Comments
 (0)