class SomeClassTest extends Test
{
public function test()
{
$obj = new \SomeClass();
}
}
LSP returns an error Undefined type SomeClass. It's interesting that LSP can find other classes that in the global namespace, including classes in the same directory that some_class.php file is. It's 40k lines long, btw, perhaps that's an issue?
Hey. I'm facing with an issue when LS couldn't find a class in the workspace.
My code structure:
some_class.php:
SomeClassTest.php:
LSP returns an error
Undefined type SomeClass
. It's interesting that LSP can find other classes that in the global namespace, including classes in the same directory thatsome_class.php
file is. It's 40k lines long, btw, perhaps that's an issue?Can you please help me to resolve this issue?