Skip to content

HGSTACK-938 new hooks #19

HGSTACK-938 new hooks

HGSTACK-938 new hooks #19

Triggered via pull request December 13, 2024 13:02
Status Failure
Total duration 34s
Artifacts

static_analysis.yml

on: pull_request
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
phpstan: src/Action/CheckLinter.php#L38
Method Netgen\GitHooks\Action\CheckLinter::checkLinter() has parameter $directories with no value type specified in iterable type array.
phpstan: src/Action/CheckPrettier.php#L32
Parameter #1 $patterns of method Symfony\Component\Finder\Finder::name() expects array<string>|string, array<int, string>|string|null given.
phpstan: src/Action/CheckPrettier.php#L45
Only booleans are allowed in a ternary operator condition, mixed given.
phpstan
Process completed with exit code 1.
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636