Skip to content

Commit 7238b75

Browse files
committed
Drop support for old Symfony versions
1 parent 511ec53 commit 7238b75

File tree

3 files changed

+19
-26
lines changed

3 files changed

+19
-26
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
dependencies:
2424
- stable
2525
- beta
26-
- lowest
2726
experimental: [ false ]
2827
include:
2928
- description: 'stable dependencies'
3029
dependencies: stable
3130
- description: 'lowest dependencies'
3231
dependencies: lowest
32+
php: '8.1'
3333
- description: 'beta/RC dependencies'
3434
dependencies: beta
3535
# - description: 'nightly with stable dependencies'
36-
# php: 8.4
36+
# php: 8.5
3737
# experimental: true
3838

3939
name: PHP ${{ matrix.php }} ${{ matrix.description }}
@@ -72,18 +72,10 @@ jobs:
7272
run: vendor/bin/phpstan
7373
if: ${{ matrix.dependencies != 'lowest' && !matrix.experimental }}
7474

75-
- name: Run automated tests for stable
75+
- name: Run automated tests
7676
run: vendor/bin/phpunit --coverage-text --coverage-xml build/coverage-xml --coverage-cobertura build/cobertura.xml
77-
if: ${{ matrix.dependencies == 'stable' && !matrix.experimental }}
78-
79-
- name: Run automated tests without deprecation testing
80-
run: vendor/bin/phpunit --coverage-text --coverage-xml build/coverage-xml --coverage-cobertura build/cobertura.xml
81-
if: ${{ matrix.dependencies != 'stable' || matrix.experimental }}
82-
env:
83-
SYMFONY_DEPRECATIONS_HELPER: ''
8477

8578
- name: Upload coverage reports to Codecov
8679
uses: codecov/codecov-action@v4
8780
env:
8881
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
89-

bin/prepare-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cd $(dirname $0)/..
44

55
export APP_ENV=test
66
export APP_DEBUG=1
7+
export PHP_CS_FIXER_IGNORE_ENV=true
78
export XDEBUG_MODE=coverage
89

910
vendor/bin/php-cs-fixer fix

composer.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
},
2222
"require": {
2323
"php": ">=8.1",
24-
"symfony/event-dispatcher": "^6.3|^7.0",
25-
"symfony/framework-bundle": "^6.3|^7.0",
26-
"symfony/options-resolver": "^6.3|^7.0",
27-
"symfony/property-access": "^6.3|^7.0",
28-
"symfony/translation": "^6.3|^7.0"
24+
"symfony/event-dispatcher": "^6.4|^7.1",
25+
"symfony/framework-bundle": "^6.4|^7.1",
26+
"symfony/options-resolver": "^6.4|^7.1",
27+
"symfony/property-access": "^6.4|^7.1",
28+
"symfony/translation": "^6.4|^7.1"
2929
},
3030
"require-dev": {
3131
"ext-curl": "*",
@@ -50,16 +50,16 @@
5050
"phpstan/phpstan-symfony": "^2.0.0",
5151
"phpunit/phpunit": "^10.5.38|^11.4.4",
5252
"ruflin/elastica": "^6.2|^7.3.2",
53-
"symfony/browser-kit": "^6.3|^7.0",
54-
"symfony/css-selector": "^6.3|^7.0",
55-
"symfony/doctrine-bridge": "^6.3|^7.0",
56-
"symfony/dom-crawler": "^6.3|^7.0",
57-
"symfony/intl": "^6.3|^7.0",
58-
"symfony/mime": "^6.3|^7.0",
59-
"symfony/phpunit-bridge": ">6.3",
60-
"symfony/twig-bundle": "^6.3|^7.0",
61-
"symfony/var-dumper": "^6.3|^7.0",
62-
"symfony/yaml": "^6.3|^7.0"
53+
"symfony/browser-kit": "^6.4.13|^7.1",
54+
"symfony/css-selector": "^6.4.13|^7.1",
55+
"symfony/doctrine-bridge": "^6.4.13|^7.1",
56+
"symfony/dom-crawler": "^6.4.13|^7.1",
57+
"symfony/intl": "^6.4.13|^7.1",
58+
"symfony/mime": "^6.4.13|^7.1",
59+
"symfony/phpunit-bridge": "^7.2",
60+
"symfony/twig-bundle": "^6.4|^7.1",
61+
"symfony/var-dumper": "^6.4.13|^7.1",
62+
"symfony/yaml": "^6.4.13|^7.1"
6363
},
6464
"conflict": {
6565
"doctrine/orm": "^3.0 <3.3",

0 commit comments

Comments
 (0)