Skip to content

Update rector/rector requirement from ^0.19 to ^1.0 (#138) #534

Update rector/rector requirement from ^0.19 to ^1.0 (#138)

Update rector/rector requirement from ^0.19 to ^1.0 (#138) #534

Triggered via push February 12, 2024 17:03
Status Success
Total duration 44s
Artifacts

mutation.yml

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

Annotations

5 warnings
mutation / PHP 8.1-ubuntu-latest: src/UrlMatcher.php#L85
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $this->fastRouteCollector = $fastRouteCollector ?? $this->createRouteCollector(); $this->dispatcherCallback = $dispatcherFactory; - $this->loadConfig($config); + $this->loadDispatchData(); } public function match(ServerRequestInterface $request) : MatchingResult
mutation / PHP 8.1-ubuntu-latest: src/UrlMatcher.php#L124
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ */ private function loadConfig(?array $config) : void { - if ($config === null) { + if ($config !== null) { return; } if (isset($config[self::CONFIG_CACHE_KEY])) {
mutation / PHP 8.1-ubuntu-latest: src/UrlMatcher.php#L216
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ { foreach ($this->routeCollection->getRoutes() as $route) { if (!$route->getData('hasMiddlewares')) { - continue; + break; } $hosts = $route->getData('hosts'); $count = count($hosts);
mutation / PHP 8.1-ubuntu-latest: src/UrlMatcher.php#L260
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $dispatchData = $this->fastRouteCollector->getData(); if ($this->cache !== null) { - $this->cacheDispatchData($dispatchData); + } return $dispatchData; }
mutation / PHP 8.1-ubuntu-latest: src/UrlMatcher.php#L290
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ private function cacheDispatchData(array $dispatchData) : void { - $this->cache->set($this->cacheKey, $dispatchData); + } }