Skip to content

Update rector/rector requirement from 1.0.* to ^1.2 #588

Update rector/rector requirement from 1.0.* to ^1.2

Update rector/rector requirement from 1.0.* to ^1.2 #588

Triggered via pull request July 2, 2024 13:44
Status Success
Total duration 36s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation / PHP 8.2-ubuntu-latest: 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 {
mutation / PHP 8.2-ubuntu-latest: 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 {
mutation / PHP 8.2-ubuntu-latest: 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 {
mutation / PHP 8.2-ubuntu-latest: 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 {
mutation / PHP 8.2-ubuntu-latest: 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; } /**
mutation / PHP 8.2-ubuntu-latest: 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; } /**
mutation / PHP 8.2-ubuntu-latest: 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; } /**
mutation / PHP 8.2-ubuntu-latest: 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; }
mutation / PHP 8.2-ubuntu-latest: 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) {
mutation / PHP 8.2-ubuntu-latest: 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];