Skip to content

Commit 7b18d5a

Browse files
authored
Merge branch 'main' into remove-deprecated-rule-getvalues
2 parents c0f577d + 8a6c5c7 commit 7b18d5a

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2323
### Removed
2424

2525
- Remove `Rule::getValues()` (#563)
26+
- Remove `Rule::setValues()` (#562)
27+
- Remove `Document::getAllSelectors()` (#561)
28+
- Remove `DeclarationBlock::getSelector()` (#559)
2629
- Remove `DeclarationBlock::setSelector()` (#560)
2730
- Drop support for PHP < 7.2 (#420)
2831

src/CSSList/Document.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ public function getAllDeclarationBlocks()
5050
return $aResult;
5151
}
5252

53-
/**
54-
* Gets all `DeclarationBlock` objects recursively.
55-
*
56-
* @return array<int, DeclarationBlock>
57-
*
58-
* @deprecated will be removed in version 9.0; use `getAllDeclarationBlocks()` instead
59-
*/
60-
public function getAllSelectors()
61-
{
62-
return $this->getAllDeclarationBlocks();
63-
}
64-
6553
/**
6654
* Returns all `RuleSet` objects recursively found in the tree, no matter how deeply nested the rule sets are.
6755
*

src/RuleSet/DeclarationBlock.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,6 @@ public function removeSelector($mSelector)
146146
return false;
147147
}
148148

149-
/**
150-
* @return array<int, Selector|string>
151-
*
152-
* @deprecated will be removed in version 9.0; use `getSelectors()` instead
153-
*/
154-
public function getSelector()
155-
{
156-
return $this->getSelectors();
157-
}
158-
159-
160149
/**
161150
* @return array<int, Selector|string>
162151
*/

0 commit comments

Comments
 (0)