Skip to content

Commit

Permalink
Renamed ParserTest to PhpVersionAbstract
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgsowa committed May 14, 2024
1 parent af73748 commit d148abe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/PhpParser/Parser/Php7Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace PhpParser\Parser;

use PhpParser\Lexer;
use PhpParser\ParserTest;
use PhpParser\PhpVersionAbstract;

class Php7Test extends ParserTest
class Php7Test extends PhpVersionAbstract
{
protected function getParser(Lexer $lexer) {
return new Php7($lexer);
Expand Down
4 changes: 2 additions & 2 deletions test/PhpParser/Parser/Php8Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace PhpParser\Parser;

use PhpParser\Lexer;
use PhpParser\ParserTest;
use PhpParser\PhpVersionAbstract;

class Php8Test extends ParserTest
class Php8Test extends PhpVersionAbstract
{
protected function getParser(Lexer $lexer) {
return new Php8($lexer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PhpParser\Node\Scalar\String_;
use PhpParser\Node\Stmt;

abstract class ParserTest extends \PHPUnit\Framework\TestCase {
abstract class PhpVersionAbstract extends \PHPUnit\Framework\TestCase {
/** @returns Parser */
abstract protected function getParser(Lexer $lexer);

Expand Down

0 comments on commit d148abe

Please sign in to comment.