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 - closure return by reference not recognized #142

Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 31, 2020

The & in a closure declared to return by reference was not recognized as a reference.

Fixed now.

Includes unit test.

The same fix has also been pulled upstream: squizlabs/PHP_CodeSniffer#2977

…ecognized

The `&` in a closure declared to return by reference was not recognized as a reference.

Fixed now.

Includes unit test.

The same fix has also been pulled upstream: squizlabs/php_codesniffer 2977
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone May 31, 2020
@jrfnl jrfnl merged commit 66a48e9 into develop May 31, 2020
@jrfnl jrfnl deleted the feature/operators-isreference-bugfix-closure-return-by-ref branch May 31, 2020 00:52
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