mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 13:36: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:
Łukasz Uznański 2021-02-24 11:46:56 +01:00 committed by GitHub
parent edf9770ce5
commit 9cb2c462d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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

Binary file not shown.