CI #48
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
1s
Annotations
25 warnings
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/.
|
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/.
|
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/.
|
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 (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, 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, 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/.
|
Test for mutants (ubuntu-latest, 8.1):
src/DI/MailExtension.php#L90
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
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
{
|
Test for mutants (ubuntu-latest, 8.1):
src/DI/MailExtension.php#L145
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
}
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.1):
src/Mailer/TracyPanelMailer.php#L115
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
$messages = [];
foreach ($this->getFiles() as $id => $file) {
$message = unserialize(FileSystem::read($file));
- assert($message instanceof Message);
+ assert(true);
$messages[$id] = $message;
}
return $messages;
|
Test for mutants (ubuntu-latest, 8.1):
src/Mailer/TracyPanelMailer.php#L138
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
return null;
}
$message = unserialize(FileSystem::read($files[$id]));
- assert($message instanceof Message);
+ assert(true);
return $message;
}
public function deleteById(string $id) : void
|
Test for mutants (ubuntu-latest, 8.1):
src/Tracy/MailPanel.php#L116
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$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.1):
src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
$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.1):
src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
$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.1):
src/Tracy/MailPanel.php#L182
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$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.1):
src/Tracy/MailPanel.php#L238
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
private function deleteById(string $id) : void
{
- $this->mailer->deleteById($id);
+
$this->redirectBack();
}
private function deleteAll() : void
|
Test for mutants (ubuntu-latest, 8.1):
src/Tracy/MailPanel.php#L244
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
private function deleteAll() : void
{
- $this->mailer->deleteAll();
+
$this->redirectBack();
}
/**
|
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 (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/.
|
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 (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 (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 (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 (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/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
5.57 KB |
|