From 9532ac82e200c408412369d7eb85633f7ea27cf2 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate Document::createShorthands Signed-off-by: Daniel Ziegenberg a9IH@mns6DLdp# Please enter the commit message for your changes. Lines starting --- CHANGELOG.md | 1 + src/CSSList/Document.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03ba5f8d..51f0f854 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `Document::createShorthands()` (#567) - Deprecate `DeclarationBlock::expandShorthands()` (#558) ### Removed diff --git a/src/CSSList/Document.php b/src/CSSList/Document.php index bad99831..d4f2479a 100644 --- a/src/CSSList/Document.php +++ b/src/CSSList/Document.php @@ -140,6 +140,8 @@ public function expandShorthands() * Create shorthands properties whenever possible. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function createShorthands() {