Skip to content

Commit 7449de8

Browse files
authored
added support for symfony7 (#71)
Support for Symfony 7.0.
1 parent ed2ee4e commit 7449de8

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

.github/workflows/php.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ jobs:
3939
run: ./vendor/bin/phpstan analyse
4040

4141
test:
42-
needs: quality
4342
strategy:
4443
matrix:
45-
os: ['ubuntu-18.04', 'ubuntu-20.04']
46-
version: [ '7.4', '8.0', '8.1']
44+
os: ['ubuntu-20.04']
45+
version: [ '7.4', '8.0', '8.1', '8.2']
4746
include:
48-
- os: 'ubuntu-18.04'
47+
- os: 'ubuntu-20.04'
4948
version: '7.2'
50-
- os: 'ubuntu-18.04'
49+
- os: 'ubuntu-20.04'
5150
version: '7.3'
5251
- os: 'ubuntu-20.04'
5352
version: '7.4'
@@ -58,6 +57,9 @@ jobs:
5857
- os: 'ubuntu-20.04'
5958
version: '8.1'
6059
symfony: '^6.0'
60+
- os: 'ubuntu-20.04'
61+
version: '8.2'
62+
symfony: '^7.0'
6163
runs-on: ${{ matrix.os }}
6264
steps:
6365
- uses: actions/checkout@v3

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.3] - 2024-06-26
8+
### Added
9+
* [#71](https://github.com/Daniel-Marynicz/BehatParallelExtension/pull/71) Support for symfony 7.0.
10+
711
## [1.0.2] - 2024-05-06
812
### Fixed
913
* [#68](https://github.com/Daniel-Marynicz/BehatParallelExtension/pull/68) Behat use 'paths' instead 'path' argument.

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"require": {
1515
"php": ">=7.2",
1616
"behat/behat": "^3.6",
17-
"symfony/process": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
18-
"symfony/console": "^2.7.52 || ^2.8.33 || ^3.3.15 || ^3.4.3 || ^4.0 || ^5.0 || ^6.0",
19-
"symfony/serializer": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
20-
"symfony/dependency-injection": "^2.7.52 || ^3.0 || ^4.0 || ^4.1.12 || ^5.0 || ^6.0",
21-
"symfony/event-dispatcher": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
22-
"symfony/yaml": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
23-
"symfony/expression-language": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
17+
"symfony/process": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
18+
"symfony/console": "^2.7.52 || ^2.8.33 || ^3.3.15 || ^3.4.3 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
19+
"symfony/serializer": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
20+
"symfony/dependency-injection": "^2.7.52 || ^3.0 || ^4.0 || ^4.1.12 || ^5.0 || ^6.0 || ^7.0",
21+
"symfony/event-dispatcher": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
22+
"symfony/yaml": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
23+
"symfony/expression-language": "^2.7.52 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
2424
},
2525
"require-dev": {
2626
"phpunit/phpunit": "^8.5 || ^9.0",

tests/ExtensionTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PHPUnit\Framework\TestCase;
88
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
99
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
10+
use Symfony\Component\Config\Definition\Builder\NodeDefinition;
1011
use Symfony\Component\DependencyInjection\ContainerBuilder;
1112
use Symfony\Component\DependencyInjection\Definition;
1213

@@ -20,6 +21,7 @@ public function test(): void
2021
$arrayBuilder = $this->createMock(ArrayNodeDefinition::class);
2122
$nodeBuilder = $this->createMock(NodeBuilder::class);
2223
$nodeBuilder->method('append')->willReturn($nodeBuilder);
24+
$nodeBuilder->method('end')->willReturn($arrayBuilder);
2325
$arrayBuilder
2426
->method('children')
2527
->willReturn($nodeBuilder);

0 commit comments

Comments
 (0)