From 239b1dc1b8776b2da26c8831108d2f9267a55aaf Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 18 Jun 2024 18:00:29 +0200 Subject: [PATCH] [TASK] Deprecate Document::expandShorthands Signed-off-by: Daniel Ziegenberg --- CHANGELOG.md | 1 + src/CSSList/Document.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28cbe9e3..3b210434 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `Document::expandShorthands()` (#566) - Deprecate `Document::createShorthands()` (#567) - Deprecate `DeclarationBlock::expandShorthands()` (#558) diff --git a/src/CSSList/Document.php b/src/CSSList/Document.php index 983644d4..4fc92618 100644 --- a/src/CSSList/Document.php +++ b/src/CSSList/Document.php @@ -116,6 +116,8 @@ public function getSelectorsBySpecificity($sSpecificitySearch = null) * Expands all shorthand properties to their long value. * * @return void + * + * @deprecated This will be removed without substitution in version 10.0. */ public function expandShorthands() {