git-web-client
git-web-client copied to clipboard
Runtime exception | php 7.3
Error encountered in install composer install
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
check.php reported the install is ready to go despite that message but... trying to create the database yields
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
would composer update fix this?
Same for me. Cannot track in which file the problem exists. There was a problem with composer here: https://github.com/composer/composer/issues/7783#issuecomment-462306526 but it didn't help in all aspects.
What to do ? Where can I find it ? Is it a "continue" to "break" change ?
The workaround I've used is to go back to 7.2 version of PHP - and it works like a charm.