Deprecated class usage found

More information: https://insight.symfony.com/what-we-analyse/third_party.use_deprecated_class

  1. $container->setParameter('ecommit_util.install_lock_file', $config['install_lock_file']);
  2. foreach ($config['cache'] as $name => $options) {
  3. $serviceName = sprintf('ecommit_cache_%s', $name);
  4. $container
  5. ->setDefinition($serviceName, new DefinitionDecorator('ecommit_util.cache'))

    The Symfony\Component\DependencyInjection\DefinitionDecorator class has been deprecated in Symfony 3.3. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by hlecorche
  6. ->replaceArgument(0, $options)
  7. ->setPublic(true);
  8. }
  9. }
  10. }