Skip to content

CI

CI #96

Triggered via schedule September 7, 2026 14:04
Status Failure
Total duration 2m 14s
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
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 21 warnings
Static analysis (ubuntu-latest, 8.4)
Process completed with exit code 2.
Static analysis (ubuntu-latest, 8.4): tests/Unit/DI/MailExtensionTest.php#L99
Parameter #2 $string of static method PHPUnit\Framework\Assert::assertMatchesRegularExpression() expects string, array<string, string|null>|string|null given.
Static analysis (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L158
Part $contentType (array<string, string|null>|string|null) of encapsed string cannot be cast to string.
Static analysis (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L155
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, array<string, string|null>|string|null given.
Static analysis (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L79
Call to deprecated method setTempDirectory() of class Latte\Engine: use setCacheDirectory() instead
Status check - CI
Process completed with exit code 1.
Static analysis (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Coding standard (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 7.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.2, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.1, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.3, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (ubuntu-latest, 8.0, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test for mutants (ubuntu-latest, 8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L244
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } private function deleteAll(): void { - $this->mailer->deleteAll(); + $this->redirectBack(); } /**
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L238
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } private function deleteById(string $id): void { - $this->mailer->deleteById($id); + $this->redirectBack(); } private function deleteAll(): void
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L182
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ $this->renderSource($messageId); } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); - } elseif ($action === 'delete' && is_string($messageId)) { + } elseif (!($action === 'delete') && !is_string($messageId)) { $this->deleteById($messageId); } elseif ($action === 'delete') { $this->deleteAll();
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L182
Escaped Mutant for Mutator "Identical": @@ @@ $this->renderSource($messageId); } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); - } elseif ($action === 'delete' && is_string($messageId)) { + } elseif ($action !== 'delete' && is_string($messageId)) { $this->deleteById($messageId); } elseif ($action === 'delete') { $this->deleteAll();
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd": @@ @@ $this->renderDetail($messageId); } elseif ($action === 'source' && is_string($messageId)) { $this->renderSource($messageId); - } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { + } elseif ($action === 'attachment' && is_string($messageId) || Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); } elseif ($action === 'delete' && is_string($messageId)) { $this->deleteById($messageId);
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd": @@ @@ $this->renderDetail($messageId); } elseif ($action === 'source' && is_string($messageId)) { $this->renderSource($messageId); - } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { + } elseif (($action === 'attachment' || is_string($messageId)) && Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); } elseif ($action === 'delete' && is_string($messageId)) { $this->deleteById($messageId);
Test for mutants (ubuntu-latest, 8.4): src/Tracy/MailPanel.php#L116
Escaped Mutant for Mutator "Coalesce": @@ @@ $reflector = new ReflectionProperty(MimePart::class, 'parts'); /** @infection-ignore-all Not needed since PHP 8.1 */ $reflector->setAccessible(true); - return $this->getPlainText($part, $reflector) ?? $part->getBody(); + return $part->getBody() ?? $this->getPlainText($part, $reflector); }; } private function getPlainText(MimePart $part, ReflectionProperty $reflector): ?string
Test for mutants (ubuntu-latest, 8.4): src/DI/MailExtension.php#L145
Escaped Mutant for Mutator "FalseValue": @@ @@ } private function registerMessageIdMailer(ContainerBuilder $builder, ServiceDefinition $wrappedMailer): ServiceDefinition { - return $builder->addDefinition($this->prefix('setMessageIdMailer'))->setFactory(SetMessageIdMailer::class, ['mailer' => $wrappedMailer])->setAutowired(false); + return $builder->addDefinition($this->prefix('setMessageIdMailer'))->setFactory(SetMessageIdMailer::class, ['mailer' => $wrappedMailer])->setAutowired(true); } private function autowireMainMailer(ContainerBuilder $builder, ServiceDefinition $mainMailer): void {
Test for mutants (ubuntu-latest, 8.4): src/DI/MailExtension.php#L90
Escaped Mutant for Mutator "ArrayItem": @@ @@ if ($config->debug->cleanup !== null) { $mailerDefinition->addSetup('setAutoCleanup', [new Literal('new ' . DateTimeImmutable::class . '(\'' . $config->debug->cleanup . '\')')]); } - $this->panelDefinition = $builder->addDefinition($this->prefix('tracy.panel'))->setFactory(MailPanel::class, ['mailer' => $mailerDefinition, 'tempDir' => $config->debug->tempDir])->setAutowired(false); + $this->panelDefinition = $builder->addDefinition($this->prefix('tracy.panel'))->setFactory(MailPanel::class, ['mailer' => $mailerDefinition, 'tempDir' > $config->debug->tempDir])->setAutowired(false); } public static function setupTracyMailPanel(string $name, Bar $bar, MailPanel $panel): void {
Tests (windows-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests (macos-latest, 8.4, false)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/github-script@v7, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
Logs - Mutations
1.19 KB
sha256:3aa93f09469141f48ca03602bf8afbbcabc02b814cef4dc08824a13c7cfa7d96