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

Minor improvements to RemovedGlobalVariables sniff. #182

Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 17, 2016

  • No need to loop through the array, just checking with isset will suffice.
  • Code simplification & strict checking.

* No need to loop through the array, just checking with isset will suffice.
* Code simplification & strict checking.
@wimg wimg merged commit 8a327d5 into PHPCompatibility:master Aug 17, 2016
@wimg
Copy link
Member

wimg commented Aug 17, 2016

What was I thinking ? ;-)

@jrfnl jrfnl deleted the feature/improve-removed-global-vars branch August 18, 2016 03:54
@jrfnl jrfnl added this to the 7.0.3 milestone Apr 30, 2017
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.

None yet

2 participants