Update rector/rector requirement from ^0.19 to ^1.0 #533
Annotations
5 warnings
Run roave infection.:
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
|
Run roave infection.:
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])) {
|
Run roave infection.:
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);
|
Run roave infection.:
src/UrlMatcher.php#L260
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$dispatchData = $this->fastRouteCollector->getData();
if ($this->cache !== null) {
- $this->cacheDispatchData($dispatchData);
+
}
return $dispatchData;
}
|
Run roave infection.:
src/UrlMatcher.php#L290
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
private function cacheDispatchData(array $dispatchData) : void
{
- $this->cache->set($this->cacheKey, $dispatchData);
+
}
}
|
The logs for this run have expired and are no longer available.
Loading