-
Notifications
You must be signed in to change notification settings - Fork 143
[TASK] Deprecate ::atRuleArgs()
#1191
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
base: v8.x
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the classes don't have equivalent alternative getters, so we should add these first.
I've made a suggestion for the deprecation note for the interface
.
src/CSSList/AtRuleBlockList.php
Outdated
@@ -42,6 +42,8 @@ public function atRuleName() | |||
|
|||
/** | |||
* @return string | |||
* | |||
* @deprecated since V8.8.0, will be removed in version 9.0.0. Use the specific getter instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class doesn't have a specific getter for $arguments
, so one will need to be added first.
src/Property/Charset.php
Outdated
@@ -103,6 +103,8 @@ public function atRuleName() | |||
|
|||
/** | |||
* @return string | |||
* | |||
* @deprecated since V8.8.0, will be removed in version 9.0.0. Use the specific getter instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't have a getter for the CSSString
object property, only one that returns a native string
. I wonder if we should first add a getter for the CSSString
.
src/RuleSet/AtRuleSet.php
Outdated
@@ -45,6 +45,8 @@ public function atRuleName() | |||
|
|||
/** | |||
* @return string | |||
* | |||
* @deprecated since V8.8.0, will be removed in version 9.0.0. Use the specific getter instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't have a specific getter for the $arguments
property, so we should add one first.
749bbb7
to
1ade62f
Compare
1ade62f
to
5517093
Compare
These methods - are not used internally - are redundant to the existing getters - have wildly different return types across classes, which reduces the usefulness of the general method
5517093
to
aefa0d4
Compare
These methods