Skip to content

Commit 1cab477

Browse files
authored
Merge pull request #72 from loic425/symfony-7
Add support for Symfony 7
2 parents c668d5c + 11593a6 commit 1cab477

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- php: "8.1"
2828
symfony: "~6.0"
2929

30+
- php: "8.2"
31+
symfony: "~7.0"
32+
3033
steps:
3134
-
3235
uses: actions/checkout@v2

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Configuration implements ConfigurationInterface
2020
/**
2121
* {@inheritDoc}
2222
*/
23-
public function getConfigTreeBuilder()
23+
public function getConfigTreeBuilder(): TreeBuilder
2424
{
2525
if (\method_exists(TreeBuilder::class, 'getRootNode')) {
2626
$treeBuilder = new TreeBuilder('winzou_state_machine');

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"require": {
1414
"php": "^7.4|^8.0|^8.1",
1515
"winzou/state-machine": "~0.4",
16-
"symfony/framework-bundle": "^4.4|^5.4|^6.0"
16+
"symfony/framework-bundle": "^4.4|^5.4|^6.0|^7.0"
1717
},
1818
"require-dev": {
19-
"sylius/phpspec": "^5.0|^6.0|^7.0"
19+
"phpspec/phpspec": "^5.0|^6.0|^7.0"
2020
},
2121
"autoload": {
2222
"psr-4": { "winzou\\Bundle\\StateMachineBundle\\": "" }

0 commit comments

Comments
 (0)