Skip to content

Change final class to class #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/voku/SimplePhpParser/Model/PHPTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use ReflectionClass;
use voku\SimplePhpParser\Parsers\Helper\Utils;

final class PHPTrait extends BasePHPClass
class PHPTrait extends BasePHPClass
{
/**
* @phpstan-var class-string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use phpDocumentor\Reflection\DocBlockFactory;

final class DocFactoryProvider
class DocFactoryProvider
{
private static ?DocBlockFactory $docFactory = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PhpParser\Error;
use PhpParser\ErrorHandler;

final class ParserErrorHandler extends ErrorHandler\Collecting
class ParserErrorHandler extends ErrorHandler\Collecting
{
/**
* Handle an error generated during lexing, parsing or some other operation.
Expand Down
2 changes: 1 addition & 1 deletion src/voku/SimplePhpParser/Parsers/Helper/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use ReflectionClass;
use ReflectionFunction;

final class Utils
class Utils
{
public const GET_PHP_PARSER_VALUE_FROM_NODE_HELPER = '!!!_SIMPLE_PHP_CODE_PARSER_HELPER_!!!';

Expand Down
2 changes: 1 addition & 1 deletion src/voku/SimplePhpParser/Parsers/PhpCodeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use function React\Async\await;
use function React\Promise\all;

final class PhpCodeParser
class PhpCodeParser
{
/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion src/voku/SimplePhpParser/Parsers/Visitors/ASTVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use voku\SimplePhpParser\Parsers\Helper\ParserContainer;
use voku\SimplePhpParser\Parsers\Helper\Utils;

final class ASTVisitor extends NodeVisitorAbstract
class ASTVisitor extends NodeVisitorAbstract
{
/**
* @var string|null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* The visitor is required to provide "parent" attribute to nodes
*/
final class ParentConnector extends NodeVisitorAbstract
class ParentConnector extends NodeVisitorAbstract
{
/**
* @var Node[]
Expand Down