symfony assetic:dump – Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? (UnitOfWork.php)

I have an issue when dump assetic in my prod environment (php 7.3.14).
In local environment , it’s work fine (php 7.2)
The command line are :

  • php bin/console assets:install –env=prod (OK)
  • php bin/console assetic:dump –env=prod (KO with warning)

The main issue is some js, image and css not import completely in web folder.

The error is in the file : /var/www/html/demo_project/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665

warning :
enter image description here

More information :
enter image description here

Thanks for your help

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *