Skip to content

Commit f2df5b3

Browse files
authored
feat: test PHP 8.2 (#173)
* feat: test PHP 8.2 * bump: tighten up deps * bump: PHPUnit 9.6 * bump: conflict PHP Parser < 4.14 * bump: openspout/openspout 4.0 * bump: symfony/* ^5.4, php-parser ^4.14
1 parent 6688de1 commit f2df5b3

File tree

6 files changed

+51
-46
lines changed

6 files changed

+51
-46
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
PHP_VERSION: ${{ matrix.php }}
1313
strategy:
1414
matrix:
15-
php: [ "8.0", "8.1" ]
15+
php: [ "8.0", "8.1", "8.2" ]
1616
dependencies: [ lowest, highest ]
1717
steps:
1818
-
@@ -29,7 +29,7 @@ jobs:
2929
PHP_VERSION: ${{ matrix.php }}
3030
strategy:
3131
matrix:
32-
php: [ "8.0", "8.1" ]
32+
php: [ "8.0", "8.1", "8.2" ]
3333
dependencies: [ lowest, highest ]
3434
steps:
3535
-

composer.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"require": {
1313
"php": "^8.0",
1414
"ext-json": "*",
15-
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
16-
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
15+
"symfony/options-resolver": "^5.4 || ^6.0",
16+
"symfony/serializer": "^5.4 || ^6.0"
1717
},
1818
"require-dev": {
1919
"doctrine/annotations": "^1.12",
@@ -22,14 +22,14 @@
2222
"nyholm/symfony-bundle-test": "dev-master",
2323
"openspout/openspout": "^4.0",
2424
"phpoffice/phpspreadsheet": "^1.18",
25-
"phpunit/phpunit": "^9.5",
25+
"phpunit/phpunit": "^9.6",
2626
"sigwin/infra": "~1.4.1",
27-
"symfony/console": "^4.4 || ^5.0 || ^6.0",
28-
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",
29-
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
30-
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
31-
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
32-
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
27+
"symfony/console": "^5.4 || ^6.0",
28+
"symfony/framework-bundle": "^5.4 || ^6.0",
29+
"symfony/phpunit-bridge": "^5.4 || ^6.0",
30+
"symfony/property-access": "^5.4 || ^6.0",
31+
"symfony/property-info": "^5.4 || ^6.0",
32+
"symfony/validator": "^5.4 || ^6.0"
3333
},
3434
"replace": {
3535
"sigwin/xezilaires-core": "self.version",
@@ -38,10 +38,7 @@
3838
"sigwin/xezilaires-symfony": "self.version"
3939
},
4040
"conflict": {
41-
"openspout/openspout": "< 3.0",
42-
"phpoffice/phpspreadsheet": "< 1.18",
43-
"symfony/config": "< 4.4.12",
44-
"symfony/dependency-injection": "< 4.4.12"
41+
"nikic/php-parser": "< 4.14"
4542
},
4643
"suggest": {
4744
"openspout/openspout": "Read Excel files with Spout",

src/Bridge/PhpSpreadsheet/composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
"require": {
1313
"php": "^8.0",
1414
"phpoffice/phpspreadsheet": "^1.18",
15-
"sigwin/xezilaires": "^0.5 || ^0.6"
15+
"sigwin/xezilaires": "^0.6"
1616
},
1717
"require-dev": {
1818
"doctrine/annotations": "^1.11",
19-
"phpunit/phpunit": "^9.5",
20-
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
21-
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
22-
"symfony/property-info": "^4.4 || ^5.0 || ^6.0"
19+
"phpunit/phpunit": "^9.6",
20+
"symfony/phpunit-bridge": "^5.4 || ^6.0",
21+
"symfony/property-access": "^5.4 || ^6.0",
22+
"symfony/property-info": "^5.4 || ^6.0"
23+
},
24+
"conflict": {
25+
"nikic/php-parser": "< 4.14"
2326
},
2427
"suggest": {
2528
"sigwin/xezilaires-symfony": "Symfony bundle integration, bin/xezilaires use"

src/Bridge/Spout/composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@
1212
"require": {
1313
"php": "^8.0",
1414
"openspout/openspout": "^4.0",
15-
"sigwin/xezilaires": "^0.5 || ^0.6"
15+
"sigwin/xezilaires": "^0.6"
1616
},
1717
"require-dev": {
1818
"doctrine/annotations": "^1.11",
1919
"nyholm/nsa": "^1.1",
20-
"phpunit/phpunit": "^9.5",
21-
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
22-
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
23-
"symfony/property-info": "^4.4 || ^5.0 || ^6.0"
20+
"phpunit/phpunit": "^9.6",
21+
"symfony/phpunit-bridge": "^5.4 || ^6.0",
22+
"symfony/property-access": "^5.4 || ^6.0",
23+
"symfony/property-info": "^5.4 || ^6.0"
24+
},
25+
"conflict": {
26+
"nikic/php-parser": "< 4.14"
2427
},
2528
"suggest": {
2629
"sigwin/xezilaires-symfony": "Symfony bundle integration, bin/xezilaires use"

src/Bridge/Symfony/composer.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,23 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"sigwin/xezilaires": "^0.5 || ^0.6",
15-
"symfony/console": "^4.4 || ^5.0 || ^6.0",
16-
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",
17-
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
18-
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
19-
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
14+
"sigwin/xezilaires": "^0.6",
15+
"symfony/console": "^5.4 || ^6.0",
16+
"symfony/framework-bundle": "^5.4 || ^6.0",
17+
"symfony/property-access": "^5.4 || ^6.0",
18+
"symfony/property-info": "^5.4 || ^6.0",
19+
"symfony/validator": "^5.4 || ^6.0"
2020
},
2121
"require-dev": {
2222
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
2323
"nyholm/symfony-bundle-test": "dev-master",
24-
"phpunit/phpunit": "^9.5",
25-
"sigwin/xezilaires-phpspreadsheet": "^0.5 || ^0.6",
26-
"sigwin/xezilaires-spout": "^0.5 || ^0.6",
27-
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0"
24+
"phpunit/phpunit": "^9.6",
25+
"sigwin/xezilaires-phpspreadsheet": "^0.6",
26+
"sigwin/xezilaires-spout": "^0.6",
27+
"symfony/phpunit-bridge": "^5.4 || ^6.0"
2828
},
2929
"conflict": {
30-
"symfony/config": "< 4.4.12",
31-
"symfony/dependency-injection": "< 4.4.12"
30+
"nikic/php-parser": "< 4.14"
3231
},
3332
"suggest": {
3433
"sigwin/xezilaires-phpspreadsheet": "Read Excel files with PhpSpreadsheet",

src/Xezilaires/composer.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
15-
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
14+
"symfony/options-resolver": "^5.4 || ^6.0",
15+
"symfony/serializer": "^5.4 || ^6.0"
1616
},
1717
"require-dev": {
1818
"doctrine/annotations": "^1.12",
1919
"nyholm/nsa": "^1.1",
20-
"openspout/openspout": "^3.0",
21-
"phpunit/phpunit": "^9.5",
22-
"symfony/console": "^4.4 || ^5.0 || ^6.0",
23-
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
24-
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
25-
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
26-
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
20+
"openspout/openspout": "^4.0",
21+
"phpunit/phpunit": "^9.6",
22+
"symfony/console": "^5.4 || ^6.0",
23+
"symfony/phpunit-bridge": "^5.4 || ^6.0",
24+
"symfony/property-access": "^5.4 || ^6.0",
25+
"symfony/property-info": "^5.4 || ^6.0",
26+
"symfony/validator": "^5.4 || ^6.0"
27+
},
28+
"conflict": {
29+
"nikic/php-parser": "< 4.14"
2730
},
2831
"suggest": {
2932
"sigwin/xezilaires-phpspreadsheet": "Read Excel files with PhpSpreadsheet",

0 commit comments

Comments
 (0)