Skip to content

Commit ac749a9

Browse files
committed
[TASK] Deprecate DeclarationBlock::createBackgroundShorthand
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent 9eeb2be commit ac749a9

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 the `DeclarationBlock::createBackgroundShorthand()` (#576)
2122
- Deprecate `DeclarationBlock::createShorthandProperties()` (#575)
2223
- Deprecate `DeclarationBlock::expandListStyleShorthand()` (#574)
2324
- Deprecate `DeclarationBlock::expandBackgroundShorthand()` (#573)

src/RuleSet/DeclarationBlock.php

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

589589
/**
590590
* @return void
591+
*
592+
* @deprecated This will be removed without substitution in version 10.0.
591593
*/
592594
public function createBackgroundShorthand()
593595
{

0 commit comments

Comments
 (0)