Skip to content

[TASK] Mark the shorthand expansion as to be removed earlier #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/CSSList/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function getSelectorsBySpecificity($sSpecificitySearch = null)
/**
* Expands all shorthand properties to their long value.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandShorthands(): void
{
Expand All @@ -126,7 +126,7 @@ public function expandShorthands(): void
/**
* Create shorthands properties whenever possible.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createShorthands(): void
{
Expand Down
26 changes: 13 additions & 13 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function getSelectors()
/**
* Splits shorthand declarations (e.g. `margin` or `font`) into their constituent parts.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandShorthands(): void
{
Expand All @@ -172,7 +172,7 @@ public function expandShorthands(): void
/**
* Creates shorthand declarations (e.g. `margin` or `font`) whenever possible.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createShorthands(): void
{
Expand All @@ -191,7 +191,7 @@ public function createShorthands(): void
*
* Multiple borders are not yet supported as of 3.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandBorderShorthand(): void
{
Expand Down Expand Up @@ -252,7 +252,7 @@ public function expandBorderShorthand(): void
*
* Handles `margin`, `padding`, `border-color`, `border-style` and `border-width`.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandDimensionsShorthand(): void
{
Expand Down Expand Up @@ -312,7 +312,7 @@ public function expandDimensionsShorthand(): void
* (e.g. `font: 300 italic 11px/14px verdana, helvetica, sans-serif;`)
* into their constituent parts.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandFontShorthand(): void
{
Expand Down Expand Up @@ -381,7 +381,7 @@ public function expandFontShorthand(): void
*
* @see http://www.w3.org/TR/21/colors.html#propdef-background
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandBackgroundShorthand(): void
{
Expand Down Expand Up @@ -453,7 +453,7 @@ public function expandBackgroundShorthand(): void
}

/**
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function expandListStyleShorthand(): void
{
Expand Down Expand Up @@ -536,7 +536,7 @@ public function expandListStyleShorthand(): void
* @param array<array-key, string> $aProperties
* @param string $sShorthand
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createShorthandProperties(array $aProperties, $sShorthand): void
{
Expand Down Expand Up @@ -572,7 +572,7 @@ public function createShorthandProperties(array $aProperties, $sShorthand): void
}

/**
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createBackgroundShorthand(): void
{
Expand All @@ -587,7 +587,7 @@ public function createBackgroundShorthand(): void
}

/**
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createListStyleShorthand(): void
{
Expand All @@ -604,7 +604,7 @@ public function createListStyleShorthand(): void
*
* Should be run after `create_dimensions_shorthand`!
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createBorderShorthand(): void
{
Expand All @@ -621,7 +621,7 @@ public function createBorderShorthand(): void
* (margin, padding, border-color, border-style and border-width)
* and converts them into shorthand CSS properties.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createDimensionsShorthand(): void
{
Expand Down Expand Up @@ -695,7 +695,7 @@ public function createDimensionsShorthand(): void
*
* At least `font-size` AND `font-family` must be present in order to create a shorthand declaration.
*
* @deprecated This will be removed without substitution in version 10.0.
* @deprecated This will be removed without substitution in version 9.0 in #511.
*/
public function createFontShorthand(): void
{
Expand Down