From ac749a9f1bf91efc8d55a70691a5f5fc8abbe054 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate DeclarationBlock::createBackgroundShorthand Signed-off-by: Daniel Ziegenberg --- CHANGELOG.md | 1 + src/RuleSet/DeclarationBlock.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed3f28e2..3a8d85ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate the `DeclarationBlock::createBackgroundShorthand()` (#576) - Deprecate `DeclarationBlock::createShorthandProperties()` (#575) - Deprecate `DeclarationBlock::expandListStyleShorthand()` (#574) - Deprecate `DeclarationBlock::expandBackgroundShorthand()` (#573) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index f7923367..8f817694 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -588,6 +588,8 @@ public function createShorthandProperties(array $aProperties, $sShorthand) /** * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function createBackgroundShorthand() {