mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:16:13 +01:00
[TASK] Migrate typoscript linter to phive (#200)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
edf9770ce5
commit
9cb2c462d8
3 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,6 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"codeception/codeception": "^4.1.5",
|
"codeception/codeception": "^4.1.5",
|
||||||
"helhum/typo3-composer-setup": "^0.5.7",
|
"helhum/typo3-composer-setup": "^0.5.7",
|
||||||
"helmich/typo3-typoscript-lint": "^2.1.1",
|
|
||||||
"j13k/yaml-lint": "1.1.x-dev",
|
"j13k/yaml-lint": "1.1.x-dev",
|
||||||
"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",
|
||||||
|
@ -102,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: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:tests:unit": ".Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit",
|
||||||
"ci:ts:lint": ".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
"ci:ts:lint": "php ./tools/typo3-typoscript-lint.phar -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",
|
"ci:yaml:lint": "find . ! -path '*.Build/*' -name '*.yml' | xargs .Build/vendor/bin/yaml-lint",
|
||||||
"fix:php": [
|
"fix:php": [
|
||||||
"@fix:php:cs",
|
"@fix:php:cs",
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs.phar" copy="true" installed="3.5.8"/>
|
<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="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="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"/>
|
||||||
</phive>
|
</phive>
|
||||||
|
|
BIN
tools/typo3-typoscript-lint.phar
Executable file
BIN
tools/typo3-typoscript-lint.phar
Executable file
Binary file not shown.
Loading…
Reference in a new issue