Lock file maintenance #560
Annotations
10 warnings
src/Escaper.php#L140
Escaped Mutant for Mutator "Throw_":
--- Original
+++ New
@@ @@
{
if ($encoding !== null) {
if ($encoding === '') {
- throw new Exception\InvalidArgumentException(static::class . ' constructor parameter does not allow a blank value');
+ new Exception\InvalidArgumentException(static::class . ' constructor parameter does not allow a blank value');
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
|
src/Escaper.php#L141
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
if ($encoding !== null) {
if ($encoding === '') {
- throw new Exception\InvalidArgumentException(static::class . ' constructor parameter does not allow a blank value');
+ throw new Exception\InvalidArgumentException(' constructor parameter does not allow a blank value' . static::class);
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
|
src/Escaper.php#L141
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
if ($encoding !== null) {
if ($encoding === '') {
- throw new Exception\InvalidArgumentException(static::class . ' constructor parameter does not allow a blank value');
+ throw new Exception\InvalidArgumentException(' constructor parameter does not allow a blank value');
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
|
src/Escaper.php#L141
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
if ($encoding !== null) {
if ($encoding === '') {
- throw new Exception\InvalidArgumentException(static::class . ' constructor parameter does not allow a blank value');
+ throw new Exception\InvalidArgumentException(static::class);
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
|
src/Escaper.php#L148
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException($encoding . 'Value of \'' . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
src/Escaper.php#L148
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException($encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
src/Escaper.php#L148
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException('Value of \'' . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
src/Escaper.php#L148
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException('Value of \'' . '\' passed to ' . $encoding . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
src/Escaper.php#L148
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException('Value of \'' . $encoding . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
src/Escaper.php#L148
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$encoding = strtolower($encoding);
if (!in_array($encoding, $this->supportedEncodings)) {
- throw new Exception\InvalidArgumentException('Value of \'' . $encoding . '\' passed to ' . static::class . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
+ throw new Exception\InvalidArgumentException('Value of \'' . $encoding . static::class . '\' passed to ' . ' constructor parameter is invalid. Provide an encoding supported by htmlspecialchars()');
}
$this->encoding = $encoding;
}
|
This job succeeded
Loading