Skip to content

Commit

Permalink
[TASK] Deprecate DeclarationBlock::expandShorthands (MyIntervals#558)
Browse files Browse the repository at this point in the history
The `expandShorthands`/`createShorthands` functions are deprecated and
will be removed without substitution in version 10.0.  Expanding and
creating the shorthand notation is out of the scope of this library.

Signed-off-by: Daniel Ziegenberg <[email protected]>
  • Loading branch information
ziegenberg authored Jun 18, 2024
1 parent 0ff08fa commit b979dc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Deprecated

- Deprecate `DeclarationBlock::expandShorthands()` (#558)

### Removed

- Remove `DeclarationBlock::setSelector()` (#560)
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ public function getSelectors()
* Splits shorthand declarations (e.g. `margin` or `font`) into their constituent parts.
*
* @return void
*
* @deprecated This will be removed without substitution in version 10.0.
*/
public function expandShorthands()
{
Expand Down

0 comments on commit b979dc8

Please sign in to comment.