,error_levels?:string[]}> */ public function providerValidCodeParse() { return [ 'undefinedClass' => [ 'barBar()->bat()->baz()->bam()->bas()->bee()->bet()->bes()->bis(); } }', ], 'undefinedClassOneLine' => [ ' [ ' [ ' [], 'error_levels' => ['UndefinedFunction'], ], 'crossClosureBoundariesOnFunction' => [ ' [ ' [ ' [ ' */ public function providerInvalidCodeParse() { return [ 'undefinedClassOneLineWithLineAfter' => [ ' 'UndefinedClass - src' . DIRECTORY_SEPARATOR . 'somefile.php:8:33 - Class or interface C', ], 'undefinedClassOneLineInFileAfter' => [ ' 'UndefinedClass - src' . DIRECTORY_SEPARATOR . 'somefile.php:6:25 - Class or interface C', ], 'missingParamTypeShouldntPreventUndefinedClassError' => [ ' 'UndefinedClass', ], ]; } }