Replies: 2 comments 11 replies
-
|
@sabberworm, @oliverklee, your input and/or agreement would be welcome, particularly regarding |
Beta Was this translation helpful? Give feedback.
11 replies
-
|
PRs #1248, #1249, #1254, #1253 and #1255 implemented the proposed plan. #1251 and #1252 were backports for deprecation and replacements. Further tests were added for |
Beta Was this translation helpful? Give feedback.
0 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...
Beta Was this translation helpful? Give feedback.
All reactions