Skip to content

Commit f6c828c

Browse files
authored
Merge pull request #115 from phpbb-fr-com/fix-112
fix #112 - EPV doesn't work with PHP 8
2 parents 960fd99 + 91f25ab commit f6c828c

27 files changed

+2024
-926
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ jobs:
1717
- php: '7.2'
1818
- php: '7.3'
1919
- php: '7.4'
20+
- php: '8.0'
21+
- php: '8.1'
22+
- php: '8.2'
23+
- php: '8.3'
2024

2125
name: PHP ${{ matrix.php }}
2226

2327
steps:
2428
- name: Checkout repository
25-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
2630

2731
- name: Setup PHP
2832
uses: shivammathur/setup-php@v2
@@ -32,13 +36,13 @@ jobs:
3236
coverage: none
3337

3438
- name: Cache Composer dependencies
35-
uses: actions/cache@v2
39+
uses: actions/cache@v4
3640
with:
3741
path: /tmp/composer-cache
3842
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
3943

4044
- name: Install Composer dependencies
41-
uses: php-actions/composer@v5
45+
uses: php-actions/composer@v6
4246
with:
4347
php_version: ${{ matrix.php }}
4448
args: --prefer-source

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
],
1111
"minimum-stability": "stable",
1212
"require": {
13-
"php": ">=7.0",
14-
"symfony/yaml": "^3.0|^4.0|^5.0",
15-
"symfony/console": "^3.0|^4.0|^5.0",
16-
"symfony/finder": "^3.0|^4.0|^5.0",
17-
"symfony/process": "^3.0|^4.0|^5.0",
18-
"nikic/php-parser": "~3.0",
19-
"gitonomy/gitlib": "0.1.*@dev",
13+
"php": ">=7.2",
14+
"ext-json": "*",
15+
"symfony/yaml": "^3.0 || ^4.0 || ^5.0 || ^6.0",
16+
"symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0",
17+
"symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0",
18+
"symfony/process": "^3.0 || ^4.0 || ^5.0 || ^6.0",
19+
"nikic/php-parser": "^4.0",
20+
"gitonomy/gitlib": "^1.3.0",
2021
"sensiolabs/ansi-to-html": "~1.1",
21-
"composer/composer": "^1.5"
22+
"composer/composer": "^1.5 || ^2.0"
2223
},
2324
"require-dev": {
24-
"phpunit/phpunit": "~5.4",
25-
"phpunit/phpunit-mock-objects": "~3.2"
25+
"phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
2626
},
2727
"bin": [
2828
"src/EPV.php"

0 commit comments

Comments
 (0)