mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:56:12 +01:00

[BUGFIX] move compatibility registration from hook to command

Resolves: #447
This commit is contained in:
Eike Starkmann 2024-07-30 11:25:00 +02:00
parent 506a4f4a50
commit 991715e4ea

View file

@ -117,8 +117,6 @@
} }
}, },
"scripts": { "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:normalize": "@composer normalize --no-check-lock --dry-run",
"ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr --no-plugins", "ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr --no-plugins",
"ci:composer:unused": "composer-unused", "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: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: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:php:stan": "phpstan --no-progress",
"ci:static": [ "ci:static": [
"@ci:composer:normalize", "@ci:composer:normalize",