Skip to content

Commit 2ff10be

Browse files
committed
[TASK] Deprecate DeclarationBlock::createBackgroundShorthand
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent 49262ad commit 2ff10be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

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

1919
### Deprecated
2020

21+
- Deprecate the `DeclarationBlock::createBackgroundShorthand()` (#576)
22+
2123
### Removed
2224

2325
- Drop support for PHP < 7.2 (#420)

src/RuleSet/DeclarationBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ public function createShorthandProperties(array $aProperties, $sShorthand)
597597

598598
/**
599599
* @return void
600+
*
601+
* @deprecated This will be removed without substitution in version 10.0.
600602
*/
601603
public function createBackgroundShorthand()
602604
{

0 commit comments

Comments
 (0)