Your project must not contain invalid function or method calls 5

More information: https://insight.symfony.com/what-we-analyse/php.invalid_call

  1. $configuration = new Configuration();
  2. $config = $processor->processConfiguration($configuration, $configs);
  3. $templates = $config['templates'];
  4. $container->setParameter('batch_entity_import.templates', $templates);
  5. $container->setParameter('batch_entity_import.templates.select_file', $templates['select_file']);

    Parameter #2 $value of method Symfony\Component\DependencyInjection\Container::setParameter() expects array|bool|float|int|string|UnitEnum|null, mixed given.

    Time to fix: about 9 minutes
    Read doc Permalink
    Last edited by Jarek
  6. $container->setParameter('batch_entity_import.templates.edit_matrix', $templates['edit_matrix']);
  7. $container->setParameter('batch_entity_import.templates.layout', $templates['layout']);
  8. }
  9. }
  1. $templates = $config['templates'];
  2. $container->setParameter('batch_entity_import.templates', $templates);
  3. $container->setParameter('batch_entity_import.templates.select_file', $templates['select_file']);
  4. $container->setParameter('batch_entity_import.templates.edit_matrix', $templates['edit_matrix']);
  5. $container->setParameter('batch_entity_import.templates.layout', $templates['layout']);

    Parameter #2 $value of method Symfony\Component\DependencyInjection\Container::setParameter() expects array|bool|float|int|string|UnitEnum|null, mixed given.

    Time to fix: about 9 minutes
    Read doc Permalink
    Last edited by Jarosław Grygierek
  6. }
  7. }
  1. $config = $processor->processConfiguration($configuration, $configs);
  2. $templates = $config['templates'];
  3. $container->setParameter('batch_entity_import.templates', $templates);
  4. $container->setParameter('batch_entity_import.templates.select_file', $templates['select_file']);
  5. $container->setParameter('batch_entity_import.templates.edit_matrix', $templates['edit_matrix']);

    Parameter #2 $value of method Symfony\Component\DependencyInjection\Container::setParameter() expects array|bool|float|int|string|UnitEnum|null, mixed given.

    Time to fix: about 9 minutes
    Read doc Permalink
    Last edited by Jarek
  6. $container->setParameter('batch_entity_import.templates.layout', $templates['layout']);
  7. }
  8. }
  1. $processor = new Processor();
  2. $configuration = new Configuration();
  3. $config = $processor->processConfiguration($configuration, $configs);
  4. $templates = $config['templates'];
  5. $container->setParameter('batch_entity_import.templates', $templates);

    Parameter #2 $value of method Symfony\Component\DependencyInjection\Container::setParameter() expects array|bool|float|int|string|UnitEnum|null, mixed given.

    Time to fix: about 9 minutes
    Read doc Permalink
    Last edited by Jarek
  6. $container->setParameter('batch_entity_import.templates.select_file', $templates['select_file']);
  7. $container->setParameter('batch_entity_import.templates.edit_matrix', $templates['edit_matrix']);
  8. $container->setParameter('batch_entity_import.templates.layout', $templates['layout']);
  9. }
  10. }
  1. $setterName = ColumnNameHelper::getSetterName($name);
  2. if (isset($fieldDefinitions[$name])) {
  3. $fieldDefinition = $fieldDefinitions[$name];
  4. if (ArrayTextType::class === $fieldDefinition->getClass()) {
  5. $value = $this->parseValueForArrayType($fieldDefinition, $value);

    Parameter #2 $value of method JG\BatchEntityImportBundle\Model\Configuration\AbstractImportConfiguration::parseValueForArrayType() expects string|null, mixed given.

    Time to fix: about 9 minutes
    Read doc Permalink
    Last edited by Pierre Svgnt
  6. }
  7. }
  8. try {
  9. if (\interface_exists(TranslatableInterface::class) && $entity instanceof TranslatableInterface && $locale) {