deprecated-packages / symplify

[DISCONTINUED] Check split packages in their own repositories :)
MIT License
621 stars 189 forks source link

[Statie] neon/latte parse error - make it related to file #21

Closed TomasVotruba closed 7 years ago

TomasVotruba commented 7 years ago

Improve this message

image

enumag commented 7 years ago

👍 I just got en error "Bad indentation on line 5, column 5." - I had no idea that it even was a Neon exception. Determining which file caused it took even longer.

EDIT: And now after fixing that I got "Class 'Client' not found" - which I assume is from latte. I don't think I'll continue until this is solved, it's way too complicated to debug like this. There isn't even a line number this time.

EDIT2: Fun fact: the second error probably is from Doctrine/Annotations - for whatever reason it is scanning the code examples in source/_posts/*.md.

TomasVotruba commented 7 years ago

Edit2: Do you know how to solve this for this package?

enumag commented 7 years ago

Not yet.

enumag commented 7 years ago

And it won't be easy. It's not Doctrine/Annotations that throws the error. But the error disappears if I remove annotations from the code example. I've no idea what's going on - is there some sort of debug mode to get at least the exception type and trace? Having just the message is completely unhelpful.

TomasVotruba commented 7 years ago

There is no debug option I know off. Type --help after command to see all options.

Feel free to open PR with --debug option

TomasVotruba commented 7 years ago

Not sure where this came from, closing.

Plan for next time: full report and fix right away.