Skip to content

NewClosures: downgrade "$this found in closure outside class" to warning#536

Merged
wimg merged 1 commit intomasterfrom
feature/issue-527-this-outside-class
Nov 22, 2017
Merged

NewClosures: downgrade "$this found in closure outside class" to warning#536
wimg merged 1 commit intomasterfrom
feature/issue-527-this-outside-class

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Nov 14, 2017

... and adjust the error message to mention bindTo().

Includes slight adjustments to the unit tests to document why this change was made.

This is an implementation of option 2 as mentioned in #527 (comment)

Fixes #527

... and adjust the error message to mention `bindTo()`.

Includes slight adjustments to the unit tests to document why this change was made.

Fixes 527
@wimg wimg merged commit 4ba7f88 into master Nov 22, 2017
@wimg wimg deleted the feature/issue-527-this-outside-class branch November 22, 2017 22:56
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.

2 participants