mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-26 05:56:13 +01:00
[TASK] Migrate php-cs-fixer to phive (#199)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
2aae18c2b1
commit
edf9770ce5
3 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"codeception/codeception": "^4.1.5",
|
"codeception/codeception": "^4.1.5",
|
||||||
"friendsofphp/php-cs-fixer": "^2.16.3",
|
|
||||||
"helhum/typo3-composer-setup": "^0.5.7",
|
"helhum/typo3-composer-setup": "^0.5.7",
|
||||||
"helmich/typo3-typoscript-lint": "^2.1.1",
|
"helmich/typo3-typoscript-lint": "^2.1.1",
|
||||||
"j13k/yaml-lint": "1.1.x-dev",
|
"j13k/yaml-lint": "1.1.x-dev",
|
||||||
|
@ -88,7 +87,7 @@
|
||||||
"@ci:php:codestyle",
|
"@ci:php:codestyle",
|
||||||
"@ci:php:sniff"
|
"@ci:php:sniff"
|
||||||
],
|
],
|
||||||
"ci:php:codestyle": "php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
|
"ci:php:codestyle": "php ./tools/php-cs-fixer.phar fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
|
||||||
"ci:php:copypaste": "php ./tools/phpcpd.phar Classes Configuration Tests",
|
"ci:php:copypaste": "php ./tools/phpcpd.phar Classes Configuration Tests",
|
||||||
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
||||||
"ci:php:sniff": "php ./tools/phpcs.phar Classes Configuration Tests",
|
"ci:php:sniff": "php ./tools/phpcs.phar Classes Configuration Tests",
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
<phar name="phpcpd" version="^6.0.3" location="./tools/phpcpd.phar" copy="true" installed="6.0.3"/>
|
<phar name="phpcpd" version="^6.0.3" location="./tools/phpcpd.phar" copy="true" installed="6.0.3"/>
|
||||||
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs.phar" copy="true" installed="3.5.8"/>
|
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs.phar" copy="true" installed="3.5.8"/>
|
||||||
<phar name="ergebnis/composer-normalize" version="^2.13.2" location="./tools/composer-normalize.phar" copy="true" installed="2.13.2"/>
|
<phar name="ergebnis/composer-normalize" version="^2.13.2" location="./tools/composer-normalize.phar" copy="true" installed="2.13.2"/>
|
||||||
|
<phar name="friendsofphp/php-cs-fixer" version="^2.18.2" location="./tools/php-cs-fixer.phar" copy="true" installed="2.18.2"/>
|
||||||
</phive>
|
</phive>
|
||||||
|
|
BIN
tools/php-cs-fixer.phar
Executable file
BIN
tools/php-cs-fixer.phar
Executable file
Binary file not shown.
Loading…
Reference in a new issue