Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants