Skip to content

Extract PECL code from Aspect to PeclAspect #556

Extract PECL code from Aspect to PeclAspect

Extract PECL code from Aspect to PeclAspect #556

Triggered via pull request November 4, 2024 12:49
Status Failure
Total duration 34s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 7 warnings
sa / Psalm: src/ClassList.php#L67
MoreSpecificReturnType: The declared return type 'Generator<mixed, class-string, mixed, mixed>' for Ray\Aop\ClassList::getIterator is more specific than the inferred return type 'Generator<int, string, mixed, void>'
sa / Psalm
Process completed with exit code 1.
sa / PHPStan: src/AspectPecl.php#L19
Used function method_intercept not found.
sa / PHPStan: src/ClassList.php#L29
Parameter #1 $code of function token_get_all expects string, string|false given.
sa / PHPStan: src/ClassList.php#L85
Generator expects value type class-string, string given.
sa / PHPStan: tests/ClassListTest.php#L33
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
sa / PHPStan
Process completed with exit code 1.
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 / 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 / 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/