Skip to content

Commit 6377908

Browse files
committed
[Chore] Bump package versions
1 parent 3d972c8 commit 6377908

File tree

5 files changed

+63
-57
lines changed

5 files changed

+63
-57
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,32 @@ 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+
minimum_stability: [""]
27+
symfony: ["^6.4", "^7.2"]
28+
include:
29+
- php: 8.3
30+
symfony: "7.4.*"
31+
minimum_stability: "beta"
3332

3433
steps:
3534
-
3635
uses: actions/checkout@v4
3736

37+
-
38+
name: Change minimum-stability
39+
if: matrix.minimum_stability != ''
40+
run: |
41+
composer config minimum-stability ${{ matrix.minimum_stability }}
42+
composer config prefer-stable true
43+
(cd src/Component && composer config minimum-stability ${{ matrix.minimum_stability }})
44+
(cd src/Component && composer config prefer-stable true)
45+
3846
-
3947
name: Setup PHP
4048
uses: shivammathur/setup-php@v2
@@ -74,10 +82,6 @@ jobs:
7482
run: |
7583
(cd tests/Application && bin/console doctrine:schema:create)
7684
77-
-
78-
name: Run Psalm
79-
run: vendor/bin/psalm --php-version=${{ matrix.php }}
80-
8185
-
8286
name: Run analysis
8387
run: |
@@ -136,7 +140,6 @@ jobs:
136140
137141
-
138142
name: Run lint container without friendsofsymfony/rest-bundle willdurand/hateoas-bundle jms/serializer-bundle packages
139-
if: matrix.app_env == 'test'
140143
run: |
141144
composer remove --dev friendsofsymfony/rest-bundle willdurand/hateoas-bundle jms/serializer-bundle --no-scripts
142145
(cd tests/Application && bin/console cache:clear --env=test_without_fosrest)
@@ -145,7 +148,6 @@ jobs:
145148
146149
-
147150
name: Run lint container without winzou/state-machine-bundle package
148-
if: matrix.app_env == 'test'
149151
run: |
150152
composer remove --dev winzou/state-machine-bundle --no-scripts
151153
(cd tests/Application && bin/console cache:clear --env=test_without_state_machine)
@@ -154,7 +156,6 @@ jobs:
154156
155157
-
156158
name: Run lint container without sylius/grid-bundle package
157-
if: matrix.app_env == 'test'
158159
run: |
159160
composer remove sylius/grid-bundle --no-scripts --dev
160161
(cd tests/Application && bin/console cache:clear --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

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
"behat/transliterator": "^1.2",
3030
"babdev/pagerfanta-bundle": "^4.4",
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.2",
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/security-core": "^6.4 || ^7.1",
46-
"symfony/security-csrf": "^6.4 || ^7.1",
47-
"symfony/routing": "^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.2",
41+
"symfony/form": "^6.4 || ^7.2",
42+
"symfony/framework-bundle": "^6.4 || ^7.2",
43+
"symfony/http-foundation": "^6.4 || ^7.2",
44+
"symfony/intl": "^6.4 || ^7.2",
45+
"symfony/security-core": "^6.4 || ^7.2",
46+
"symfony/security-csrf": "^6.4 || ^7.2",
47+
"symfony/routing": "^6.4 || ^7.2",
48+
"symfony/translation": "^6.4 || ^7.2",
49+
"symfony/twig-bundle": "^6.4 || ^7.2",
50+
"symfony/validator": "^6.4 || ^7.2",
51+
"symfony/yaml": "^6.4 || ^7.2",
5252
"webmozart/assert": "^1.11",
5353
"willdurand/negotiation": "^3.1"
5454
},
@@ -73,19 +73,18 @@
7373
"rector/rector": "^0.18.2",
7474
"sylius-labs/coding-standard": "^4.4",
7575
"sylius/grid-bundle": "^1.13",
76-
"symfony/console": "^6.4 || ^7.1",
77-
"symfony/css-selector": "^6.4 || ^7.1",
78-
"symfony/dependency-injection": "^6.4 || ^7.1",
79-
"symfony/dotenv": "^6.4 || ^7.1",
80-
"symfony/http-kernel": "^6.4 || ^7.1",
81-
"symfony/messenger": "^6.4 || ^7.1",
82-
"symfony/security-bundle": "^6.4 || ^7.1",
83-
"symfony/serializer": "^6.4 || ^7.1",
84-
"symfony/stopwatch": "^6.4 || ^7.1",
85-
"symfony/uid": "^6.4 || ^7.1",
86-
"symfony/workflow": "^6.4 || ^7.1",
76+
"symfony/console": "^6.4 || ^7.2",
77+
"symfony/css-selector": "^6.4 || ^7.2",
78+
"symfony/dependency-injection": "^6.4 || ^7.2",
79+
"symfony/dotenv": "^6.4 || ^7.2",
80+
"symfony/http-kernel": "^6.4 || ^7.2",
81+
"symfony/messenger": "^6.4 || ^7.2",
82+
"symfony/security-bundle": "^6.4 || ^7.2",
83+
"symfony/serializer": "^6.4 || ^7.2",
84+
"symfony/stopwatch": "^6.4 || ^7.2",
85+
"symfony/uid": "^6.4 || ^7.2",
86+
"symfony/workflow": "^6.4 || ^7.2",
8787
"twig/twig": "^3.14",
88-
"vimeo/psalm": "^5.26",
8988
"willdurand/hateoas-bundle": "^2.5",
9089
"winzou/state-machine-bundle": "^0.6.2",
9190
"zenstruck/foundry": "^2.3 <2.7"
@@ -113,7 +112,7 @@
113112
},
114113
"extra": {
115114
"symfony": {
116-
"require": "^7.1"
115+
"require": "^7.2"
117116
}
118117
},
119118
"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.2",
36+
"symfony/form": "^6.4 || ^7.2",
37+
"symfony/framework-bundle": "^6.4 || ^7.2",
38+
"symfony/http-foundation": "^6.4 || ^7.2",
39+
"symfony/http-kernel": "^6.4 || ^7.2",
40+
"symfony/property-access": "^6.4 || ^7.2",
41+
"symfony/routing": "^6.4 || ^7.2",
42+
"symfony/security-core": "^6.4 || ^7.2",
43+
"symfony/security-csrf": "^6.4 || ^7.2",
44+
"symfony/string": "^6.4 || ^7.2",
45+
"symfony/translation": "^6.4 || ^7.2",
46+
"symfony/validator": "^6.4 || ^7.2",
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.2",
60+
"symfony/workflow": "^6.4 || ^7.2",
6161
"twig/twig": "^3.0"
6262
},
6363
"conflict": {

0 commit comments

Comments
 (0)