Skip to content

Add phpdoc type annotations for psalm #511

Add phpdoc type annotations for psalm

Add phpdoc type annotations for psalm #511

Triggered via pull request November 3, 2024 17:19
Status Failure
Total duration 31s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
sa / Psalm: src/PeclAspect.php#L57
MixedPropertyTypeCoercion: $this->matchers expects 'array<array-key, array{classMatcher: Ray\Aop\AbstractMatcher, interceptors: array<array-key, Ray\Aop\MethodInterceptor>, methodMatcher: Ray\Aop\AbstractMatcher}>', parent type `array<array-key, mixed>` provided
sa / Psalm: src/PeclAspect.php#L58
MixedPropertyTypeCoercion: $this->bound expects 'array<class-string, array<string, array<array-key, Ray\Aop\MethodInterceptor>>>', parent type `array<array-key, mixed>` provided
sa / Psalm
Process completed with exit code 1.
sa / PHPMD
Process completed with exit code 2.
sa / PHPStan: src/PeclAspect.php#L55
Method Ray\Aop\PeclAspect::__construct() has parameter $bound with no value type specified in iterable type array.
sa / PHPStan: src/PeclAspect.php#L55
Method Ray\Aop\PeclAspect::__construct() has parameter $matchers with no value type specified in iterable type array.
sa / PHPStan: src/PeclAspect.php#L200
Method Ray\Aop\PeclAspect::createBind() is unused.
sa / PHPStan
Process completed with exit code 1.
sa / ComposerRequireChecker
The following actions use a deprecated Node.js version 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/
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 / Psalm
The following actions use a deprecated Node.js version 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/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/
sa / PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/