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

Add Sniff to reported unused variables passed to closures #73

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

carusogabriel
Copy link
Contributor

No description provided.

@carusogabriel carusogabriel added this to the 5.0.0 milestone Aug 27, 2018
@carusogabriel carusogabriel self-assigned this Aug 27, 2018
@@ -0,0 +1,17 @@
<?php
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created a new test file to help us test future unused variables in functions scopes 👍

alcaeus
alcaeus previously approved these changes Aug 27, 2018
malarzm
malarzm previously approved these changes Aug 27, 2018
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requires a rebase

@Ocramius Ocramius assigned Ocramius and unassigned carusogabriel Aug 28, 2018
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@Ocramius Ocramius merged commit 21caffd into master Aug 28, 2018
@Ocramius Ocramius deleted the unused-variables-closures branch August 28, 2018 11:36
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

5 participants