I have php7.3 and symfony2.8 When I try to create the classes with the console I get this error:
[Symfony\Component\Debug\Exception\ContextErrorException]Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
I've got same problem and got this error too, but in my case this error shows when i'm trying to run composer install
or composer update
.
and i solve this issue by running composer self-update
. it works on my project.