Skip to content

Add new github actions, and appy fixes style-ci and ECS PERCS20 style. #11

Add new github actions, and appy fixes style-ci and ECS PERCS20 style.

Add new github actions, and appy fixes style-ci and ECS PERCS20 style. #11

Triggered via pull request January 26, 2024 09:08
Status Success
Total duration 1m 6s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
mutation / PHP 8.1-ubuntu-latest: src/Mailer.php#L129
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ $message = $this->signer->sign($message, $this->signerOptions); } $this->getTransport()->send($message); - return true; + return false; } }
mutation / PHP 8.1-ubuntu-latest: src/Message.php#L42
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function __construct(array $config = []) { $this->email = new Email(); - parent::__construct($config); + } public function __clone() {
mutation / PHP 8.1-ubuntu-latest: src/Message.php#L277
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $name = $options['fileName'] ?? $fileName; $this->email->embedFromPath($fileName, $name, $options['contentType'] ?? FileHelper::getMimeType($fileName)); - return 'cid:' . $name; + return 'cid:'; } /** * @param resource|string $content
mutation / PHP 8.1-ubuntu-latest: src/Message.php#L291
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ throw new InvalidConfigException('A valid file name must be passed when embedding content'); } $this->email->embed($content, $options['fileName'], $options['contentType'] ?? null); - return 'cid:' . $options['fileName']; + return 'cid:'; } /** * @return list<string>
mutation / PHP 8.1-ubuntu-latest: src/Message.php#L394
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ if (!is_string($address)) { // email address without name $addresses[] = new Address($name); - continue; + break; } $addresses[] = new Address($address, $name); }