Release 1.0.4 #67
ci.yaml
on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
3s
Annotations
20 warnings
Tests (ubuntu-latest, 8.3, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static analysis (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Coding standard (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (ubuntu-latest, 7.4, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (ubuntu-latest, 8.4, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (ubuntu-latest, 8.1, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (ubuntu-latest, 8.2, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/Tracy/MailPanel.php#L99
Escaped Mutant for Mutator "Foreach_":
@@ @@
{
$url = $this->request->getUrl();
$url = $url->withQueryParameter('do', self::SignalName);
- foreach ($params as $name => $value) {
+ foreach ([] as $name => $value) {
$url = $url->withQueryParameter($name, $value);
}
return $url->getAbsoluteUrl();
|
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/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#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#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#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#L244
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
private function deleteAll(): void
{
- $this->mailer->deleteAll();
+
$this->redirectBack();
}
/**
|
Tests (ubuntu-latest, 8.0, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code coverage finish (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Status check - CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
|
1.12 KB |
|