Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Feb 14, 2020

Can't find any use of this method anywhere in the code base anymore, so it may as well be removed.

Can't find any use of this method anywhere in the code base anymore, so it may as well be removed.
@jrfnl
Copy link
Collaborator Author

jrfnl commented Feb 14, 2020

@sirbrillig Note: you may want to wait with merging this for the next major release as it could be considered a BC break.

@sirbrillig
Copy link
Owner

it could be considered a BC break.

How's that? If it's not used...

@jrfnl
Copy link
Collaborator Author

jrfnl commented Feb 14, 2020

it could be considered a BC break.

How's that? If it's not used...

Not used within this code base.

But it's a public method, so could be used by a package which has this repo as a dependency.

@sirbrillig
Copy link
Owner

Good point! But it's not part of the sniff's public API and not in the documentation, so I'd consider anyone relying on anything inside Helpers here to be relying on private details anyway and therefore hopefully they will have been careful to pin their version.

@sirbrillig sirbrillig merged commit 3bce0fb into sirbrillig:master Feb 17, 2020
@jrfnl jrfnl deleted the feature/remove-unused-method-areanyconditionsaclosure branch February 18, 2020 00:06
@jrfnl
Copy link
Collaborator Author

jrfnl commented Feb 18, 2020

Fair point. Just do me a favour and do mention the removal in the changelog for the next release.

sirbrillig pushed a commit that referenced this pull request May 25, 2020
Can't find any use of this method anywhere in the code base anymore, so it may as well be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants