CI #252
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
5s
Annotations
10 warnings and 1 notice
|
Test for mutants (ubuntu-latest, 8.4):
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) {
|
|
Test for mutants (ubuntu-latest, 8.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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.4):
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);
|
|
Tests (windows-latest, 8.4, false)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
Logs - Mutations
Expired
|
12.7 KB |
sha256:cc883815de7f7772dd2d5ffa659b9893f6b69db08cac3ae39bc8dbc69096ad0e
|
|