martin-helmich / typo3-typoscript-lint

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

Deprecation warnings in output with PHP 8.2 #165

Closed spoonerWeb closed 1 year ago

spoonerWeb commented 1 year ago

Output in GitLab CI:

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /builds/xxx/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php on line 150
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /builds/xxx/vendor/helmich/typo3-typoscript-parser/src/Parser/Parser.php on line 49
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /builds/xxx/vendor/helmich/typo3-typoscript-lint/src/Command/LintCommand.php on line 131
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /builds/xxx/vendor/helmich/typo3-typoscript-lint/src/Logging/CompactConsoleLogger.php on line 52

Seems to be that issue: https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated#dollar-outside

martin-helmich commented 1 year ago

This was already fixed in https://github.com/martin-helmich/typo3-typoscript-parser/pull/85; I'll tag a release of that library shortly.

kevin-appelt commented 1 year ago

@martin-helmich Is there any information when the release is planned? :)