You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Symfony 4.2 when a syntax error happens, this is not shown anymore, instead "Expected to find class..." is displayed.
I tested this behaviour creating an empty project for different Symfony versions and I realized that this happens since SF 4.2. In SF4.1 the right error is displayed.
It makes an error a bit difficult to fix if no deeper info about the error is displayed :)
I hope you can give me a hand on this, thanks a lot!
The text was updated successfully, but these errors were encountered:
Tried this morning from a new SF 4.4.4. and SF 5.0.4 project, creating a dummy class with a syntax error and insteaf of getting the syntax error message the error page always shows "Expected to find class...".
It has nothing to do with wrong namespaces neither duplicated services.
Tried this morning from a new SF 4.4.4. and SF 5.0.4 project, creating a dummy class with a syntax error and insteaf of getting the syntax error message the error page always shows "Expected to find class...".
As I said, the fix is not released yet, see: #35557. You can try this locally to see if this fixes the error you're experiencing.
It has nothing to do with wrong namesces neither duplicated services.
The issue I linked is a symptom, not the cause. The cause is most likely the same as in my issue.
Hi,
Since Symfony 4.2 when a syntax error happens, this is not shown anymore, instead "Expected to find class..." is displayed.
I tested this behaviour creating an empty project for different Symfony versions and I realized that this happens since SF 4.2. In SF4.1 the right error is displayed.
It makes an error a bit difficult to fix if no deeper info about the error is displayed :)
I hope you can give me a hand on this, thanks a lot!
The text was updated successfully, but these errors were encountered: