Skip to content

Operators::isReference(): bug fix - arrow function params passed by reference#192

Merged
jrfnl merged 1 commit into
developfrom
feature/operators-isreference-fix-arrowfunctions-pass-by-reference
Sep 5, 2020
Merged

Operators::isReference(): bug fix - arrow function params passed by reference#192
jrfnl merged 1 commit into
developfrom
feature/operators-isreference-fix-arrowfunctions-pass-by-reference

Conversation

@jrfnl

@jrfnl jrfnl commented Sep 5, 2020

Copy link
Copy Markdown
Member

The bitwise and & for parameters passed by reference in an arrow function declaration were incorrectly not recognized as references.

Includes unit test.

Refs:

…eference

The bitwise and `&` for parameters passed by reference in an arrow function declaration were incorrectly not recognized as references.

Includes unit test.

Refs:
* Issue: squizlabs/PHP_CodeSniffer 3049
* PR: squizlabs/PHP_CodeSniffer 3103
@jrfnl jrfnl merged commit e012cce into develop Sep 5, 2020
@jrfnl jrfnl deleted the feature/operators-isreference-fix-arrowfunctions-pass-by-reference branch September 5, 2020 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant