mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 03:56:12 +01:00
Use PHPCPD as phar instead of composer package (#190)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
36acb9a529
commit
6e57ba002b
5 changed files with 1015 additions and 2 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -13,3 +13,4 @@
|
||||||
/Tests/ export-ignore
|
/Tests/ export-ignore
|
||||||
/codeception.yml export-ignore
|
/codeception.yml export-ignore
|
||||||
/phpcs.xml export-ignore
|
/phpcs.xml export-ignore
|
||||||
|
/tools/ export-ignore
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
"nimut/testing-framework": "^5.0.3",
|
"nimut/testing-framework": "^5.0.3",
|
||||||
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
|
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
|
||||||
"phpunit/phpunit": "^7.5.20",
|
"phpunit/phpunit": "^7.5.20",
|
||||||
"sebastian/phpcpd": "^4.1.0",
|
|
||||||
"seld/jsonlint": "^1.8",
|
"seld/jsonlint": "^1.8",
|
||||||
"squizlabs/php_codesniffer": "^3.5.5",
|
"squizlabs/php_codesniffer": "^3.5.5",
|
||||||
"typo3/cms-fluid-styled-content": "^9.5 || ^10.4"
|
"typo3/cms-fluid-styled-content": "^9.5 || ^10.4"
|
||||||
|
@ -90,7 +89,7 @@
|
||||||
"@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-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
|
||||||
"ci:php:copypaste": ".Build/vendor/bin/phpcpd 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": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
||||||
"ci:static": [
|
"ci:static": [
|
||||||
|
|
5
phive.xml
Normal file
5
phive.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<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"/>
|
||||||
|
</phive>
|
1008
tools/phive.phar
Executable file
1008
tools/phive.phar
Executable file
File diff suppressed because one or more lines are too long
BIN
tools/phpcpd.phar
Executable file
BIN
tools/phpcpd.phar
Executable file
Binary file not shown.
Loading…
Reference in a new issue