Skip to content

Commit 92653f5

Browse files
authored
Merge pull request #205 from FriendsOfBehat/updateSymfonyVersion
Add Symfony support version 7.0
2 parents 957df89 + a6d2a91 commit 92653f5

File tree

4 files changed

+23
-27
lines changed

4 files changed

+23
-27
lines changed

.github/workflows/build.yml

+9-15
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,15 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
php-version:
20-
- '7.4'
21-
- '8.0'
2220
- '8.1'
21+
- '8.2'
2322
symfony-version:
24-
- '4.4.*'
25-
- '5.4.*'
26-
- '6.0.*'
27-
- '6.1.*'
23+
- '6.2.*'
24+
- '6.4.*'
25+
- '7.0.*'
2826
exclude:
29-
- php-version: '7.4'
30-
symfony-version: '6.0.*'
31-
- php-version: '7.4'
32-
symfony-version: '6.1.*'
33-
- php-version: '8.0'
34-
symfony-version: '6.1.*'
27+
- php-version: '8.1'
28+
symfony-version: '7.0.*'
3529
steps:
3630
- name: Checkout
3731
uses: actions/checkout@v3
@@ -70,7 +64,7 @@ jobs:
7064
with:
7165
coverage: none
7266
ini-values: "memory_limit=-1, zend.assertions=1"
73-
php-version: 7.4
67+
php-version: 8.1
7468
tools: composer:v2, flex
7569

7670
- name: Install dependencies
@@ -94,7 +88,7 @@ jobs:
9488
with:
9589
coverage: none
9690
ini-values: "memory_limit=-1, zend.assertions=1"
97-
php-version: 8.1
91+
php-version: 8.2
9892
tools: composer:v2, flex
9993

10094
- name: Validate composer.json
@@ -113,7 +107,7 @@ jobs:
113107
with:
114108
coverage: none
115109
ini-values: "memory_limit=-1, zend.assertions=1"
116-
php-version: 8.1
110+
php-version: 8.2
117111
tools: composer:v2, flex
118112

119113
- name: Install dependencies

DOCUMENTATION.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
If you're starting a new project, we recommend to use Symfony with Flex as it's the most straightforward way.
1212
If you're adding this extension to an existing project, pick the method that fits it the best.
1313

14-
### Symfony 4/5 (with Flex)
14+
### Symfony 6/7 (with Flex)
1515

1616
1. Require this extension using *Composer* and allow for using contrib recipes:
1717

1818
```bash
1919
composer require --dev friends-of-behat/symfony-extension:^2.0
2020
```
2121

22-
### Symfony 4/5 (new directory structure, without Flex)
22+
### Symfony 6/7 (new directory structure, without Flex)
2323

2424
1. Require this extension using *Composer*:
2525

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<h1 align="center">SymfonyExtension</h1>
66

7-
This Behat extension provides an integration with Symfony (`^4.4`, `^5.3` and `^6.0`) and Mink driver for Symfony application.
7+
This Behat extension provides an integration with Symfony (`^6.0` and `^7.0`) and Mink driver for Symfony application.
88

99
It allows for:
1010

composer.json

+11-9
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.4 || ^8.0",
14+
"php": "^8.1",
1515
"behat/behat": "^3.6.1",
16-
"symfony/dependency-injection": "^4.4 || ^5.3 || ^6.0",
17-
"symfony/http-kernel": "^4.4 || ^5.3 || ^6.0",
18-
"symfony/proxy-manager-bridge": "^4.4 || ^5.3 || ^6.0"
16+
"symfony/dependency-injection": "^6.2 || ^7.0",
17+
"symfony/http-kernel": "^6.2 || ^7.0"
1918
},
2019
"require-dev": {
2120
"behat/mink-browserkit-driver": "^2.0",
@@ -25,10 +24,10 @@
2524
"friends-of-behat/page-object-extension": "^0.3.2",
2625
"friends-of-behat/service-container-extension": "^1.1",
2726
"sylius-labs/coding-standard": ">=4.1.1, <=4.2.1",
28-
"symfony/browser-kit": "^4.4 || ^5.3 || ^6.0",
29-
"symfony/framework-bundle": "^4.4 || ^5.3 || ^6.0",
30-
"symfony/process": "^4.4 || ^5.3 || ^6.0",
31-
"symfony/yaml": "^4.4 || ^5.3 || ^6.0",
27+
"symfony/browser-kit": "^6.2 || ^7.0",
28+
"symfony/framework-bundle": "^6.2 || ^7.0",
29+
"symfony/process": "^6.2 || ^7.0",
30+
"symfony/yaml": "^6.2 || ^7.0",
3231
"vimeo/psalm": "4.30.0"
3332
},
3433
"suggest": {
@@ -37,7 +36,10 @@
3736
"friends-of-behat/mink-extension": "^2.5"
3837
},
3938
"config": {
40-
"sort-packages": true
39+
"sort-packages": true,
40+
"allow-plugins": {
41+
"dealerdirect/phpcodesniffer-composer-installer": true
42+
}
4143
},
4244
"extra": {
4345
"branch-alias": {

0 commit comments

Comments
 (0)