From d62b536563d40d0604d2b6e76e95b1932c35c549 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Fri, 15 Jul 2022 21:06:03 +0200 Subject: [PATCH 1/2] [Maintenance] Dependency update --- composer.json | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 21d1606..21ed9a2 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "license": "MIT", "require": { "php": "^8.0", - "sylius/sylius": "^1.11.2" + "sylius/sylius": "^1.11.6" }, "require-dev": { "behat/behat": "^3.6.1", @@ -25,29 +25,35 @@ "friends-of-behat/symfony-extension": "^2.1", "friends-of-behat/variadic-extension": "^1.3", "friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", - "phpspec/phpspec": "^7.0", + "phpspec/phpspec": "^7.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "0.12.99", - "phpstan/phpstan-doctrine": "0.12.33", - "phpstan/phpstan-strict-rules": "^0.12.0", - "phpstan/phpstan-webmozart-assert": "0.12.12", + "phpstan/phpstan": "^1.8.1", + "phpstan/phpstan-doctrine": "1.3.2", + "phpstan/phpstan-strict-rules": "^1.3.0", + "phpstan/phpstan-webmozart-assert": "^1.2.0", "phpunit/phpunit": "^9.5", + "polishsymfonycommunity/symfony-mocker-container": "^1.0", "sensiolabs/security-checker": "^6.0", - "sylius-labs/coding-standard": "^4.0", + "sylius-labs/coding-standard": "^4.2", "symfony/browser-kit": "^5.4", "symfony/debug-bundle": "^5.4", "symfony/dotenv": "^5.4", + "symfony/flex": "^2.2.2", "symfony/intl": "^5.4", "symfony/web-profiler-bundle": "^5.4", - "vimeo/psalm": "4.23.0", - "polishsymfonycommunity/symfony-mocker-container": "^1.0" + "vimeo/psalm": "4.23.0" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": false, + "phpstan/extension-installer": false, + "symfony/flex": true + } }, "extra": { "branch-alias": { - "dev-master": "1.11-dev" + "dev-master": "1.12-dev" } }, "autoload": { @@ -70,6 +76,11 @@ ], "post-create-project-cmd": [ "php bin/create_node_symlink.php" - ] + ], + "auto-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd", + "security-checker security:check": "script" + } } } From 60be3b619b2f1a6d8ab488fe255539a1d316e313 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Fri, 15 Jul 2022 21:14:24 +0200 Subject: [PATCH 2/2] [GithubActions] Updated section Restrict Symfony version --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9661fa..9f6b6dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: matrix: php: ["8.0", "8.1"] symfony: ["5.4.*"] - sylius: ["^1.11.2"] + sylius: ["^1.11.6"] node: ["14.x"] mysql: ["8.0"] @@ -95,7 +95,8 @@ jobs: name: Restrict Symfony version if: matrix.symfony != '' run: | - composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10" + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.2.2" composer config extra.symfony.require "${{ matrix.symfony }}" -