From a6c05b82a7e3e43a8d806904f75de48698e71e5c Mon Sep 17 00:00:00 2001 From: Gunnstein Lye Date: Thu, 15 Oct 2020 10:14:20 +0000 Subject: [PATCH] EZP-31821: Failing security-checker results in errored installation (cherry picked from commit e3004421b7232aae59996e13ed7634b5e1f94f30) --- composer.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index d42e94f9..d63d9a41 100644 --- a/composer.json +++ b/composer.json @@ -117,14 +117,15 @@ "assets:install %PUBLIC_DIR%": "symfony-cmd", "bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains": "symfony-cmd", "yarn install": "script", - "ezplatform:encore:compile": "symfony-cmd", - "security-checker security:check": "script" + "ezplatform:encore:compile": "symfony-cmd" }, "post-install-cmd": [ - "@auto-scripts" + "@auto-scripts", + "@php bin/security-checker security:check || true" ], "post-update-cmd": [ - "@auto-scripts" + "@auto-scripts", + "@php bin/security-checker security:check || true" ], "ezplatform-install": [ "@php bin/console --ansi ezplatform:install clean",