Skip to content

ProcessJobExecutor: log unexpected stdout instead of triggering E_USE… #139

ProcessJobExecutor: log unexpected stdout instead of triggering E_USE…

ProcessJobExecutor: log unexpected stdout instead of triggering E_USE… #139

Triggered via push March 21, 2024 22:53
Status Success
Total duration 1m 49s
Artifacts 1

ci.yaml

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

Annotations

23 warnings
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (ubuntu-latest, 8.1): src/Command/ExplainCommand.php#L35
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ { parent::__construct($clock); $this->scheduler = $scheduler; - $this->explainer = $explainer ?? new DefaultCronExpressionExplainer(); + $this->explainer = new DefaultCronExpressionExplainer() ?? $explainer; } public static function getDefaultName() : string {
Test for mutants (ubuntu-latest, 8.1): src/Command/ExplainCommand.php#L113
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ $output->writeln("<error>Option --seconds expects an int<0, 59>, '{$seconds}' given.</error>"); } if ($id !== null) { - $hasErrors = true; + $hasErrors = false; $output->writeln('<error>Option --seconds cannot be used with --id.</error>'); } if ($expression === null) {
Test for mutants (ubuntu-latest, 8.1): src/Command/ExplainCommand.php#L134
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ $timezone = new DateTimeZone($timezone); } if ($id !== null) { - $hasErrors = true; + $hasErrors = false; $output->writeln('<error>Option --timezone cannot be used with --id.</error>'); } if ($expression === null) {
Test for mutants (ubuntu-latest, 8.1): src/Command/ExplainCommand.php#L149
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ return null; } // Happens only when $hasErrors = true - assert(!is_string($seconds) && $seconds >= 0 && $seconds <= 59); + assert((!is_string($seconds) || $seconds >= 0) && $seconds <= 59); assert(!is_string($timezone)); return ['id' => $id, 'expression' => $expression, 'seconds' => $seconds, 'timezone' => $timezone]; }
Test for mutants (ubuntu-latest, 8.1): src/Command/ExplainCommand.php#L149
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ return null; } // Happens only when $hasErrors = true - assert(!is_string($seconds) && $seconds >= 0 && $seconds <= 59); + assert(!is_string($seconds) && $seconds >= 0 || $seconds <= 59); assert(!is_string($timezone)); return ['id' => $id, 'expression' => $expression, 'seconds' => $seconds, 'timezone' => $timezone]; }
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L52
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ { parent::__construct($clock); $this->scheduler = $scheduler; - $this->explainer = $explainer ?? new DefaultCronExpressionExplainer(); + $this->explainer = new DefaultCronExpressionExplainer() ?? $explainer; } public static function getDefaultName() : string {
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L195
Escaped Mutant for Mutator "GreaterThanOrEqualTo": --- Original +++ New @@ @@ return null; } // Happens only when $hasErrors = true - assert(is_bool($next) || is_int($next) && $next >= 1); + assert(is_bool($next) || is_int($next) && $next > 1); assert(!is_string($timezone)); return ['next' => $next, 'timezone' => $timezone, 'explain' => $explain]; }
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L195
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ return null; } // Happens only when $hasErrors = true - assert(is_bool($next) || is_int($next) && $next >= 1); + assert(is_bool($next) || (is_int($next) || $next >= 1)); assert(!is_string($timezone)); return ['next' => $next, 'timezone' => $timezone, 'explain' => $explain]; }
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L235
Escaped Mutant for Mutator "Break_": --- Original +++ New @@ @@ $count = 0; foreach ($jobSchedules as $key => $value) { if ($count >= $next) { - break; + continue; } $slicedJobs[$key] = $value; $count++;
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L276
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($repeatAfterSeconds === 0) { return $nextDueDate; } - $previousDueDate = DateTimeImmutable::createFromMutable($expression->getPreviousRunDate($now, 0, true)->setTimezone($timeZone)); + $previousDueDate = DateTimeImmutable::createFromMutable($expression->getPreviousRunDate($now, -1, true)->setTimezone($timeZone)); if (!$this->wasPreviousDueDateInCurrentMinute($now, $previousDueDate)) { return $nextDueDate; }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
21.1 KB