Skip to content

Commit

Permalink
[TASK] Deprecate DeclarationBlock::createShorthands (MyIntervals#569)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Ziegenberg <[email protected]>
  • Loading branch information
ziegenberg authored Jun 19, 2024
1 parent 9310f23 commit ea00840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Deprecated

- Deprecate `DeclarationBlock::createShorthands()` (#569)
- Deprecate `Document::expandShorthands()` (#566)
- Deprecate `Document::createShorthands()` (#567)
- Deprecate `DeclarationBlock::expandShorthands()` (#558)
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ public function expandShorthands()
* Creates shorthand declarations (e.g. `margin` or `font`) whenever possible.
*
* @return void
*
* @deprecated This will be removed without substitution in version 10.0.
*/
public function createShorthands()
{
Expand Down

0 comments on commit ea00840

Please sign in to comment.