Unverified Commit ef38d7d8 authored by Oliver Klee's avatar Oliver Klee Committed by GitHub
Browse files

[TASK] Drop the .phar suffix from the tools (#204)

PhpStorm by default indexes `*.phar` files. For our current set of
tools, we do not want this. (This keeps PhpStorm from complaining
about multiple versions of the same class.)

Also mark the tools as binary for git.
parent 9cb2c462
......@@ -13,4 +13,4 @@
/Tests/ export-ignore
/codeception.yml export-ignore
/phpcs.xml export-ignore
/tools/ export-ignore
/tools/ export-ignore binary
......@@ -77,7 +77,7 @@
"ci": [
"@ci:static"
],
"ci:composer:normalize": "php ./tools/composer-normalize.phar --dry-run",
"ci:composer:normalize": "php ./tools/composer-normalize --dry-run",
"ci:dynamic": [
"@ci:tests"
],
......@@ -86,10 +86,10 @@
"@ci:php:codestyle",
"@ci:php:sniff"
],
"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:codestyle": "php ./tools/php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
"ci:php:copypaste": "php ./tools/phpcpd 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": "php ./tools/phpcs.phar Classes Configuration Tests",
"ci:php:sniff": "php ./tools/phpcs Classes Configuration Tests",
"ci:static": [
"@ci:php:lint",
"@ci:php:sniff",
......@@ -101,7 +101,7 @@
],
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
"ci:tests:unit": ".Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit",
"ci:ts:lint": "php ./tools/typo3-typoscript-lint.phar -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:ts:lint": "php ./tools/typo3-typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:yaml:lint": "find . ! -path '*.Build/*' -name '*.yml' | xargs .Build/vendor/bin/yaml-lint",
"fix:php": [
"@fix:php:cs",
......
<?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"/>
<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="friendsofphp/php-cs-fixer" version="^2.18.2" location="./tools/php-cs-fixer.phar" copy="true" installed="2.18.2"/>
<phar name="martin-helmich/typo3-typoscript-lint" version="^2.4.1" location="./tools/typo3-typoscript-lint.phar" copy="true" installed="2.4.1"/>
<phar name="phar-io/phive" version="^0.14.5" location="./tools/phive" copy="true" installed="0.14.5"/>
<phar name="phpcpd" version="^6.0.3" location="./tools/phpcpd" copy="true" installed="6.0.3"/>
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs" copy="true" installed="3.5.8"/>
<phar name="ergebnis/composer-normalize" version="^2.13.2" location="./tools/composer-normalize" copy="true" installed="2.13.2"/>
<phar name="friendsofphp/php-cs-fixer" version="^2.18.2" location="./tools/php-cs-fixer" copy="true" installed="2.18.2"/>
<phar name="martin-helmich/typo3-typoscript-lint" version="^2.4.1" location="./tools/typo3-typoscript-lint" copy="true" installed="2.4.1"/>
</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