Skip to content

Commit

Permalink
[TASK] Deprecate DeclarationBlock::createFontShorthand
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
  • Loading branch information
ziegenberg committed Jun 18, 2024
1 parent b979dc8 commit 5b4b3d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Deprecated

- Deprecate `DeclarationBlock::createFontShorthand()` (#580)
- Deprecate `DeclarationBlock::expandShorthands()` (#558)

### Removed
Expand Down
2 changes: 2 additions & 0 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 5b4b3d5

Please sign in to comment.