CI #338
Annotations
3 warnings
src/ConfigurableException.php#L44
Escaped Mutant for Mutator "CastString":
--- Original
+++ New
@@ @@
*/
public function withMessage($message) : self
{
- $this->message = (string) $message;
+ $this->message = $message;
if (static::$addSuppressedToMessage) {
$this->isAnySuppressedInMessage = false;
foreach ($this->suppressed as $key => $item) {
|
src/ConfigurableException.php#L65
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
$reflection = new ReflectionClass(Exception::class);
// phpcs:enable
$property = $reflection->getProperty('previous');
- $property->setAccessible(true);
+ $property->setAccessible(false);
$property->setValue($this, $throwable);
return $this;
}
|
src/ConfigurableException.php#L65
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$reflection = new ReflectionClass(Exception::class);
// phpcs:enable
$property = $reflection->getProperty('previous');
- $property->setAccessible(true);
+
$property->setValue($this, $throwable);
return $this;
}
|
The logs for this run have expired and are no longer available.
Loading