diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6e498a6..e99d1c2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,15 +13,21 @@ jobs: php: - '8.1' - '8.2' + - '8.3' dependency: - '' symfony: - '5.4.*' - - '6.2.*' + - '6.3.*' + - '6.4.*' + - '7.0.*' include: - php: '8.1' symfony: '5.4.*' dependency: 'lowest' + exclude: + - php: '8.1' + symfony: '7.0.*' fail-fast: false steps: - name: Checkout diff --git a/Tests/Partial/Fixtures/ConfigurationStub.php b/Tests/Partial/Fixtures/ConfigurationStub.php index 37366a6..3eb1b47 100644 --- a/Tests/Partial/Fixtures/ConfigurationStub.php +++ b/Tests/Partial/Fixtures/ConfigurationStub.php @@ -7,7 +7,7 @@ class ConfigurationStub implements ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('root'); $root = $treeBuilder->getRootNode(); diff --git a/Tests/PhpUnit/Fixtures/AlwaysValidConfiguration.php b/Tests/PhpUnit/Fixtures/AlwaysValidConfiguration.php index e6e68b9..0d94596 100644 --- a/Tests/PhpUnit/Fixtures/AlwaysValidConfiguration.php +++ b/Tests/PhpUnit/Fixtures/AlwaysValidConfiguration.php @@ -7,7 +7,7 @@ class AlwaysValidConfiguration implements ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { return new TreeBuilder('root'); } diff --git a/Tests/PhpUnit/Fixtures/ConfigurationWithMultipleArrayKeys.php b/Tests/PhpUnit/Fixtures/ConfigurationWithMultipleArrayKeys.php index 2dc091c..ddd14b7 100644 --- a/Tests/PhpUnit/Fixtures/ConfigurationWithMultipleArrayKeys.php +++ b/Tests/PhpUnit/Fixtures/ConfigurationWithMultipleArrayKeys.php @@ -7,7 +7,7 @@ class ConfigurationWithMultipleArrayKeys implements ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('root'); $root = $treeBuilder->getRootNode(); diff --git a/Tests/PhpUnit/Fixtures/ConfigurationWithRequiredValue.php b/Tests/PhpUnit/Fixtures/ConfigurationWithRequiredValue.php index b373ecd..6fe37ef 100644 --- a/Tests/PhpUnit/Fixtures/ConfigurationWithRequiredValue.php +++ b/Tests/PhpUnit/Fixtures/ConfigurationWithRequiredValue.php @@ -7,7 +7,7 @@ class ConfigurationWithRequiredValue implements ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('root'); $root = $treeBuilder->getRootNode(); diff --git a/composer.json b/composer.json index 088fa43..bb8940f 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ ], "require": { "php": "^8.1", - "symfony/config": "^5.4 || ^6.2" + "symfony/config": "^5.4 || ^6.2 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^9.6 || ^10.0" @@ -33,5 +33,7 @@ "branch-alias": { "dev-master": "5.0.x-dev" } - } + }, + "minimum-stability": "dev", + "prefer-stable": true }