Update rector/rector requirement from 1.0.*
to ^1.2
#590
Annotations
10 warnings
src/Debug/WebViewCollector.php#L28
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return;
}
- $this->renders[] = ['output' => $event->getResult(), 'file' => $event->getFile(), 'parameters' => $event->getParameters()];
+ $this->renders[] = ['file' => $event->getFile(), 'parameters' => $event->getParameters()];
}
private function reset() : void
{
|
src/Debug/WebViewCollector.php#L29
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return;
}
- $this->renders[] = ['output' => $event->getResult(), 'file' => $event->getFile(), 'parameters' => $event->getParameters()];
+ $this->renders[] = ['output' > $event->getResult(), 'file' => $event->getFile(), 'parameters' => $event->getParameters()];
}
private function reset() : void
{
|
src/Debug/WebViewCollector.php#L30
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return;
}
- $this->renders[] = ['output' => $event->getResult(), 'file' => $event->getFile(), 'parameters' => $event->getParameters()];
+ $this->renders[] = ['output' => $event->getResult(), 'file' > $event->getFile(), 'parameters' => $event->getParameters()];
}
private function reset() : void
{
|
src/Debug/WebViewCollector.php#L31
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return;
}
- $this->renders[] = ['output' => $event->getResult(), 'file' => $event->getFile(), 'parameters' => $event->getParameters()];
+ $this->renders[] = ['output' => $event->getResult(), 'file' => $event->getFile(), 'parameters' > $event->getParameters()];
}
private function reset() : void
{
|
src/ViewRenderer.php#L262
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
public function withAddedInjections(object|string ...$injections) : self
{
$new = clone $this;
- $new->setInjections(array_merge($this->injections, $injections));
+ $new->setInjections($this->injections);
return $new;
}
/**
|
src/ViewRenderer.php#L262
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
public function withAddedInjections(object|string ...$injections) : self
{
$new = clone $this;
- $new->setInjections(array_merge($this->injections, $injections));
+ $new->setInjections($injections);
return $new;
}
/**
|
src/ViewRenderer.php#L262
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function withAddedInjections(object|string ...$injections) : self
{
$new = clone $this;
- $new->setInjections(array_merge($this->injections, $injections));
+
return $new;
}
/**
|
src/ViewRenderer.php#L285
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
*/
public function withLocale(string $locale) : self
{
- $new = clone $this;
+ $new = $this;
$new->locale = $locale;
return $new;
}
|
src/ViewRenderer.php#L422
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
foreach ($this->getPreparedInjections() as $injection) {
if ($injection instanceof $injectionInterface) {
$result[] = $injection;
- continue;
+ break;
}
if ($injection instanceof LayoutSpecificInjections && $injection->getLayout() === $layout) {
foreach ($injection->getInjections() as $layoutInjection) {
|
src/ViewRenderer.php#L544
Escaped Mutant for Mutator "PregMatchRemoveFlags":
--- Original
+++ New
@@ @@
if (array_key_exists($class, $cache)) {
return $cache[$class];
}
- if (preg_match('/(?:.*controller\\\\|.*controllers\\\\)([\\w\\\\]+)controller$/iU', $class, $m) && !empty($m[1])) {
+ if (preg_match('/(?:.*controller\\\\|.*controllers\\\\)([\\w\\\\]+)controller$/i', $class, $m) && !empty($m[1])) {
$name = $m[1];
} elseif (preg_match('/(\\w+)controller$/iU', $class, $m) && !empty($m[1])) {
$name = $m[1];
|
This job succeeded
Loading