-
Notifications
You must be signed in to change notification settings - Fork 0
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
PrintableNewAnonClassNode.php from PHP-Parser #26
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is autogenerated code-style review, new suggestions: 3
public $stmts; | ||
|
||
public function __construct( | ||
array $args, Node\Name $extends = null, array $implements, array $stmts, array $attributes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array $args, Node\Name $extends = null, array $implements, array $stmts, array $attributes | |
array $args, | |
Node\Name $extends = null, | |
array $implements, | |
array $stmts, | |
array $attributes |
This comment was generated with the following checker: PHP-CS-Fixer
// We don't assert that $class->name is null here, to allow consumers to assign unique names | ||
// to anonymous classes for their own purposes. We simplify ignore the name here. | ||
return new self( | ||
$newNode->args, $class->extends, $class->implements, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$newNode->args, $class->extends, $class->implements, | |
$newNode->args, |
This comment was generated with the following checker: PHP-CS-Fixer
// to anonymous classes for their own purposes. We simplify ignore the name here. | ||
return new self( | ||
$newNode->args, $class->extends, $class->implements, | ||
$class->stmts, $newNode->getAttributes() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$class->stmts, $newNode->getAttributes() | |
$class->extends, | |
$class->implements, | |
$class->stmts, | |
$newNode->getAttributes() |
This comment was generated with the following checker: PHP-CS-Fixer
lib/PhpParser/Internal/PrintableNewAnonClassNode.php from https://github.com/nikic/PHP-Parser/blob/90ee36a/lib/PhpParser/Internal/PrintableNewAnonClassNode.php