From 5b4b3d53164f75349dc398b3269eb164dfab602d Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate DeclarationBlock::createFontShorthand 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 03ba5f8d..c94ea504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `DeclarationBlock::createFontShorthand()` (#580) - Deprecate `DeclarationBlock::expandShorthands()` (#558) ### Removed diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index 5254d0f8..bff9edb1 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -710,6 +710,8 @@ public function createDimensionsShorthand() * At least `font-size` AND `font-family` must be present in order to create a shorthand declaration. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function createFontShorthand() {