Skip to content

Update CI workflow for PHP versions #215

Update CI workflow for PHP versions

Update CI workflow for PHP versions #215

Triggered via pull request January 4, 2025 22:01
@koriymkoriym
synchronize #17
php84
Status Failure
Total duration 58s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 7 warnings
sa / PHPStan: src/Halo/HaloRenderer.php#L263
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
sa / PHPStan: src/Halo/HaloRenderer.php#L264
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, mixed given.
sa / PHPStan: src/Halo/HaloRenderer.php#L266
Part $interceptor (mixed) of encapsed string cannot be cast to string.
sa / PHPStan: src/Halo/TemplateLocator.php#L71
Cannot access property $name on Ray\Aop\ReflectionClass<object>|false.
sa / PHPStan: src/Http/CreateResponse.php#L24
Method BEAR\Dev\Http\CreateResponse::__invoke() has parameter $output with no value type specified in iterable type array.
sa / PHPStan: src/Http/CreateResponse.php#L38
Cannot cast mixed to string.
sa / PHPStan: src/Http/CreateResponse.php#L58
Parameter #1 $headers of method BEAR\Dev\Http\CreateResponse::getHeaders() expects array<string>, list<mixed> given.
sa / PHPStan: src/Http/CreateResponse.php#L61
Parameter #1 $body of method BEAR\Dev\Http\CreateResponse::getJsonView() expects array<string>, list given.
sa / PHPStan: src/Http/CreateResponse.php#L105
Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, 'strlen' given.
sa / PHPStan: src/Http/HttpResource.php#L243
Cannot access offset 1 on mixed.
sa / Psalm: src/DevInvoker.php#L82
InvalidPropertyAssignmentValue: $resource->headers with declared type 'array<string, string>' cannot be assigned type 'non-empty-array<string, array<string, string>|string>'
sa / Psalm: src/Halo/TemplateLocator.php#L71
PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $parentClass of type false
sa / Psalm: src/Http/HttpResource.php#L260
ForbiddenCode: Unsafe var_dump
sa / Psalm
Process completed with exit code 1.
sa / PHPMD
Process completed with exit code 2.
sa / ComposerRequireChecker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
sa / ComposerRequireChecker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
sa / Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
sa / Psalm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / PHPMD
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
sa / PHPMD
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/