Skip to content
Triggered via schedule August 19, 2024 08:18
Status Success
Total duration 4m 59s
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
3s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test for mutants (ubuntu-latest, 8.3): src/FormMonitor/SignalFormExtractor.php#L25
Escaped Mutant for Mutator "LessThan": @@ @@ public function extractForm(Presenter $presenter): void { $signal = $presenter->getSignal(); - if ($signal === null || count($signal) < 2) { + if ($signal === null || count($signal) <= 2) { return; } array_pop($signal);
Test for mutants (ubuntu-latest, 8.3): src/FormMonitor/SignalFormExtractor.php#L25
Escaped Mutant for Mutator "LessThanNegotiation": @@ @@ public function extractForm(Presenter $presenter): void { $signal = $presenter->getSignal(); - if ($signal === null || count($signal) < 2) { + if ($signal === null || count($signal) >= 2) { return; } array_pop($signal);
Test for mutants (ubuntu-latest, 8.3): src/FormMonitor/Tracy/FormMonitorPanel.php#L53
Escaped Mutant for Mutator "Foreach_": @@ @@ private function getErrors(): array { $errors = []; - foreach ($this->formStack->getAll() as $name => $form) { + foreach ([] as $name => $form) { $formErrors = $this->errorExtractor->getErrors($form); if ($formErrors !== []) { $errors[$name] = $formErrors;
Test for mutants (ubuntu-latest, 8.3): src/FormMonitor/Tracy/FormMonitorPanel.php#L56
Escaped Mutant for Mutator "NotIdentical": @@ @@ $errors = []; foreach ($this->formStack->getAll() as $name => $form) { $formErrors = $this->errorExtractor->getErrors($form); - if ($formErrors !== []) { + if ($formErrors === []) { $errors[$name] = $formErrors; } }
Test for mutants (ubuntu-latest, 8.3): src/FormMonitor/Tracy/FormMonitorPanel.php#L61
Escaped Mutant for Mutator "ArrayOneItem": @@ @@ $errors[$name] = $formErrors; } } - return $errors; + return count($errors) > 1 ? array_slice($errors, 0, 1, true) : $errors; } }
Test for mutants (ubuntu-latest, 8.3): src/Inspector/DI/InspectorExtension.php#L31
Escaped Mutant for Mutator "FalseValue": @@ @@ private ServiceDefinition $inspectorDefinition; public function getConfigSchema(): Schema { - return Expect::structure(['_dev' => Expect::bool(false), 'enabled' => Expect::bool(false)]); + return Expect::structure(['_dev' => Expect::bool(true), 'enabled' => Expect::bool(false)]); } public function loadConfiguration(): void {
Test for mutants (ubuntu-latest, 8.3): src/Inspector/DI/InspectorExtension.php#L32
Escaped Mutant for Mutator "FalseValue": @@ @@ private ServiceDefinition $inspectorDefinition; public function getConfigSchema(): Schema { - return Expect::structure(['_dev' => Expect::bool(false), 'enabled' => Expect::bool(false)]); + return Expect::structure(['_dev' => Expect::bool(false), 'enabled' => Expect::bool(true)]); } public function loadConfiguration(): void {
Test for mutants (ubuntu-latest, 8.3): src/Inspector/DI/InspectorExtension.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function loadConfiguration(): void { - parent::loadConfiguration(); + $builder = $this->getContainerBuilder(); $config = $this->config; if (!$config->enabled) {
Test for mutants (ubuntu-latest, 8.3): src/Inspector/DI/InspectorExtension.php#L49
Escaped Mutant for Mutator "FalseValue": @@ @@ if (!$config->enabled) { return; } - $this->inspectorDefinition = $builder->addDefinition($this->prefix('inspector'))->setFactory(Inspector::class)->setAutowired(false); + $this->inspectorDefinition = $builder->addDefinition($this->prefix('inspector'))->setFactory(Inspector::class)->setAutowired(true); } public function beforeCompile(): void {
Test for mutants (ubuntu-latest, 8.3): src/Inspector/DI/InspectorExtension.php#L54
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function beforeCompile(): void { - parent::beforeCompile(); + $builder = $this->getContainerBuilder(); $config = $this->config; if (!$config->enabled) {

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
12.6 KB