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

[BUGFIX] Fix phpcs fix script (#247)

This commit is contained in:
Łukasz Uznański 2021-05-19 13:41:30 +02:00 committed by GitHub
parent c1e713240b
commit 403eafb820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@
"@fix:php:sniff"
],
"fix:php:cs": "@php ./tools/php-cs-fixer fix --config .php_cs.php",
"fix:php:sniff": "@php .Build/vendor/bin/phpcs Classes Configuration Tests",
"fix:php:sniff": "@php ./tools/phpcbf Classes Configuration Tests",
"link-extension": [
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"

View file

@ -3,6 +3,7 @@
<phar name="phar-io/phive" version="^0.14.5" location="./tools/phive" copy="true" installed="0.14.5"/>
<phar name="phpcpd" version="^6.0.3" location="./tools/phpcpd" copy="true" installed="6.0.3"/>
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs" copy="true" installed="3.5.8"/>
<phar name="phpcbf" version="^3.6.0" location="./tools/phpcbf" copy="true" installed="3.6.0"/>
<phar name="ergebnis/composer-normalize" version="^2.13.2" location="./tools/composer-normalize" copy="true" installed="2.13.2"/>
<phar name="friendsofphp/php-cs-fixer" version="^2.18.2" location="./tools/php-cs-fixer" copy="true" installed="2.18.2"/>
<phar name="j13k/yaml-lint" version="^1.1.4" installed="1.1.4" location="./tools/yaml-lint" copy="true"/>

BIN
tools/phpcbf Executable file

Binary file not shown.