Skip to content
Triggered via schedule August 19, 2024 08:13
Status Success
Total duration 9m 22s
Artifacts 1

ci.yaml

on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
1s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Test for mutants (ubuntu-latest, 8.3): 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;
Test for mutants (ubuntu-latest, 8.3): src/DI/DataSourceExtension.php#L56
Escaped Mutant for Mutator "Foreach_": @@ @@ $yamlDefinition = $this->addCoreEncoder('yaml', YamlFormatEncoder::class); $encoderDefinitions[$yamlDefinition->getName()] = $yamlDefinition; } - foreach ($config->encoders as $encoderName => $encoderConfig) { + foreach ([] as $encoderName => $encoderConfig) { $encoderKey = $this->prefix("encoder.{$encoderName}"); $encoderDefinitions[$encoderKey] = $loader->loadDefinitionFromConfig($encoderConfig, $encoderKey); }
Test for mutants (ubuntu-latest, 8.3): 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); } /**
Test for mutants (ubuntu-latest, 8.3): 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); } }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
794 Bytes