Skip to content
Snippets Groups Projects
Commit 22d61ec4 authored by Norman Steger's avatar Norman Steger
Browse files

update typoscript linter

parent 2afb132d
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ composer require --dev ssch/typo3-rector
```
## run rector
```
./vendor/bin/rector process . --config ./.Build/gitlab-ci/typo3-rector/Extension.php
./vendor/bin/rector process . --config .Build/gitlab-ci/typo3-rector/Extension.php
```
# use php-cs-fixer local
......@@ -51,5 +51,15 @@ composer require --dev friendsofphp/php-cs-fixer
## run php-cs-fixer
```
./vendor/bin/php-cs-fixer fix --config ./.Build/gitlab-ci/php-cs-fixer/Extension.php
./vendor/bin/php-cs-fixer fix --config .Build/gitlab-ci/php-cs-fixer/Extension.php
```
# use typo3-typoscript-lint local
```
composer require --dev helmich/typo3-typoscript-lint
```
## run php-cs-fixer
```
vendor/bin/typoscript-lint -c .Build/gitlab-ci/typoscript-lint/Extension.yml --fail-on-warnings
```
paths:
- .
- Configuration/
filePatterns:
- "*.tsconfig"
- "*.typoscript"
- "ext_typoscript_*.txt"
- "setup.txt"
- "constants.txt"
sniffs:
- class: Indentation
parameters:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment