From 15248a7b629348541e01190acc0b1090d933eb32 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate DeclarationBlock::createDimensionsShorthand 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 4072a9bc..f6c7a2b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `DeclarationBlock::createDimensionsShorthand()` (#579) - Deprecate `DeclarationBlock::createListStyleShorthand()` (#577) - Deprecate the `DeclarationBlock::createBackgroundShorthand()` (#576) - Deprecate `DeclarationBlock::createShorthandProperties()` (#575) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index 45bd50de..dbec44c1 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -641,6 +641,8 @@ public function createBorderShorthand() * and converts them into shorthand CSS properties. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function createDimensionsShorthand() {