Skip to content

Commit

Permalink
Merge pull request #205 from FriendsOfBehat/updateSymfonyVersion
Browse files Browse the repository at this point in the history
Add Symfony support version 7.0
  • Loading branch information
Yozhef committed Jan 11, 2024
2 parents 957df89 + a6d2a91 commit 92653f5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 27 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/build.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions DOCUMENTATION.md
Expand Up @@ -11,15 +11,15 @@
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:

```bash
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*:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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:

Expand Down
20 changes: 11 additions & 9 deletions composer.json
Expand Up @@ -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",
Expand All @@ -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": {
Expand All @@ -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": {
Expand Down

0 comments on commit 92653f5

Please sign in to comment.