Skip to content

Replace StyleCI to PHP CS Fixer #945

Replace StyleCI to PHP CS Fixer

Replace StyleCI to PHP CS Fixer #945

Triggered via pull request January 24, 2026 12:11
@vjikvjik
synchronize #302
cs-fix
Status Success
Total duration 2m 2s
Artifacts

mutation.yml

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

Annotations

10 warnings
mutation / PHP 8.5-ubuntu-latest: src/View.php#L79
Escaped Mutant for Mutator "FalseValue": @@ @@ public function beginPage(): void { ob_start(); - ob_implicit_flush(false); + ob_implicit_flush(true); $this->eventDispatcher?->dispatch(new PageBegin($this)); }
mutation / PHP 8.5-ubuntu-latest: src/Theme.php#L133
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function applyTo(string $path): string { if ($this->pathMap === []) { - return $path; + } $path = FileHelper::normalizePath($path);
mutation / PHP 8.5-ubuntu-latest: src/State/WebViewState.php#L636
Escaped Mutant for Mutator "IncrementInteger": @@ @@ ); } - if (!array_key_exists(1, $config)) { + if (!array_key_exists(2, $config)) { throw new InvalidArgumentException('Do not set JS variable value.'); } /** @var mixed */
mutation / PHP 8.5-ubuntu-latest: src/State/WebViewState.php#L577
Escaped Mutant for Mutator "CastInt": @@ @@ ); } - $position = (int) ($config[1] ?? WebView::POSITION_END); + $position = $config[1] ?? WebView::POSITION_END; unset($config[0], $config[1]); $this->registerJsFile($file, $position, $config, $key);
mutation / PHP 8.5-ubuntu-latest: src/State/WebViewState.php#L502
Escaped Mutant for Mutator "CastInt": @@ @@ ); } - $position = (int) ($config[1] ?? WebView::POSITION_HEAD); + $position = $config[1] ?? WebView::POSITION_HEAD; unset($config[0], $config[1]); $this->registerCssFile($file, $position, $config, $key);
mutation / PHP 8.5-ubuntu-latest: src/PhpTemplateRenderer.php#L35
Escaped Mutant for Mutator "FunctionCallRemoval": @@ @@ $obInitialLevel = ob_get_level(); ob_start(); - ob_implicit_flush(false); + try { /** @psalm-suppress PossiblyInvalidFunctionCall,PossiblyNullFunctionCall */ $renderer->bindTo($view)($template, $parameters);
mutation / PHP 8.5-ubuntu-latest: src/PhpTemplateRenderer.php#L35
Escaped Mutant for Mutator "FalseValue": @@ @@ $obInitialLevel = ob_get_level(); ob_start(); - ob_implicit_flush(false); + ob_implicit_flush(true); try { /** @psalm-suppress PossiblyInvalidFunctionCall,PossiblyNullFunctionCall */ $renderer->bindTo($view)($template, $parameters);
mutation / PHP 8.5-ubuntu-latest: src/Cache/CachedContent.php#L65
Escaped Mutant for Mutator "OneZeroFloat": @@ @@ string $content, DateInterval|int|null $ttl = 60, ?Dependency $dependency = null, - float $beta = 1.0, + float $beta = 0.0, ): string { /** @psalm-suppress MixedArgument */ return $this->replaceDynamicPlaceholders(
mutation / PHP 8.5-ubuntu-latest: src/Cache/CachedContent.php#L63
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ public function cache( string $content, - DateInterval|int|null $ttl = 60, + DateInterval|int|null $ttl = 61, ?Dependency $dependency = null, float $beta = 1.0, ): string {
mutation / PHP 8.5-ubuntu-latest: src/Cache/CachedContent.php#L63
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ public function cache( string $content, - DateInterval|int|null $ttl = 60, + DateInterval|int|null $ttl = 59, ?Dependency $dependency = null, float $beta = 1.0, ): string {