Skip to content

Update shivammathur/setup-php action to v2.31.1 #229

Update shivammathur/setup-php action to v2.31.1

Update shivammathur/setup-php action to v2.31.1 #229

Triggered via pull request January 15, 2024 12:00
Status Success
Total duration 39s
Artifacts

test.yml

on: pull_request
Matrix: Infection mutation testing
Matrix: PHPStan static analysis
Matrix: Psalm static analysis
Matrix: PHP-CS-Fixer coding standards
Matrix: PHPUnit unit tests
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Infection mutation testing (8.0): src/ActionContainer.php#L45
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ try { if ($this->factories[$id] instanceof Closure) { /** @var Action $action */ - $action = call_user_func_array($this->factories[$id], [$this->serviceContainer]); + $action = call_user_func_array($this->factories[$id], []); } else { /** @psalm-suppress MixedMethodCall */ $actionOrFactory = new $this->factories[$id]();
Infection mutation testing (8.0): src/Application.php#L27
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ * @phpstan-ignore-next-line * @psalm-suppress PossiblyInvalidCast */ - $name = (string) ($_GET['action'] ?? 'index'); + $name = $_GET['action'] ?? 'index'; $response = $this->actionContainer->get($name)->run(); } catch (Exception $ex) { $errorAction = new ErrorAction($ex);
Infection mutation testing (8.0): src/Application.php#L31
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $response = $this->actionContainer->get($name)->run(); } catch (Exception $ex) { $errorAction = new ErrorAction($ex); - $errorAction->setViewFolder($this->viewFolder); + $response = $errorAction->run(); } return $response; } }
Infection mutation testing (8.0): src/RenderableTrait.php#L37
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ extract($args); ob_start(); require $viewFile; - $content = (string) ob_get_contents(); + $content = ob_get_contents(); ob_end_clean(); return new Response($content); } }
Infection mutation testing (8.0): src/ServiceContainer.php#L40
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ try { if ($this->factories[$id] instanceof Closure) { /** @var object $service */ - $service = call_user_func_array($this->factories[$id], [$this]); + $service = call_user_func_array($this->factories[$id], []); } else { /** @psalm-suppress MixedMethodCall */ $serviceOrFactory = new $this->factories[$id]();