Skip to content

Commit 7fa7112

Browse files
committed
[TASK] Deprecate DeclarationBlock::createFontShorthand
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent 49262ad commit 7fa7112

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

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

1919
### Deprecated
2020

21+
- Deprecate `DeclarationBlock::createFontShorthand()` (#580)
22+
2123
### Removed
2224

2325
- Drop support for PHP < 7.2 (#420)

src/RuleSet/DeclarationBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,8 @@ public function createDimensionsShorthand()
720720
* At least `font-size` AND `font-family` must be present in order to create a shorthand declaration.
721721
*
722722
* @return void
723+
*
724+
* @deprecated This will be removed without substitution in version 10.0.
723725
*/
724726
public function createFontShorthand()
725727
{

0 commit comments

Comments
 (0)