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
PHP CS Fixer 3.5.0 The Creation by Fabien Potencier and Dariusz Ruminski. PHP runtime: 8.0.14
<?php /** * @param int $value This is a comment. * @param string ...$values This is information. */ function test(int $value, string ...$values) { }
is changed to
<?php /** * @param int $value This is a comment. */ function test(int $value, string ...$values) { }
The text was updated successfully, but these errors were encountered:
<?php /** * @param int $value This is a comment. * @param $second This is information. */ function test($value, &$second) { }
is also converted to
<?php /** * @param int $value This is a comment. */ function test($value, &$second) { }
Sorry, something went wrong.
Just hit this myself just now. It's doing the same thing for &$param
&$param
Indeed, #6241 addresses both, reference and splat operator.
5a463a5
Successfully merging a pull request may close this issue.
Bug report
PHP CS Fixer 3.5.0 The Creation by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.0.14
Code snippet that reproduces the problem
is changed to
The text was updated successfully, but these errors were encountered: