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",