Skip to content

Commit

Permalink
Merge pull request #72 from loic425/symfony-7
Browse files Browse the repository at this point in the history
Add support for Symfony 7
  • Loading branch information
lchrusciel authored Jan 29, 2024
2 parents c668d5c + 11593a6 commit 1cab477
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- php: "8.1"
symfony: "~6.0"

- php: "8.2"
symfony: "~7.0"

steps:
-
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Configuration implements ConfigurationInterface
/**
* {@inheritDoc}
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
if (\method_exists(TreeBuilder::class, 'getRootNode')) {
$treeBuilder = new TreeBuilder('winzou_state_machine');
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"require": {
"php": "^7.4|^8.0|^8.1",
"winzou/state-machine": "~0.4",
"symfony/framework-bundle": "^4.4|^5.4|^6.0"
"symfony/framework-bundle": "^4.4|^5.4|^6.0|^7.0"
},
"require-dev": {
"sylius/phpspec": "^5.0|^6.0|^7.0"
"phpspec/phpspec": "^5.0|^6.0|^7.0"
},
"autoload": {
"psr-4": { "winzou\\Bundle\\StateMachineBundle\\": "" }
Expand Down

0 comments on commit 1cab477

Please sign in to comment.