-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Formatting\ReturnTypeSniff to use new type of token for parenthesis
Since [PHP_CodeSniffer 3.10.0](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.10.0) parenthesis token has been changed to: - T_TYPE_OPEN_PARENTHESIS (from T_OPEN_PARENTHESIS) - T_TYPE_CLOSE_PARENTHESIS (from 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.
- Loading branch information
1 parent
341543c
commit dd59bb2
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters