Skip to content

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

Update shivammathur/setup-php action to v2.31.1

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

Triggered via pull request June 3, 2024 11:20
Status Success
Total duration 37s
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

12 warnings
PHPUnit unit tests (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit unit tests (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP-CS-Fixer coding standards (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit unit tests (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan static analysis (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Psalm static analysis (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Infection mutation testing (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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]();