Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 5, 2020

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant