From d1631403e03810650cbdf9593bd85871d1fe8b10 Mon Sep 17 00:00:00 2001 From: Brent Robert Date: Tue, 12 Mar 2024 15:29:58 +0100 Subject: [PATCH] Fix pipelines --- composer.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/composer.json b/composer.json index b5689fe..93cf6e2 100644 --- a/composer.json +++ b/composer.json @@ -39,5 +39,13 @@ "magento/composer-dependency-version-audit-plugin": true, "dealerdirect/phpcodesniffer-composer-installer": true } + }, + "scripts": { + "post-install-cmd": [ + "([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility)" + ], + "post-update-cmd": [ + "([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility)" + ] } }