Closed michalbundyra closed 1 month ago
Since PHP_CodeSniffer 3.10.0 parenthesis token has been changed to:
T_TYPE_OPEN_PARENTHESIS
T_OPEN_PARENTHESIS
T_TYPE_CLOSE_PARENTHESIS
T_CLOSE_PARENTHESIS
and therefore the sniff did not work correctly for composite return type declarations.
Bump minimum PHP_CodeSniffer version to 3.10.3 so the new tokens are defined.
Since PHP_CodeSniffer 3.10.0 parenthesis token has been changed to:
T_TYPE_OPEN_PARENTHESIS
(fromT_OPEN_PARENTHESIS
)T_TYPE_CLOSE_PARENTHESIS
(fromT_CLOSE_PARENTHESIS
)and therefore the sniff did not work correctly for composite return type declarations.
Bump minimum PHP_CodeSniffer version to 3.10.3 so the new tokens are defined.