CI #80
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
4 warnings
Test for mutants (ubuntu-latest, 8.3):
src/DI/SchedulerExtension.php#L110
Escaped Mutant for Mutator "FalseValue":
@@ @@
$value = substr($value, 1);
} elseif (str_starts_with($value, '@')) {
// @Yearly - service reference
- return false;
+ return true;
}
return CronExpression::isValidExpression($value);
}, 'Valid cron expression'), 'callback' => Expect::anyOf(
|
Test for mutants (ubuntu-latest, 8.3):
src/DI/SchedulerExtension.php#L125
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
/* @infection-ignore-all */
Expect::array()->min(2)->max(2),
Expect::type(Statement::class)
- )->default(null), 'job' => DefinitionsLoader::schema()->default(null), 'repeatAfterSeconds' => Expect::int(0)->min(0)->max(30), 'timeZone' => Expect::anyOf(Expect::string(), Expect::null())->assert(static function (?string $timeZone): bool {
+ )->default(null), 'job' => DefinitionsLoader::schema()->default(null), 'repeatAfterSeconds' => Expect::int(0)->min(-1)->max(30), 'timeZone' => Expect::anyOf(Expect::string(), Expect::null())->assert(static function (?string $timeZone): bool {
if ($timeZone === null) {
return true;
}
|
Test for mutants (ubuntu-latest, 8.3):
src/DI/SchedulerExtension.php#L126
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
/* @infection-ignore-all */
Expect::array()->min(2)->max(2),
Expect::type(Statement::class)
- )->default(null), 'job' => DefinitionsLoader::schema()->default(null), 'repeatAfterSeconds' => Expect::int(0)->min(0)->max(30), 'timeZone' => Expect::anyOf(Expect::string(), Expect::null())->assert(static function (?string $timeZone): bool {
+ )->default(null), 'job' => DefinitionsLoader::schema()->default(null), 'repeatAfterSeconds' => Expect::int(0)->min(0)->max(31), 'timeZone' => Expect::anyOf(Expect::string(), Expect::null())->assert(static function (?string $timeZone): bool {
if ($timeZone === null) {
return true;
}
|
Test for mutants (ubuntu-latest, 8.3):
src/DI/SchedulerExtension.php#L132
Escaped Mutant for Mutator "TrueValue":
@@ @@
Expect::type(Statement::class)
)->default(null), 'job' => DefinitionsLoader::schema()->default(null), 'repeatAfterSeconds' => Expect::int(0)->min(0)->max(30), 'timeZone' => Expect::anyOf(Expect::string(), Expect::null())->assert(static function (?string $timeZone): bool {
if ($timeZone === null) {
- return true;
+ return false;
}
return in_array($timeZone, timezone_identifiers_list(), true);
}, 'Valid timezone')])->assert(static function (stdClass $values): bool {
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
1.05 KB |
|