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