Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 1.02 KB

File metadata and controls

18 lines (11 loc) · 1.02 KB

UPGRADE

v3.x > v4.x

Changed compatibility to PHP 8

v2.x > v3.x

Changed localizeddate to format_datetime

v1.x > v2.x

When upgrading from v1.x to v2.x you should(must) do the following if they apply to your case:

  • The parameters entered in config.yml are not used anymore as they are managed by c975L/ConfigBundle, so you can delete them.
  • As the parameters are not in config.yml, we can't access them via $this[->container]->getParameter(), so you have to replace $this->getParameter('c975_l_exception_checker.XXX') by $configService->getParameter('c975LExceptionChecker.XXX'), where $configService is the injection of c975L\ConfigBundle\Service\ConfigServiceInterface.
  • The exceptionCheckerSecret is now managed by c975L/ConfigBundle, so you can delete it from parameters.yml and parameters.yml.dist, but before that, copy/paste it in the config.
  • Before the first use of parameters, you MUST use the console command php bin/console config:create to create the config files with default data.