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.

Leave a Comment