Skip to content

Add support for yiisoft/html version ^4.0 #953

Add support for yiisoft/html version ^4.0

Add support for yiisoft/html version ^4.0 #953

Triggered via pull request March 18, 2026 08:11
@vjikvjik
synchronize #305
html4
Status Success
Total duration 2m 35s
Artifacts

mutation.yml

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

Annotations

11 warnings
mutation / PHP 8.5-ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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 {