martin-helmich / typo3-typoscript-lint

Find coding errors in your TypoScript files.
MIT License
82 stars 19 forks source link

Cannot tokenize INCLUDE_TYPOSCRIPT with condition #63

Closed mbrodala closed 6 years ago

mbrodala commented 6 years ago

One can set a conditionfor <INCLUDE_TYPOSCRIPT>, currently this is not supported:

$ bin/typoscript-lint
...

CHECKSTYLE REPORT
=> /.../foo.ts.
   1 Tokenization error: Cannot tokenize line "<INCLUDE_TYPOSCRIPT: source="FILE:bar.txt" condition="YourVendor\YourPackage\YourCondition">"
mbrodala commented 6 years ago

Thanks for the fix, works just fine. :+1: