diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c7a2b4..b22417e2 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::createDimensionsShorthand()` (#579) - Deprecate `DeclarationBlock::createListStyleShorthand()` (#577) - Deprecate the `DeclarationBlock::createBackgroundShorthand()` (#576) diff --git a/src/RuleSet/DeclarationBlock.php b/src/RuleSet/DeclarationBlock.php index dbec44c1..50796df8 100644 --- a/src/RuleSet/DeclarationBlock.php +++ b/src/RuleSet/DeclarationBlock.php @@ -717,6 +717,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() {