Closed asprega closed 7 years ago
Thank you for your report.
Fixed in https://github.com/slevomat/coding-standard/commit/86281005e0f0d38365ec3362db0fb8113821ea51.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am using version 2.4.4 of the coding standard, with phpcs 2.9.1.
Ruleset: <?xml version="1.0"?>
results in:
NOTE: If I remove $param3, the same error is found for $param2. Looks like it only happens for the last parameter of the list. Not sure if related to the nullability or to the default value.
This seems related to #165 (BTW, thanks for fixing that and providing a tagged release so quickly!), probably an uncovered edge case.