Skip to content

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0 #508

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0 #508

Triggered via push December 11, 2024 21:32
Status Success
Total duration 2m 3s
Artifacts

mutation.yml

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

Annotations

11 warnings
mutation / PHP 8.1-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation / PHP 8.1-ubuntu-latest: src/Action/SwaggerJson.php#L31
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ } public function handle(ServerRequestInterface $request) : ResponseInterface { - if (!$this->enableCache) { + if ($this->enableCache) { $openApi = $this->swaggerService->fetch($this->annotationPaths); } else { /** @var OpenApi $openApi */
mutation / PHP 8.1-ubuntu-latest: src/Action/SwaggerJson.php#L58
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ public function withCache(DateInterval|int $cacheTTL = null) : self { $new = clone $this; - $new->enableCache = true; + $new->enableCache = false; $new->cacheTTL = $cacheTTL; return $new; } }
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L24
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $keys = array_keys($params); $result = []; foreach ($keys as $key) { - $element = Html::encode($key) . ':'; + $element = ':' . Html::encode($key); if (is_array($params[$key])) { $result[] = $element . $this->format($params[$key]); continue;
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L24
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $keys = array_keys($params); $result = []; foreach ($keys as $key) { - $element = Html::encode($key) . ':'; + $element = ':'; if (is_array($params[$key])) { $result[] = $element . $this->format($params[$key]); continue;
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L24
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $keys = array_keys($params); $result = []; foreach ($keys as $key) { - $element = Html::encode($key) . ':'; + $element = Html::encode($key); if (is_array($params[$key])) { $result[] = $element . $this->format($params[$key]); continue;
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L27
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ foreach ($keys as $key) { $element = Html::encode($key) . ':'; if (is_array($params[$key])) { - $result[] = $element . $this->format($params[$key]); + $result[] = $this->format($params[$key]) . $element; continue; } $result[] = $element . '"' . Html::encode((string) $params[$key]) . '"';
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L27
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ foreach ($keys as $key) { $element = Html::encode($key) . ':'; if (is_array($params[$key])) { - $result[] = $element . $this->format($params[$key]); + $result[] = $this->format($params[$key]); continue; } $result[] = $element . '"' . Html::encode((string) $params[$key]) . '"';
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L27
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ foreach ($keys as $key) { $element = Html::encode($key) . ':'; if (is_array($params[$key])) { - $result[] = $element . $this->format($params[$key]); + $result[] = $element; continue; } $result[] = $element . '"' . Html::encode((string) $params[$key]) . '"';
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L28
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $element = Html::encode($key) . ':'; if (is_array($params[$key])) { $result[] = $element . $this->format($params[$key]); - continue; + break; } $result[] = $element . '"' . Html::encode((string) $params[$key]) . '"'; }
mutation / PHP 8.1-ubuntu-latest: src/Formatter/ParamsFormatter.php#L31
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $result[] = $element . $this->format($params[$key]); continue; } - $result[] = $element . '"' . Html::encode((string) $params[$key]) . '"'; + $result[] = '"' . $element . Html::encode((string) $params[$key]) . '"'; } return '{' . implode(', ', $result) . '}'; }