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

Unexpected token BR_CLOSE when not in nested assignment in line 38 #207

Open
format-gmbh opened this issue Jul 26, 2024 · 1 comment
Open

Comments

@format-gmbh
Copy link

I use https://github.com/andreaswolf/fractor-typo3-fractor, but I have no way of reporting an error there. That's why I'm writing here.
The following error is reported when calling vendor/bin/fractor process:

8/26 [========>-------------------]  30%
In Parser.php line 140:
Unexpected token BR_CLOSE when not in nested assignment in line 38.  

PHP: 8.2

@andreaswolf
Copy link
Owner

I guess this comes from the TS parser. I think we need to properly catch parsing errors in the various file processors, or at least have a "fallback" error catcher when the file processor does not handle it.
Caught errors should also become visible on the command line, so they become visible and can be solved more easily.

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

No branches or pull requests

2 participants