Skip to content

Introducing CompileVisitor using the visitor pattern #228

Introducing CompileVisitor using the visitor pattern

Introducing CompileVisitor using the visitor pattern #228

Triggered via pull request May 27, 2024 13:59
@koriymkoriym
synchronize #112
koriym:visitor
Status Failure
Total duration 26s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
sa / PHPStan: src/AirInjector.php#L65
Method Ray\Compiler\AirInjector::getInstance() has no return type specified.
sa / PHPStan: src/AirInjector.php#L127
Result of && is always false.
sa / PHPStan: src/AirInjector.php#L127
Undefined variable: $isSingleton
sa / PHPStan: src/AirInjector.php#L127
Variable $isSingleton in isset() is never defined.
sa / PHPStan: src/AirInjector.php#L128
If condition is always false.
sa / PHPStan: src/CompileInjector.php#L24
Method Ray\Compiler\CompileInjector::getInstance() has no return type specified.
sa / PHPStan: tests/CompilerTest.php#L83
Parameter #1 $interface of method Ray\Compiler\AirInjector::getInstance() expects class-string<>, string given.
sa / PHPStan: tests/CompilerTest.php#L177
Parameter #1 $interface of method Ray\Compiler\AirInjector::getInstance() expects class-string<>, string given.
sa / PHPStan: tests/CompilerTest.php#L178
Parameter #1 $interface of method Ray\Compiler\AirInjector::getInstance() expects class-string<>, string given.
sa / PHPStan: tests/CompilerTest.php#L179
Parameter #1 $interface of method Ray\Compiler\AirInjector::getInstance() expects class-string<>, string given.
sa / ComposerRequireChecker
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 / PHPMD
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 / Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.