Skip to content

Commit 9ffea2e

Browse files
authored
[Chore] Bump package versions (#1076)
| Q | A | --------------- | ----- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT
2 parents 591a6eb + e5f0b23 commit 9ffea2e

File tree

6 files changed

+56
-53
lines changed

6 files changed

+56
-53
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,13 @@ jobs:
1717
tests:
1818
runs-on: ubuntu-latest
1919
name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, ORM ${{ matrix.orm }}"
20-
env:
21-
APP_ENV: ${{ matrix.app_env }}
2220
strategy:
2321
fail-fast: false
2422
matrix:
2523
orm: ['2.*', '3.*']
26-
php: ["8.1", "8.2", "8.3"]
24+
php: ["8.2", "8.3"]
2725
composer-flags: ['--no-scripts --prefer-stable --prefer-dist']
28-
symfony: ["^6.4", "^7.1"]
29-
app_env: ["test"]
30-
exclude:
31-
- php: "8.1"
32-
symfony: "^7.1"
26+
symfony: ["6.4.*", "7.4.*"]
3327

3428
steps:
3529
-
@@ -141,7 +135,6 @@ jobs:
141135
142136
-
143137
name: Run lint container without friendsofsymfony/rest-bundle willdurand/hateoas-bundle jms/serializer-bundle packages
144-
if: matrix.app_env == 'test'
145138
run: |
146139
composer remove --dev friendsofsymfony/rest-bundle willdurand/hateoas-bundle jms/serializer-bundle --no-scripts
147140
(cd tests/Application && bin/console cache:clear --env=test_without_fosrest)
@@ -150,7 +143,6 @@ jobs:
150143
151144
-
152145
name: Run lint container without winzou/state-machine-bundle package
153-
if: matrix.app_env == 'test'
154146
run: |
155147
composer remove --dev winzou/state-machine-bundle --no-scripts
156148
(cd tests/Application && bin/console cache:clear --env=test_without_state_machine)
@@ -159,8 +151,8 @@ jobs:
159151
160152
-
161153
name: Run lint container without sylius/grid-bundle package
162-
if: matrix.app_env == 'test'
163154
run: |
155+
find tests/Application/src -type f -name '*Grid.php' -delete
164156
composer remove sylius/grid-bundle --no-scripts --dev
165157
(cd tests/Application && bin/console cache:clear --env=test_without_twig)
166158
(cd tests/Application && bin/console lint:container --env=test_without_twig)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
/symfony.lock
77

88
/.phpunit.result.cache
9+
10+
tests/Application/config/reference.php

UPGRADE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## UPGRADE FOR `1.14.x`
2+
3+
### FROM `1.13.x` to `1.14.x`
4+
5+
The minimum required PHP version is now 8.2.
6+
17
## UPGRADE FOR `1.13.x`
28

39
### FROM `1.12.x` to `1.13.x`

composer.json

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^8.1",
28+
"php": "^8.2",
2929
"babdev/pagerfanta-bundle": "^4.4",
3030
"behat/transliterator": "^1.2",
3131
"doctrine/annotations": "^2.0",
@@ -35,20 +35,20 @@
3535
"doctrine/persistence": "^3.3",
3636
"gedmo/doctrine-extensions": "^3.17.1",
3737
"sylius/registry": "^1.2",
38-
"symfony/config": "^6.4 || ^7.1",
38+
"symfony/config": "^6.4 || ^7.4",
3939
"symfony/deprecation-contracts": "^3.5",
40-
"symfony/expression-language": "^6.4 || ^7.1",
41-
"symfony/form": "^6.4 || ^7.1",
42-
"symfony/framework-bundle": "^6.4 || ^7.1",
43-
"symfony/http-foundation": "^6.4 || ^7.1",
44-
"symfony/intl": "^6.4 || ^7.1",
45-
"symfony/routing": "^6.4 || ^7.1",
46-
"symfony/security-core": "^6.4 || ^7.1",
47-
"symfony/security-csrf": "^6.4 || ^7.1",
48-
"symfony/translation": "^6.4 || ^7.1",
49-
"symfony/twig-bundle": "^6.4 || ^7.1",
50-
"symfony/validator": "^6.4 || ^7.1",
51-
"symfony/yaml": "^6.4 || ^7.1",
40+
"symfony/expression-language": "^6.4 || ^7.4",
41+
"symfony/form": "^6.4 || ^7.4",
42+
"symfony/framework-bundle": "^6.4 || ^7.4",
43+
"symfony/http-foundation": "^6.4 || ^7.4",
44+
"symfony/intl": "^6.4 || ^7.4",
45+
"symfony/routing": "^6.4 || ^7.4",
46+
"symfony/security-core": "^6.4 || ^7.4",
47+
"symfony/security-csrf": "^6.4 || ^7.4",
48+
"symfony/translation": "^6.4 || ^7.4",
49+
"symfony/twig-bundle": "^6.4 || ^7.4",
50+
"symfony/validator": "^6.4 || ^7.4",
51+
"symfony/yaml": "^6.4 || ^7.4",
5252
"webmozart/assert": "^1.11",
5353
"willdurand/negotiation": "^3.1"
5454
},
@@ -77,19 +77,18 @@
7777
"rector/rector": "^0.18.2",
7878
"sylius-labs/coding-standard": "^4.4",
7979
"sylius/grid-bundle": "^1.13",
80-
"symfony/console": "^6.4 || ^7.1",
81-
"symfony/css-selector": "^6.4 || ^7.1",
82-
"symfony/dependency-injection": "^6.4 || ^7.1",
83-
"symfony/dotenv": "^6.4 || ^7.1",
84-
"symfony/http-kernel": "^6.4 || ^7.1",
85-
"symfony/messenger": "^6.4 || ^7.1",
86-
"symfony/security-bundle": "^6.4 || ^7.1",
87-
"symfony/serializer": "^6.4 || ^7.1",
88-
"symfony/stopwatch": "^6.4 || ^7.1",
89-
"symfony/uid": "^6.4 || ^7.1",
90-
"symfony/workflow": "^6.4 || ^7.1",
80+
"symfony/console": "^6.4 || ^7.4",
81+
"symfony/css-selector": "^6.4 || ^7.4",
82+
"symfony/dependency-injection": "^6.4 || ^7.4",
83+
"symfony/dotenv": "^6.4 || ^7.4",
84+
"symfony/http-kernel": "^6.4 || ^7.4",
85+
"symfony/messenger": "^6.4 || ^7.4",
86+
"symfony/security-bundle": "^6.4 || ^7.4",
87+
"symfony/serializer": "^6.4 || ^7.4",
88+
"symfony/stopwatch": "^6.4 || ^7.4",
89+
"symfony/uid": "^6.4 || ^7.4",
90+
"symfony/workflow": "^6.4 || ^7.4",
9191
"twig/twig": "^3.14",
92-
"vimeo/psalm": "^5.26",
9392
"willdurand/hateoas-bundle": "^2.5",
9493
"winzou/state-machine-bundle": "^0.6.2",
9594
"zenstruck/foundry": "^2.3 <2.7"
@@ -117,7 +116,7 @@
117116
},
118117
"extra": {
119118
"symfony": {
120-
"require": "^7.1"
119+
"require": "7.4.*"
121120
}
122121
},
123122
"autoload": {

ecs.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
__DIR__ . '/tests',
1515
]);
1616

17+
$ecsConfig->skip([
18+
__DIR__ . '/tests/Application/config/reference.php',
19+
]);
20+
1721
$ecsConfig->import('vendor/sylius-labs/coding-standard/ecs.php');
1822

1923
$ecsConfig->ruleWithConfiguration(HeaderCommentFixer::class, [

src/Component/composer.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@
2727
}
2828
],
2929
"require": {
30-
"php": "^8.1",
30+
"php": "^8.2",
3131
"doctrine/collections": "^1.8 || ^2.0",
3232
"doctrine/inflector": "^1.4 || ^2.0",
3333
"gedmo/doctrine-extensions": "^2.4.12 || ^3.0",
3434
"pagerfanta/core": "^3.7 || ^4.0",
35-
"symfony/event-dispatcher": "^6.4 || ^7.1",
36-
"symfony/form": "^6.4 || ^7.1",
37-
"symfony/framework-bundle": "^6.4 || ^7.1",
38-
"symfony/http-foundation": "^6.4 || ^7.1",
39-
"symfony/http-kernel": "^6.4 || ^7.1",
40-
"symfony/property-access": "^6.4 || ^7.1",
41-
"symfony/routing": "^6.4 || ^7.1",
42-
"symfony/security-core": "^6.4 || ^7.1",
43-
"symfony/security-csrf": "^6.4 || ^7.1",
44-
"symfony/string": "^6.4 || ^7.1",
45-
"symfony/translation": "^6.4 || ^7.1",
46-
"symfony/validator": "^6.4 || ^7.1",
35+
"symfony/event-dispatcher": "^6.4 || ^7.4",
36+
"symfony/form": "^6.4 || ^7.4",
37+
"symfony/framework-bundle": "^6.4 || ^7.4",
38+
"symfony/http-foundation": "^6.4 || ^7.4",
39+
"symfony/http-kernel": "^6.4 || ^7.4",
40+
"symfony/property-access": "^6.4 || ^7.4",
41+
"symfony/routing": "^6.4 || ^7.4",
42+
"symfony/security-core": "^6.4 || ^7.4",
43+
"symfony/security-csrf": "^6.4 || ^7.4",
44+
"symfony/string": "^6.4 || ^7.4",
45+
"symfony/translation": "^6.4 || ^7.4",
46+
"symfony/validator": "^6.4 || ^7.4",
4747
"willdurand/negotiation": "^3.1",
4848
"winzou/state-machine": "^0.4"
4949
},
@@ -56,8 +56,8 @@
5656
"phpunit/phpunit": "^9.5",
5757
"sylius/grid": "^1.13",
5858
"sylius/grid-bundle": "^1.13",
59-
"symfony/serializer": "^6.4 || ^7.1",
60-
"symfony/workflow": "^6.4 || ^7.1",
59+
"symfony/serializer": "^6.4 || ^7.4",
60+
"symfony/workflow": "^6.4 || ^7.4",
6161
"twig/twig": "^3.0"
6262
},
6363
"conflict": {

0 commit comments

Comments
 (0)