Skip to content

Commit

Permalink
Renamed PhpVersionAbstract to ParserTestAbstract
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgsowa committed Jun 2, 2024
1 parent 402f714 commit 0b2f165
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\PhpVersionAbstract;
use PhpParser\ParserTestAbstract;

class Php7Test extends PhpVersionAbstract
class Php7Test extends ParserTestAbstract
{
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\PhpVersionAbstract;
use PhpParser\ParserTestAbstract;

class Php8Test extends PhpVersionAbstract
class Php8Test extends ParserTestAbstract
{
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 PhpVersionAbstract extends \PHPUnit\Framework\TestCase {
abstract class ParserTestAbstract extends \PHPUnit\Framework\TestCase {
/** @returns Parser */
abstract protected function getParser(Lexer $lexer);

Expand Down

0 comments on commit 0b2f165

Please sign in to comment.