Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Feb 14, 2020

PHP ignores comments in unexpected/unconventional places and so should the sniff.

Includes adjusting an existing unit test.

Without the fix, the adjusted unit test would cause test failures.

@jrfnl jrfnl changed the title VariableAnalysisSniff::checkForFunctionPrototype(): fix comment toler… VariableAnalysisSniff::checkForFunctionPrototype(): fix comment tolerance in pass by reference declaration Feb 14, 2020
…ance in pass by reference declaration

PHP ignores comments in unexpected/unconventional places and so should the sniff.

Includes adjusting an existing unit test.

Without the fix, the adjusted unit test would cause test failures.
@jrfnl jrfnl force-pushed the feature/checkforfunctionprototype-fix-comment-tolerance-1 branch from ec97477 to d5cbde5 Compare February 14, 2020 02:10
@sirbrillig sirbrillig merged commit 0bd16bc into sirbrillig:master Feb 14, 2020
@jrfnl jrfnl deleted the feature/checkforfunctionprototype-fix-comment-tolerance-1 branch February 14, 2020 19:56
sirbrillig pushed a commit that referenced this pull request May 25, 2020
…ance in pass by reference declaration (#144)

PHP ignores comments in unexpected/unconventional places and so should the sniff.

Includes adjusting an existing unit test.

Without the fix, the adjusted unit test would cause test failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants