Replies: 2 comments 11 replies
|
@sabberworm, @oliverklee, your input and/or agreement would be welcome, particularly regarding |
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Several
RuleSetmethods currently accept astringor aRule(ornull):getRules;getRulesAssoc;removeRule.For static analysis, it would be good to avoid this overloading.
getRulesFrom the PHPDoc:
Does this shortcut have much value, or could we deprecate passing a
Rulewithout offering an alternative?getRulesAssocFrom the PHPDoc:
Can we deprecate and remove it?
removeRuleThis method seems to provide two distinct functions, depending on whether a
stringor aRuleis passed. I think we should create a separate method for one or the other, with the alternative parameter being deprecated in the original.Question is, which alternative parameter should be deprecated (and moved to the new method)?
I think the most common usage of the original method should be retained. But I don't know what that is...
All reactions