Skip to content

Conversation

@thewilkybarkid
Copy link
Contributor

Added example to the test for Squiz.WhiteSpace.FunctionSpacing which has a problem with this (refs libero/php-coding-standard#30).

@gsherwood gsherwood added this to the 3.4.0 milestone Nov 1, 2018
@gsherwood gsherwood changed the title Stop function and const in use groups being tokenised as T_FUNCTION and T_CONST FUNCTION and CONST in use groups being tokenised as T_FUNCTION and T_CONST Nov 1, 2018
@gsherwood gsherwood merged commit 7f6abea into squizlabs:master Nov 1, 2018
gsherwood added a commit that referenced this pull request Nov 1, 2018
@gsherwood
Copy link
Member

Thanks for fixing those token

@thewilkybarkid thewilkybarkid deleted the use-group-function-const branch November 1, 2018 21:54
wmfgerrit pushed a commit to wikimedia/mediawiki-tools-codesniffer that referenced this pull request May 12, 2020
phpcs was fixed upstream with 3.4.0

Fixed bug #2212 : FUNCTION and CONST in use groups being tokenised as
T_FUNCTION and T_CONST

link: squizlabs/PHP_CodeSniffer#2212

Change-Id: Id6894e52a0f3347c4e7d4432e46a8689d6a447c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants