/** * Create a new PHP Parser Lexer instance. * * @return Lexer */ public function createLexer() { if ($this->project->getUseEmulativeParser() === true) { return new Emulative(); } return new Lexer(); }
/** * @covers ::getFilesystem */ public function testGetFilesystem() { $project = new Project(array(), array(), false); $fs = $project->getFilesystem(); $this->assertInstanceOf('Illuminate\\Filesystem\\Filesystem', $fs); }