Skip to content

Update rector/rector requirement from 1.0.* to ^1.2 (#267) #824

Update rector/rector requirement from 1.0.* to ^1.2 (#267)

Update rector/rector requirement from 1.0.* to ^1.2 (#267) #824

Triggered via push July 2, 2024 11:41
Status Success
Total duration 1m 16s
Artifacts

mutation.yml

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

Annotations

10 warnings
mutation / PHP 8.3-ubuntu-latest: src/Cache/CachedContent.php#L66
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ * * @return string The rendered cached content. */ - public function cache(string $content, DateInterval|int|null $ttl = 60, Dependency|null $dependency = null, float $beta = 1.0) : string + public function cache(string $content, DateInterval|int|null $ttl = 59, Dependency|null $dependency = null, float $beta = 1.0) : string { /** @psalm-suppress MixedArgument */ return $this->replaceDynamicPlaceholders($this->cache->getOrSet($this->cacheKey(), static fn(): string => $content, $ttl, $dependency, $beta));
mutation / PHP 8.3-ubuntu-latest: src/Cache/CachedContent.php#L66
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ * * @return string The rendered cached content. */ - public function cache(string $content, DateInterval|int|null $ttl = 60, Dependency|null $dependency = null, float $beta = 1.0) : string + public function cache(string $content, DateInterval|int|null $ttl = 61, Dependency|null $dependency = null, float $beta = 1.0) : string { /** @psalm-suppress MixedArgument */ return $this->replaceDynamicPlaceholders($this->cache->getOrSet($this->cacheKey(), static fn(): string => $content, $ttl, $dependency, $beta));
mutation / PHP 8.3-ubuntu-latest: src/Cache/CachedContent.php#L68
Escaped Mutant for Mutator "OneZeroFloat": --- Original +++ New @@ @@ * * @return string The rendered cached content. */ - public function cache(string $content, DateInterval|int|null $ttl = 60, Dependency|null $dependency = null, float $beta = 1.0) : string + public function cache(string $content, DateInterval|int|null $ttl = 60, Dependency|null $dependency = null, float $beta = 0.0) : string { /** @psalm-suppress MixedArgument */ return $this->replaceDynamicPlaceholders($this->cache->getOrSet($this->cacheKey(), static fn(): string => $content, $ttl, $dependency, $beta));
mutation / PHP 8.3-ubuntu-latest: src/PhpTemplateRenderer.php#L33
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ }; $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.3-ubuntu-latest: src/PhpTemplateRenderer.php#L33
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ }; $obInitialLevel = ob_get_level(); ob_start(); - ob_implicit_flush(false); + try { /** @psalm-suppress PossiblyInvalidFunctionCall,PossiblyNullFunctionCall */ $renderer->bindTo($view)($template, $parameters);
mutation / PHP 8.3-ubuntu-latest: src/State/WebViewState.php#L637
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (!is_string($key)) { throw new InvalidArgumentException(sprintf('JS variable name should be string. Got %s.', get_debug_type($key))); } - 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.3-ubuntu-latest: src/View.php#L66
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ public function beginPage() : void { ob_start(); - ob_implicit_flush(false); + ob_implicit_flush(true); $this->eventDispatcher?->dispatch(new PageBegin($this)); } /**
mutation / PHP 8.3-ubuntu-latest: src/View.php#L66
Escaped Mutant for Mutator "FunctionCallRemoval": --- Original +++ New @@ @@ public function beginPage() : void { ob_start(); - ob_implicit_flush(false); + $this->eventDispatcher?->dispatch(new PageBegin($this)); } /**
mutation / PHP 8.3-ubuntu-latest: src/ViewTrait.php#L130
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ public function withFallbackExtension(string $fallbackExtension, string ...$otherFallbacks) : static { $new = clone $this; - $new->fallbackExtensions = [$fallbackExtension, ...array_values($otherFallbacks)]; + $new->fallbackExtensions = [$fallbackExtension, ...$otherFallbacks]; return $new; } /**
mutation / PHP 8.3-ubuntu-latest: src/ViewTrait.php#L233
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * * @return string[] The fallback view file extension. */ - public function getFallbackExtensions() : array + protected function getFallbackExtensions() : array { return $this->fallbackExtensions; }