Skip to content

Commit b5cf3a3

Browse files
authored
[TASK] Deprecate DeclarationBlock::createFontShorthand (#580)
1 parent 11a91c4 commit b5cf3a3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1818

1919
### Deprecated
2020

21+
- Deprecate `DeclarationBlock::createFontShorthand()` (#580)
2122
- Deprecate `DeclarationBlock::createDimensionsShorthand()` (#579)
2223
- Deprecate `DeclarationBlock::createListStyleShorthand()` (#577)
2324
- Deprecate the `DeclarationBlock::createBackgroundShorthand()` (#576)

src/RuleSet/DeclarationBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,8 @@ public function createDimensionsShorthand()
717717
* At least `font-size` AND `font-family` must be present in order to create a shorthand declaration.
718718
*
719719
* @return void
720+
*
721+
* @deprecated This will be removed without substitution in version 10.0.
720722
*/
721723
public function createFontShorthand()
722724
{

0 commit comments

Comments
 (0)