Skip to content

Commit 9c38e0d

Browse files
authored
Add support for sebastian/comparator v8 (#25)
* feat(deps): add support for sebastian/comparator v8 * chore(ci); remove obsolete workaround
1 parent 425b9ed commit 9c38e0d

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,12 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@v6
2222

23-
- name: Setup PHP != 8.5
24-
if: ${{ matrix.php != '8.5' }}
23+
- name: Setup PHP
2524
uses: shivammathur/setup-php@v2
2625
with:
2726
php-version: ${{ matrix.php }}
2827
coverage: none
2928

30-
- name: Setup PHP 8.5
31-
if: ${{ matrix.php == '8.5' }}
32-
uses: shivammathur/setup-php@v2
33-
with:
34-
php-version: ${{ matrix.php }}
35-
coverage: none
36-
# this ini directive seems to be off by default in PHP 8.5
37-
# see https://github.com/php/php-src/issues/20279
38-
# enable it because codeception relies on it.
39-
ini-values: register_argc_argv=1
40-
4129
- name: Validate composer.json and composer.lock
4230
run: composer validate
4331

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php": "^8.0",
1919
"codeception/codeception": "^5.0",
2020
"predis/predis": "^1.1 | ^2.0 | ^3.0",
21-
"sebastian/comparator": "^4.0 | ^5.0 | ^6.0 | ^7.0"
21+
"sebastian/comparator": "^4.0 | ^5.0 | ^6.0 | ^7.0 | ^8.0"
2222
},
2323
"autoload": {
2424
"classmap": [

0 commit comments

Comments
 (0)