Skip to content

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

Update shivammathur/setup-php action to v2.31.1

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

Triggered via pull request July 9, 2024 18:56
Status Success
Total duration 31s
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.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP-CS-Fixer coding standards (8.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit unit tests (8.1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit unit tests (8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan static analysis (8.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Psalm static analysis (8.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Infection mutation testing (8.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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]();