Skip to content

Commit b4a7eea

Browse files
authored
Test against PHP 8.3, 8.4 + 8.5, drop support for PHP < 8.2 (#19)
* Bump actions/checkout version * Test against latest PHP versions * Fix usage of deprecated constant E_STRICT * Drop support for PHP < 8.2
1 parent 3a54696 commit b4a7eea

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

.github/workflows/main.yml

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

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

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

17-
- name: Setup PHP
17+
- name: Setup PHP != 8.5
18+
if: ${{ matrix.php != '8.5' }}
1819
uses: shivammathur/setup-php@v2
1920
with:
2021
php-version: ${{ matrix.php }}
2122
coverage: none
2223

24+
- name: Setup PHP 8.5
25+
if: ${{ matrix.php == '8.5' }}
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
coverage: none
30+
# this ini directive seems to be off by default in PHP 8.5
31+
# see https://github.com/php/php-src/issues/20279
32+
# enable it because codeception relies on it.
33+
ini-values: register_argc_argv=1
34+
2335
- name: Validate composer.json and composer.lock
2436
run: composer validate
2537

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"minimum-stability": "RC",
1414
"require": {
15-
"php": "^8.0",
15+
"php": "^8.2",
1616
"ext-dom": "*",
1717
"codeception/codeception": "^5.0.8",
1818
"codeception/lib-innerbrowser": "^3.0 | ^4.0",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A SOAP module for Codeception.
99

1010
## Requirements
1111

12-
* `PHP 8.0` or higher.
12+
* `PHP 8.2` or higher.
1313

1414
## Installation
1515

tests/unit.suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
error_level: "E_ALL | E_STRICT"
1+
error_level: "E_ALL"
22
class_name: UnitTester

0 commit comments

Comments
 (0)