Skip to content

Commit 206f660

Browse files
committed
feat: allow Symfony 7
1 parent c59497f commit 206f660

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['7.3', '7.4', '8.0']
16+
php: ['7.3', '7.4', '8.0', '8.2']
1717
symfony-version: ['*']
1818
include:
1919
- php: '7.4'
@@ -24,6 +24,8 @@ jobs:
2424
symfony-version: 5.4.*
2525
- php: '8.0'
2626
symfony-version: 6.0.*
27+
- php: '8.2'
28+
symfony-version: 7.0.*
2729

2830
steps:
2931
- name: Checkout code
@@ -39,6 +41,9 @@ jobs:
3941
- name: Composer validate
4042
run: composer validate --strict --no-check-lock
4143

44+
- name: Flex Plugin
45+
run: composer global config --no-plugins allow-plugins.symfony/flex true
46+
4247
- name: Symfony version
4348
if: matrix.symfony-version != '*'
4449
run: composer global require --no-progress symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version }}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Change Log
22

3+
- Support Symfony 7
4+
35
## 1.4.1 - 2022-01-14
46

57
- Support Symfony 6

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": "^7.3 || ^8.0",
15-
"symfony/stopwatch": "^3.4 || ^4.0 || ^5.0 || ^6.0",
15+
"symfony/stopwatch": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
1616
"php-http/client-common": "^1.9 || ^2.0"
1717
},
1818
"require-dev": {
@@ -37,6 +37,11 @@
3737
"dev-master": "1.3-dev"
3838
}
3939
},
40+
"config": {
41+
"allow-plugins": {
42+
"symfony/flex": true
43+
}
44+
},
4045
"prefer-stable": true,
4146
"minimum-stability": "dev"
4247
}

0 commit comments

Comments
 (0)