Skip to content

Commit

Permalink
feat: test PHP 8.2 (#173)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dkarlovi authored Mar 27, 2023
1 parent 6688de1 commit f2df5b3
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
PHP_VERSION: ${{ matrix.php }}
strategy:
matrix:
php: [ "8.0", "8.1" ]
php: [ "8.0", "8.1", "8.2" ]
dependencies: [ lowest, highest ]
steps:
-
Expand All @@ -29,7 +29,7 @@ jobs:
PHP_VERSION: ${{ matrix.php }}
strategy:
matrix:
php: [ "8.0", "8.1" ]
php: [ "8.0", "8.1", "8.2" ]
dependencies: [ lowest, highest ]
steps:
-
Expand Down
23 changes: 10 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
"symfony/options-resolver": "^5.4 || ^6.0",
"symfony/serializer": "^5.4 || ^6.0"
},
"require-dev": {
"doctrine/annotations": "^1.12",
Expand All @@ -22,14 +22,14 @@
"nyholm/symfony-bundle-test": "dev-master",
"openspout/openspout": "^4.0",
"phpoffice/phpspreadsheet": "^1.18",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.6",
"sigwin/infra": "~1.4.1",
"symfony/console": "^4.4 || ^5.0 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
"symfony/console": "^5.4 || ^6.0",
"symfony/framework-bundle": "^5.4 || ^6.0",
"symfony/phpunit-bridge": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/property-info": "^5.4 || ^6.0",
"symfony/validator": "^5.4 || ^6.0"
},
"replace": {
"sigwin/xezilaires-core": "self.version",
Expand All @@ -38,10 +38,7 @@
"sigwin/xezilaires-symfony": "self.version"
},
"conflict": {
"openspout/openspout": "< 3.0",
"phpoffice/phpspreadsheet": "< 1.18",
"symfony/config": "< 4.4.12",
"symfony/dependency-injection": "< 4.4.12"
"nikic/php-parser": "< 4.14"
},
"suggest": {
"openspout/openspout": "Read Excel files with Spout",
Expand Down
13 changes: 8 additions & 5 deletions src/Bridge/PhpSpreadsheet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
"require": {
"php": "^8.0",
"phpoffice/phpspreadsheet": "^1.18",
"sigwin/xezilaires": "^0.5 || ^0.6"
"sigwin/xezilaires": "^0.6"
},
"require-dev": {
"doctrine/annotations": "^1.11",
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
"symfony/property-info": "^4.4 || ^5.0 || ^6.0"
"phpunit/phpunit": "^9.6",
"symfony/phpunit-bridge": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/property-info": "^5.4 || ^6.0"
},
"conflict": {
"nikic/php-parser": "< 4.14"
},
"suggest": {
"sigwin/xezilaires-symfony": "Symfony bundle integration, bin/xezilaires use"
Expand Down
13 changes: 8 additions & 5 deletions src/Bridge/Spout/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@
"require": {
"php": "^8.0",
"openspout/openspout": "^4.0",
"sigwin/xezilaires": "^0.5 || ^0.6"
"sigwin/xezilaires": "^0.6"
},
"require-dev": {
"doctrine/annotations": "^1.11",
"nyholm/nsa": "^1.1",
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
"symfony/property-info": "^4.4 || ^5.0 || ^6.0"
"phpunit/phpunit": "^9.6",
"symfony/phpunit-bridge": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/property-info": "^5.4 || ^6.0"
},
"conflict": {
"nikic/php-parser": "< 4.14"
},
"suggest": {
"sigwin/xezilaires-symfony": "Symfony bundle integration, bin/xezilaires use"
Expand Down
23 changes: 11 additions & 12 deletions src/Bridge/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,23 @@
],
"require": {
"php": "^8.0",
"sigwin/xezilaires": "^0.5 || ^0.6",
"symfony/console": "^4.4 || ^5.0 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
"sigwin/xezilaires": "^0.6",
"symfony/console": "^5.4 || ^6.0",
"symfony/framework-bundle": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/property-info": "^5.4 || ^6.0",
"symfony/validator": "^5.4 || ^6.0"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"nyholm/symfony-bundle-test": "dev-master",
"phpunit/phpunit": "^9.5",
"sigwin/xezilaires-phpspreadsheet": "^0.5 || ^0.6",
"sigwin/xezilaires-spout": "^0.5 || ^0.6",
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0"
"phpunit/phpunit": "^9.6",
"sigwin/xezilaires-phpspreadsheet": "^0.6",
"sigwin/xezilaires-spout": "^0.6",
"symfony/phpunit-bridge": "^5.4 || ^6.0"
},
"conflict": {
"symfony/config": "< 4.4.12",
"symfony/dependency-injection": "< 4.4.12"
"nikic/php-parser": "< 4.14"
},
"suggest": {
"sigwin/xezilaires-phpspreadsheet": "Read Excel files with PhpSpreadsheet",
Expand Down
21 changes: 12 additions & 9 deletions src/Xezilaires/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@
],
"require": {
"php": "^8.0",
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
"symfony/options-resolver": "^5.4 || ^6.0",
"symfony/serializer": "^5.4 || ^6.0"
},
"require-dev": {
"doctrine/annotations": "^1.12",
"nyholm/nsa": "^1.1",
"openspout/openspout": "^3.0",
"phpunit/phpunit": "^9.5",
"symfony/console": "^4.4 || ^5.0 || ^6.0",
"symfony/phpunit-bridge": "^4.4.9 || ^5.0 || ^6.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
"symfony/property-info": "^4.4 || ^5.0 || ^6.0",
"symfony/validator": "^4.4 || ^5.0 || ^6.0"
"openspout/openspout": "^4.0",
"phpunit/phpunit": "^9.6",
"symfony/console": "^5.4 || ^6.0",
"symfony/phpunit-bridge": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/property-info": "^5.4 || ^6.0",
"symfony/validator": "^5.4 || ^6.0"
},
"conflict": {
"nikic/php-parser": "< 4.14"
},
"suggest": {
"sigwin/xezilaires-phpspreadsheet": "Read Excel files with PhpSpreadsheet",
Expand Down

0 comments on commit f2df5b3

Please sign in to comment.