The Symfony Dependency Injection Container should not be passed as an argument

More information: https://insight.symfony.com/what-we-analyse/symfony.dependency_injection.no_container_as_parameter

  1. class ParameterRetriever
  2. {
  3. private $container;
  4. private $parameterMap;
  5. public function __construct(ContainerInterface $container, array $parameterMap)

    A Symfony dependency injection container has been found as an argument.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Christophe Coevoet
  6. {
  7. $this->container = $container;
  8. $this->parameterMap = $parameterMap;
  9. }

Version of dependencies should be fixed

More information: https://insight.symfony.com/what-we-analyse/composer.unfixed_dependency_version

Package symfony/dependency-injection#^2.6.2@dev is not fixed.

Time to fix: about 1 hour
Open Issue Permalink
Collective