Merge pull request #205 from FriendsOfBehat/updateSymfonyVersion

Add Symfony support version 7.0
This commit is contained in:
Yozhef
2024-01-11 16:57:03 +02:00
committed by GitHub
4 changed files with 23 additions and 27 deletions

View File

@@ -17,21 +17,15 @@ jobs:
fail-fast: false
matrix:
php-version:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
symfony-version:
- '4.4.*'
- '5.4.*'
- '6.0.*'
- '6.1.*'
- '6.2.*'
- '6.4.*'
- '7.0.*'
exclude:
- php-version: '7.4'
symfony-version: '6.0.*'
- php-version: '7.4'
symfony-version: '6.1.*'
- php-version: '8.0'
symfony-version: '6.1.*'
- php-version: '8.1'
symfony-version: '7.0.*'
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -70,7 +64,7 @@ jobs:
with:
coverage: none
ini-values: "memory_limit=-1, zend.assertions=1"
php-version: 7.4
php-version: 8.1
tools: composer:v2, flex
- name: Install dependencies
@@ -94,7 +88,7 @@ jobs:
with:
coverage: none
ini-values: "memory_limit=-1, zend.assertions=1"
php-version: 8.1
php-version: 8.2
tools: composer:v2, flex
- name: Validate composer.json
@@ -113,7 +107,7 @@ jobs:
with:
coverage: none
ini-values: "memory_limit=-1, zend.assertions=1"
php-version: 8.1
php-version: 8.2
tools: composer:v2, flex
- name: Install dependencies

View File

@@ -11,7 +11,7 @@
If you're starting a new project, we recommend to use Symfony with Flex as it's the most straightforward way.
If you're adding this extension to an existing project, pick the method that fits it the best.
### Symfony 4/5 (with Flex)
### Symfony 6/7 (with Flex)
1. Require this extension using *Composer* and allow for using contrib recipes:
@@ -19,7 +19,7 @@ If you're adding this extension to an existing project, pick the method that fit
composer require --dev friends-of-behat/symfony-extension:^2.0
```
### Symfony 4/5 (new directory structure, without Flex)
### Symfony 6/7 (new directory structure, without Flex)
1. Require this extension using *Composer*:

View File

@@ -4,7 +4,7 @@
<h1 align="center">SymfonyExtension</h1>
This Behat extension provides an integration with Symfony (`^4.4`, `^5.3` and `^6.0`) and Mink driver for Symfony application.
This Behat extension provides an integration with Symfony (`^6.0` and `^7.0`) and Mink driver for Symfony application.
It allows for:

View File

@@ -11,11 +11,10 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"behat/behat": "^3.6.1",
"symfony/dependency-injection": "^4.4 || ^5.3 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.3 || ^6.0",
"symfony/proxy-manager-bridge": "^4.4 || ^5.3 || ^6.0"
"symfony/dependency-injection": "^6.2 || ^7.0",
"symfony/http-kernel": "^6.2 || ^7.0"
},
"require-dev": {
"behat/mink-browserkit-driver": "^2.0",
@@ -25,10 +24,10 @@
"friends-of-behat/page-object-extension": "^0.3.2",
"friends-of-behat/service-container-extension": "^1.1",
"sylius-labs/coding-standard": ">=4.1.1, <=4.2.1",
"symfony/browser-kit": "^4.4 || ^5.3 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.3 || ^6.0",
"symfony/process": "^4.4 || ^5.3 || ^6.0",
"symfony/yaml": "^4.4 || ^5.3 || ^6.0",
"symfony/browser-kit": "^6.2 || ^7.0",
"symfony/framework-bundle": "^6.2 || ^7.0",
"symfony/process": "^6.2 || ^7.0",
"symfony/yaml": "^6.2 || ^7.0",
"vimeo/psalm": "4.30.0"
},
"suggest": {
@@ -37,7 +36,10 @@
"friends-of-behat/mink-extension": "^2.5"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"branch-alias": {