mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:16:13 +01:00
Migrate phpcs to phar (#196)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
6e57ba002b
commit
c94582767a
3 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,6 @@
|
|||
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
|
||||
"phpunit/phpunit": "^7.5.20",
|
||||
"seld/jsonlint": "^1.8",
|
||||
"squizlabs/php_codesniffer": "^3.5.5",
|
||||
"typo3/cms-fluid-styled-content": "^9.5 || ^10.4"
|
||||
},
|
||||
"config": {
|
||||
|
@ -91,7 +90,7 @@
|
|||
"ci:php:codestyle": "php-cs-fixer 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:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
||||
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
||||
"ci:php:sniff": "php ./tools/phpcs.phar Classes Configuration Tests",
|
||||
"ci:static": [
|
||||
"@ci:php:lint",
|
||||
"@ci:php:sniff",
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
<phive xmlns="https://phar.io/phive">
|
||||
<phar name="phar-io/phive" version="^0.14.5" location="./tools/phive.phar" copy="true" installed="0.14.5"/>
|
||||
<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"/>
|
||||
</phive>
|
||||
|
|
BIN
tools/phpcs.phar
Executable file
BIN
tools/phpcs.phar
Executable file
Binary file not shown.
Loading…
Reference in a new issue