Skip to content

Commit a2cb47f

Browse files
committed
[TASK] Deprecate DeclarationBlock::createShorthands
Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent 9310f23 commit a2cb47f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1818

1919
### Deprecated
2020

21+
- Deprecate `DeclarationBlock::createShorthands()` (#569)
2122
- Deprecate `Document::expandShorthands()` (#566)
2223
- Deprecate `Document::createShorthands()` (#567)
2324
- Deprecate `DeclarationBlock::expandShorthands()` (#558)

src/RuleSet/DeclarationBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ public function expandShorthands()
175175
* Creates shorthand declarations (e.g. `margin` or `font`) whenever possible.
176176
*
177177
* @return void
178+
*
179+
* @deprecated This will be removed without substitution in version 10.0.
178180
*/
179181
public function createShorthands()
180182
{

0 commit comments

Comments
 (0)