mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 14:36:12 +01:00
[TASK] Remove php occurencies in lint scripts (#236)
This commit is contained in:
parent
406076d8a6
commit
6b7684ba77
1 changed files with 9 additions and 9 deletions
|
@ -76,11 +76,11 @@
|
|||
"ci": [
|
||||
"@ci:static"
|
||||
],
|
||||
"ci:composer:normalize": "php ./tools/composer-normalize --dry-run",
|
||||
"ci:composer:normalize": "@php ./tools/composer-normalize --dry-run",
|
||||
"ci:dynamic": [
|
||||
"@ci:tests"
|
||||
],
|
||||
"ci:json:lint": "find . ! -path '*.Build/*' ! -path '*Resources/Private/node_modules/*' -name '*.json' | xargs .Build/vendor/bin/jsonlint -q",
|
||||
"ci:json:lint": "find . ! -path '*.Build/*' ! -path '*Resources/Private/node_modules/*' -name '*.json' | xargs php .Build/vendor/bin/jsonlint -q",
|
||||
"ci:php": [
|
||||
"@ci:php:copypaste",
|
||||
"@ci:php:cs-fixer",
|
||||
|
@ -88,11 +88,11 @@
|
|||
"@ci:php:sniff",
|
||||
"@ci:php:stan"
|
||||
],
|
||||
"ci:php:copypaste": "php ./tools/phpcpd Classes Configuration Tests",
|
||||
"ci:php:cs-fixer": "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:cs-fixer": "@php ./tools/php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
|
||||
"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 Classes Configuration Tests",
|
||||
"ci:php:stan": "php ./tools/phpstan analyse Classes",
|
||||
"ci:php:sniff": "@php ./tools/phpcs Classes Configuration Tests",
|
||||
"ci:php:stan": "@php ./tools/phpstan analyse Classes",
|
||||
"ci:static": [
|
||||
"@ci:composer:normalize",
|
||||
"@ci:json:lint",
|
||||
|
@ -110,14 +110,14 @@
|
|||
],
|
||||
"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 -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/*' ! -path '*Resources/Private/node_modules/*' -name '*.yml' | xargs php ./tools/yaml-lint",
|
||||
"fix:php": [
|
||||
"@fix:php:cs",
|
||||
"@fix:php:sniff"
|
||||
],
|
||||
"fix:php:cs": "./tools/php-cs-fixer fix --config .php_cs.php",
|
||||
"fix:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
||||
"fix:php:cs": "@php ./tools/php-cs-fixer fix --config .php_cs.php",
|
||||
"fix:php:sniff": "@php .Build/vendor/bin/phpcs Classes Configuration Tests",
|
||||
"link-extension": [
|
||||
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
|
||||
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
|
||||
|
|
Loading…
Reference in a new issue