mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 03:26:10 +01:00

[FEATURE] Add phpcs fixer (#60)

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2020-07-08 17:41:07 +02:00 committed by GitHub
parent c38b8fc3e4
commit 0cd15131a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -53,6 +53,7 @@ jobs:
command:
- "ts:lint"
- "php:sniff"
- "php:codestyle"
php-version:
- 7.3
xliff-lint:

View file

@ -64,6 +64,7 @@
},
"scripts": {
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:codestyle": "php-cs-fixer fix --config .php_cs.dist -v --dry-run --using-cache false --diff --diff-format=udiff",
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Tests",
"ci:ts:lint": ".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:tests:unit": ".Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit",