mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 12: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:
Łukasz Uznański 2021-02-10 16:03:39 +01:00 committed by GitHub
parent 36acb9a529
commit 6e57ba002b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1015 additions and 2 deletions

1
.gitattributes vendored
View file

@ -13,3 +13,4 @@
/Tests/ export-ignore
/codeception.yml export-ignore
/phpcs.xml export-ignore
/tools/ export-ignore

View file

@ -42,7 +42,6 @@
"nimut/testing-framework": "^5.0.3",
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
"phpunit/phpunit": "^7.5.20",
"sebastian/phpcpd": "^4.1.0",
"seld/jsonlint": "^1.8",
"squizlabs/php_codesniffer": "^3.5.5",
"typo3/cms-fluid-styled-content": "^9.5 || ^10.4"
@ -90,7 +89,7 @@
"@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: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:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
"ci:static": [

5
phive.xml Normal file
View 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

File diff suppressed because one or more lines are too long

BIN
tools/phpcpd.phar Executable file

Binary file not shown.