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

[TASK] Add one command to do sniffers and fixers (#147)

Resolves: #116

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2020-10-31 15:24:18 +01:00 committed by GitHub
parent d4ec80de29
commit 4dc98a081a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,6 +81,10 @@
"ci:dynamic": [ "ci:dynamic": [
"@ci:tests" "@ci:tests"
], ],
"ci:php": [
"@ci:php:codestyle",
"@ci:php:sniff"
],
"ci:static": [ "ci:static": [
"@ci:php:lint", "@ci:php:lint",
"@ci:php:sniff", "@ci:php:sniff",
@ -95,6 +99,10 @@
], ],
"fix:php:cs": "php-cs-fixer fix --config .php_cs.php", "fix:php:cs": "php-cs-fixer fix --config .php_cs.php",
"fix:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests", "fix:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
"fix:php": [
"@fix:php:cs",
"@fix:php:sniff"
],
"post-autoload-dump": [ "post-autoload-dump": [
"@link-extension" "@link-extension"
] ]