From 84e226f841037bc734476830aaf5610c00702d15 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate DeclarationBlock::expandDimensionsShorthand 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 a9e17e583..f40b13a97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `DeclarationBlock::expandDimensionsShorthand()` (#571) - Deprecate `DeclarationBlock::expandBorderShorthand()` (#570) - Deprecate `DeclarationBlock::createShorthands()` (#569) - Deprecate `Document::expandShorthands()` (#566) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index 6d60d212f..4ae77ffe4 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -257,6 +257,8 @@ public function expandBorderShorthand() * Handles `margin`, `padding`, `border-color`, `border-style` and `border-width`. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function expandDimensionsShorthand() {