mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-15 10:57:11 +01:00
d8312a09a3
And run the other stuff against Php5 and Php7 parsers. Also move canonicalize() from CodeTestAbstract into a free-standing function.
15 lines
256 B
PHP
15 lines
256 B
PHP
<?php
|
|
|
|
namespace PhpParser\Parser;
|
|
|
|
use PhpParser\Lexer;
|
|
use PhpParser\ParserTest;
|
|
|
|
require_once __DIR__ . '/../ParserTest.php';
|
|
|
|
class Php5Test extends ParserTest {
|
|
protected function getParser(Lexer $lexer) {
|
|
return new Php5($lexer);
|
|
}
|
|
}
|