mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-03 18:07:58 +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 Php7Test extends ParserTest {
|
|
protected function getParser(Lexer $lexer) {
|
|
return new Php7($lexer);
|
|
}
|
|
}
|