Skip to content

CompileVisitor using the visitor pattern and CompiledInjector #258

CompileVisitor using the visitor pattern and CompiledInjector

CompileVisitor using the visitor pattern and CompiledInjector #258

Triggered via pull request November 28, 2024 14:07
Status Failure
Total duration 53s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 3 warnings
sa / ComposerRequireChecker
Process completed with exit code 1.
sa / Psalm: src/DiCompiler.php#L37
DeprecatedClass: Class Ray\Compiler\DependencyCode is marked as deprecated
sa / Psalm: src/DiCompiler.php#L43
DeprecatedClass: Class Ray\Compiler\DependencySaver is marked as deprecated
sa / Psalm: src/DiCompiler.php#L56
DeprecatedClass: Ray\Compiler\DependencyCode is marked deprecated
sa / Psalm: src/DiCompiler.php#L58
DeprecatedClass: Ray\Compiler\DependencySaver is marked deprecated
sa / Psalm: src/DiCompiler.php#L75
DeprecatedClass: Ray\Compiler\ScriptInjector is marked deprecated
sa / Psalm: src/DiCompiler.php#L85
DeprecatedClass: Class Ray\Compiler\ScriptInjector is deprecated
sa / Psalm: src/DiCompiler.php#L117
DeprecatedClass: Ray\Compiler\GraphDumper is marked deprecated
sa / Psalm: src/DiCompiler.php#L126
DeprecatedClass: Class Ray\Compiler\ScriptInjector is deprecated
sa / Psalm
Process completed with exit code 1.
sa / PHPStan: src/AirInjector.php#L84
PHPDoc tag @var with type callable(): mixed is not subtype of native type Closure(): Ray\Compiler\InjectionPoint.
sa / PHPStan: tests/ContextBindingTest.php#L11
Property Ray\Compiler\ContextBindingTest::$injector has no type specified.
sa / PHPStan: tests/ScriptInjectorTest.php#L302
Call to method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
sa / PHPStan: tests/ScriptInjectorTest.php#L302
Instanceof between Ray\Compiler\FakeCar and Ray\Compiler\FakeCar will always evaluate to true.
sa / PHPStan: tests/VisitorCompilerTest.php#L69
Call to an undefined method Ray\Di\DependencyInterface::accept().
sa / PHPStan: tests/VisitorCompilerTest.php#L93
Call to an undefined method Ray\Di\DependencyInterface::accept().
sa / PHPStan: tests/VisitorCompilerTest.php#L109
Call to an undefined method Ray\Di\DependencyInterface::accept().
sa / PHPStan: tests/VisitorCompilerTest.php#L135
Call to an undefined method Ray\Di\DependencyInterface::accept().
sa / PHPStan
Process completed with exit code 1.
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
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 `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/