Add new github actions, and appy fixes style-ci and ECS PERCS20
style.
#11
Annotations
5 warnings
Run roave infection.:
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;
}
}
|
Run roave infection.:
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()
{
|
Run roave infection.:
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
|
Run roave infection.:
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>
|
Run roave infection.:
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);
}
|
The logs for this run have expired and are no longer available.
Loading