Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle getNextMeaningfulToken returning NULL #17

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Handle getNextMeaningfulToken returning NULL #17

merged 1 commit into from
Nov 2, 2023

Conversation

aschempp
Copy link
Member

The screenshotted file below currently fails the parser because there is no meaningful token after the chained method block. It results in a fail with message

[ERROR] System error: "Fixing of "./contao/dca/tl_settings.php" file by        
         "Contao\EasyCodingStandard\Fixer\ChainedMethodBlockFixer" failed:      
         Illegal offset type in file                                            
         tools/ecs/vendor/contao/easy-coding-stand
         ard/src/Fixer/ChainedMethodBlockFixer.php on line 121"Run ECS with     
         "--debug" option and post the report here: https://github.com/symplify/symplify/issues/new in
         ./contao/dca/tl_settings.php:159    
Bildschirmfoto 2023-10-31 um 12 35 34

@leofeyer leofeyer merged commit b297ff2 into contao:main Nov 2, 2023
3 checks passed
@leofeyer
Copy link
Member

leofeyer commented Nov 2, 2023

Thank you @aschempp.

@aschempp aschempp deleted the fix/null-result branch November 2, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants