Create New_ node without unnecessary parenthesis in PHP 8.4
#9320
-
|
How do I prevent the creation of the unnecessary parentheses around the In my custom rule, I want to create a I have the Shouldn't the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
That sounds like something PHP-Parser needs to implement when it converts the nodes back into source code... The |
Beta Was this translation helpful? Give feedback.
That sounds like something PHP-Parser needs to implement when it converts the nodes back into source code...
The
NewMethodCallWithoutParenthesesRectoris doing a lot of manual token manipulation to remove the parentheses