Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Deprecated

- Deprecate `::atRuleArgs()` (#1191)
- Support for PHP < 7.2 is deprecated; version 9.0 will require PHP 7.2 or later
(#1264)
- Passing a `string` or `null` to `RuleSet::removeRule()` is deprecated
Expand Down
2 changes: 2 additions & 0 deletions src/CSSList/AtRuleBlockList.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public function atRuleName()

/**
* @return string
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getter instead.
*/
public function atRuleArgs()
{
Expand Down
2 changes: 2 additions & 0 deletions src/CSSList/KeyFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public function atRuleName()

/**
* @return string|null
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getter instead.
*/
public function atRuleArgs()
{
Expand Down
2 changes: 2 additions & 0 deletions src/Property/AtRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public function atRuleName();

/**
* @return string|null
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getter(s) instead.
*/
public function atRuleArgs();
}
2 changes: 2 additions & 0 deletions src/Property/CSSNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ public function atRuleName()

/**
* @return array<int, string>
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getters instead.
*/
public function atRuleArgs()
{
Expand Down
2 changes: 2 additions & 0 deletions src/Property/Charset.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ public function atRuleName()

/**
* @return string
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getter instead.
*/
public function atRuleArgs()
{
Expand Down
2 changes: 2 additions & 0 deletions src/Property/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public function atRuleName()

/**
* @return array<int, URL|string>
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getters instead.
*/
public function atRuleArgs()
{
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/AtRuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public function atRuleName()

/**
* @return string
*
* @deprecated since V8.9.0, will be removed in version 9.0.0. Use the specific getter instead.
*/
public function atRuleArgs()
{
Expand Down