diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bc55e7..27c77d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: - php: "8.1" symfony: "~6.0" + - php: "8.2" + symfony: "~7.0" + steps: - uses: actions/checkout@v2 diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 1ce8783..6165d4e 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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'); diff --git a/composer.json b/composer.json index 92605b6..948e677 100644 --- a/composer.json +++ b/composer.json @@ -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\\": "" }