martin-helmich / typo3-typoscript-lint

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

NestingConsistencySniff should also consider statements other than assignments #124

Closed martin-helmich closed 2 years ago

martin-helmich commented 2 years ago

Fixes #122

Mabahe commented 1 year ago

With switching from 2.5.2 to 3.0.0 I got a false positive warning with following typoscript. Seems it is related to this change.

temp.foo < page.headerData.1467287482
.
(Do some stuff on page)
.
page.headerData.1467287482 < temp.foo

Operation on value "page.headerData.1467287482", altough nested statement for path "page" exists at line 7