Skip to content

Commit

Permalink
Support Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Apr 1, 2024
1 parent 6812952 commit 8e57441
Show file tree
Hide file tree
Showing 3 changed files with 423 additions and 425 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

- os: ubuntu-latest
php-version: "8.2"
php-version: "8.3"
dependencies: highest
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Make sure composer.json is valid before we start modifyig it
run: composer validate

- name: Clear platform php configuration in case we need to update phpunit
run: composer config --unset platform.php

Expand All @@ -162,7 +162,7 @@ jobs:

- name: Run tests with phpunit
run: composer unit

- name: Publish code coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.php-version == '8.0'
run: bash <(curl -s https://codecov.io/bash)
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"require": {
"php": ">=7.1.3",
"dflydev/dot-access-data": "^1.1.0 || ^2 || ^3",
"symfony/console": "^4 || ^5 || ^6",
"symfony/finder": "^4 || ^5 || ^6"
"symfony/console": "^4 || ^5 || ^6 || ^7",
"symfony/finder": "^4 || ^5 || ^6 || ^7"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.4.2",
"squizlabs/php_codesniffer": "^3",
"symfony/var-dumper": "^4 || ^5 || ^6",
"symfony/yaml": "^4 || ^5 || ^6",
"symfony/var-dumper": "^4 || ^5 || ^6 || ^7",
"symfony/yaml": "^4 || ^5 || ^6 || ^7",
"phpunit/phpunit": "^7 || ^8 || ^9",
"yoast/phpunit-polyfills": "^1"
},
Expand All @@ -39,7 +39,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.1"
"php": "8.2"
},
"allow-plugins": {
"ocramius/package-versions": true
Expand Down
Loading

0 comments on commit 8e57441

Please sign in to comment.