diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3500f756..2faa14236 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -174,7 +174,7 @@ jobs: name: Run lint container without winzou/state-machine-bundle package if: matrix.app_env == 'test' run: | - composer remove winzou/state-machine-bundle --no-scripts + composer remove --dev winzou/state-machine-bundle --no-scripts (cd tests/Application && bin/console cache:clear --env=test_without_state_machine) (cd tests/Application && bin/console lint:container --env=test_without_state_machine) composer require winzou/state-machine-bundle --no-scripts diff --git a/UPGRADE.md b/UPGRADE.md index ffb5e96ef..8c06a3fc8 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -7,6 +7,7 @@ In preparation of removal, following dependencies were moved to optional require * friendsofsymfony/rest-bundle * jms/serializer-bundle * willdurand/hateoas-bundle +* winzou/state-machine-bundle ## UPGRADE FOR `1.11.x` diff --git a/composer.json b/composer.json index 2fee0d52a..3ab2a364f 100644 --- a/composer.json +++ b/composer.json @@ -49,7 +49,6 @@ "symfony/validator": "^5.4 || ^6.4 || ^7.0", "symfony/yaml": "^5.4 || ^6.4 || ^7.0", "webmozart/assert": "^1.8", - "winzou/state-machine-bundle": "^0.6.2", "willdurand/negotiation": "^3.1" }, "replace": { @@ -86,7 +85,8 @@ "symfony/security-bundle": "^5.4 || ^6.4 || ^7.0", "twig/twig": "^3.0", "vimeo/psalm": "^5.20", - "willdurand/hateoas-bundle": "^2.0" + "willdurand/hateoas-bundle": "^2.0", + "winzou/state-machine-bundle": "^0.6.2" }, "conflict": { "doctrine/orm": "<2.18 || ^3.0", @@ -94,6 +94,7 @@ "friendsofsymfony/rest-bundle": "<3.0", "jms/serializer-bundle": "<3.5", "willdurand/hateoas-bundle": "<2.0 || ^2.6", + "winzou/state-machine-bundle": "<0.6.2", "twig/twig": "<3.0" }, "suggest": {