CompileVisitor using the visitor pattern and CompiledInjector #258
Annotations
9 errors
Run PHPStan:
src/AirInjector.php#L84
PHPDoc tag @var with type callable(): mixed is not subtype of native type Closure(): Ray\Compiler\InjectionPoint.
|
Run PHPStan:
tests/ContextBindingTest.php#L11
Property Ray\Compiler\ContextBindingTest::$injector has no type specified.
|
Run PHPStan:
tests/ScriptInjectorTest.php#L302
Call to method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
|
Run PHPStan:
tests/ScriptInjectorTest.php#L302
Instanceof between Ray\Compiler\FakeCar and Ray\Compiler\FakeCar will always evaluate to true.
|
Run PHPStan:
tests/VisitorCompilerTest.php#L69
Call to an undefined method Ray\Di\DependencyInterface::accept().
|
Run PHPStan:
tests/VisitorCompilerTest.php#L93
Call to an undefined method Ray\Di\DependencyInterface::accept().
|
Run PHPStan:
tests/VisitorCompilerTest.php#L109
Call to an undefined method Ray\Di\DependencyInterface::accept().
|
Run PHPStan:
tests/VisitorCompilerTest.php#L135
Call to an undefined method Ray\Di\DependencyInterface::accept().
|
Run PHPStan
Process completed with exit code 1.
|
Loading