mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 16:36:13 +01:00

[TASK] Complete the ci:php and ci:static Composer commands groups (#231)

Now the `ci:php` and `ci:static` Composer commands call all commands
that belong in those groups.
This commit is contained in:
Oliver Klee 2021-04-05 17:26:00 +02:00 committed by GitHub
parent d9b23a4c3b
commit 9ec83e6b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,8 +81,11 @@
], ],
"ci:json:lint": "find . ! -path '*.Build/*' -name '*.json' | xargs .Build/vendor/bin/jsonlint -q", "ci:json:lint": "find . ! -path '*.Build/*' -name '*.json' | xargs .Build/vendor/bin/jsonlint -q",
"ci:php": [ "ci:php": [
"@ci:php:copypaste",
"@ci:php:cs-fixer", "@ci:php:cs-fixer",
"@ci:php:sniff" "@ci:php:lint",
"@ci:php:sniff",
"@ci:php:stan"
], ],
"ci:php:copypaste": "php ./tools/phpcpd Classes Configuration Tests", "ci:php:copypaste": "php ./tools/phpcpd Classes Configuration Tests",
"ci:php:cs-fixer": "php ./tools/php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff", "ci:php:cs-fixer": "php ./tools/php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
@ -90,9 +93,15 @@
"ci:php:sniff": "php ./tools/phpcs Classes Configuration Tests", "ci:php:sniff": "php ./tools/phpcs Classes Configuration Tests",
"ci:php:stan": "php ./tools/phpstan analyse Classes", "ci:php:stan": "php ./tools/phpstan analyse Classes",
"ci:static": [ "ci:static": [
"@ci:composer:normalize",
"@ci:json:lint",
"@ci:php:copypaste",
"@ci:php:cs-fixer",
"@ci:php:lint", "@ci:php:lint",
"@ci:php:sniff", "@ci:php:sniff",
"@ci:ts:lint" "@ci:php:stan",
"@ci:ts:lint",
"@ci:yaml:lint"
], ],
"ci:tests": [ "ci:tests": [
"@ci:tests:unit", "@ci:tests:unit",