From 48a2305a749fc7532145bab13b65a4c315c91af7 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate DeclarationBlock::expandFontShorthand 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 f40b13a9..fa29d7d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `DeclarationBlock::expandFontShorthand()` (#572) - Deprecate `DeclarationBlock::expandDimensionsShorthand()` (#571) - Deprecate `DeclarationBlock::expandBorderShorthand()` (#570) - Deprecate `DeclarationBlock::createShorthands()` (#569) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index 4ae77ffe..5840a087 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -319,6 +319,8 @@ public function expandDimensionsShorthand() * into their constituent parts. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function expandFontShorthand() {