CI #52
Annotations
3 warnings
src/DI/DataSourceExtension.php#L38
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
public function loadConfiguration(): void
{
- parent::loadConfiguration();
+
$loader = new DefinitionsLoader($this->compiler);
$builder = $this->getContainerBuilder();
$config = $this->config;
|
src/DI/DataSourceExtension.php#L67
Escaped Mutant for Mutator "FalseValue":
@@ @@
$encoderKey = $this->prefix("encoder.{$encoderName}");
$encoderDefinitions[$encoderKey] = $loader->loadDefinitionFromConfig($encoderConfig, $encoderKey);
}
- $encoderManagerDefinition = $builder->addDefinition($this->prefix('encoders.manager'))->setFactory(LazyFormatEncoderManager::class, [array_keys($encoderDefinitions)])->setType(FormatEncoderManager::class)->setAutowired(false);
+ $encoderManagerDefinition = $builder->addDefinition($this->prefix('encoders.manager'))->setFactory(LazyFormatEncoderManager::class, [array_keys($encoderDefinitions)])->setType(FormatEncoderManager::class)->setAutowired(true);
$builder->addDefinition($this->prefix('dataSource'))->setFactory(DefaultDataSource::class, [$encoderManagerDefinition])->setType(DataSource::class);
}
/**
|
src/DI/DataSourceExtension.php#L84
Escaped Mutant for Mutator "FalseValue":
@@ @@
{
$builder = $this->getContainerBuilder();
$definitionName = $this->prefix("encoder.{$encoderName}");
- return $builder->addDefinition($definitionName)->setFactory($className)->setAutowired(false);
+ return $builder->addDefinition($definitionName)->setFactory($className)->setAutowired(true);
}
}
|
This job succeeded
Loading