Squiz.Functions.MultiLineFunctionDeclaration reports error if php attributes are declared #608
Closed
4 tasks done
Labels
Milestone
Describe the bug
When running phpcs with a class where multiple php attributes are declared
Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine
reports an error.Code sample
Custom ruleset
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
Expected behavior
Skip Squiz.Functions.MultiLineFunctionDeclaration when its between
#[
and]
Versions (please complete the following information)
Please confirm
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: