From 991715e4eac23f1ce41237f974a00ac4349c34d2 Mon Sep 17 00:00:00 2001 From: Eike Starkmann Date: Tue, 30 Jul 2024 11:25:00 +0200 Subject: [PATCH] [BUGFIX] move compatibility registration from hook to command Resolves: #447 --- composer.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 04cfcb6..957315e 100644 --- a/composer.json +++ b/composer.json @@ -117,8 +117,6 @@ } }, "scripts": { - "post-install-cmd": "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility", - "post-update-cmd" : "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility", "ci:composer:normalize": "@composer normalize --no-check-lock --dry-run", "ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr --no-plugins", "ci:composer:unused": "composer-unused", @@ -148,7 +146,10 @@ ], "ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff", "ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l", - "ci:php:sniff": "phpcs Classes Configuration Tests", + "ci:php:sniff": [ + "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility", + "phpcs Classes Configuration Tests" + ], "ci:php:stan": "phpstan --no-progress", "ci:static": [ "@ci:composer:normalize",