Unverified Commit c9458276 authored by Łukasz Uznański's avatar Łukasz Uznański Committed by GitHub
Browse files

Migrate phpcs to phar (#196)


Co-authored-by: default avatarŁukasz Uznański <l.uznanski@macopedia.com>
parent 6e57ba00
......@@ -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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment