Skip to content

Update metadata and build config #50

Update metadata and build config

Update metadata and build config #50

Triggered via push June 20, 2024 16:18
Status Success
Total duration 1m 59s
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
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/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/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/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/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.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
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#L99
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $url = $this->request->getUrl(); $url = $url->withQueryParameter('do', self::SignalName); - foreach ($params as $name => $value) { + foreach (array() as $name => $value) { $url = $url->withQueryParameter($name, $value); } return $url->getAbsoluteUrl();
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/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/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 (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
1.27 KB