diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d109b15..61623d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,16 +162,3 @@ jobs: - name: Run PHPUnit run: vendor/bin/phpunit --colors=always - - - - name: Run Behat - run: vendor/bin/behat --colors -vvv --no-interaction || vendor/bin/behat --colors -vvv --no-interaction --rerun - - - - name: Upload Behat logs - uses: actions/upload-artifact@v2 - if: failure() - with: - name: Behat logs - path: etc/build/ - if-no-files-found: ignore diff --git a/composer.json b/composer.json index 2acebe9..c022e52 100644 --- a/composer.json +++ b/composer.json @@ -8,11 +8,11 @@ "php": "^7.3", "sylius/sylius": "^1.8", - "symfony/messenger": "^4.4", - "symfony/config": "^4.4", - "symfony/dependency-injection": "^4.4", - "symfony/http-kernel": "^4.4", - "symfony/serializer": "^4.4" + "symfony/messenger": "^4.4|^5.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, "require-dev": { "behat/behat": "^3.6.1", @@ -36,7 +36,7 @@ "phpunit/phpunit": "^9.5", "sensiolabs/security-checker": "^6.0", "sylius-labs/coding-standard": "^3.1", - "symfony/browser-kit": "^4.4", + "symfony/browser-kit": "^4.4|^5.0", "symfony/debug-bundle": "^4.4|^5.0", "symfony/dotenv": "^4.4|^5.0", "symfony/intl": "^4.4|^5.0", diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 036c3ab..fb0cf64 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -23,9 +23,6 @@ final class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder(): TreeBuilder { - $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('sulu_sylius_producer'); - - return $treeBuilder; + return new TreeBuilder('sulu_sylius_producer'); } }