We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should create a rule for this RFC:
https://wiki.php.net/rfc/new_without_parentheses
-$request = (new Request())->withMethod('GET')->withUri('/hello-world'); +$request = new Request()->withMethod('GET')->withUri('/hello-world');
The text was updated successfully, but these errors were encountered:
I think that need to be feature request for nikic/php-parser
Sorry, something went wrong.
I already asked in php-parser last week. This will most likely require php-paser 5, PHPStan 2 and then Rector 2 due to BC breaks.
nikic/PHP-Parser@7b0384c#commitcomment-143390979
I created downgrade PR rule first:
to allow code to be downgraded on the first place.
No branches or pull requests
Feature Request
We should create a rule for this RFC:
https://wiki.php.net/rfc/new_without_parentheses
Diff
The text was updated successfully, but these errors were encountered: