Skip to content

[TASK] State since which version code is @internal/@deprecated #723

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 19, 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 @@ -129,7 +129,7 @@ public function getSelectorsBySpecificity($sSpecificitySearch = null)
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandShorthands()
{
Expand All @@ -143,7 +143,7 @@ public function expandShorthands()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createShorthands()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct($sText, Settings $oParserSettings = null, $iLineNo =
*
* @return void
*
* @deprecated will be removed in version 9.0.0 with #687
* @deprecated since 8.7.0, will be removed in version 9.0.0 with #687
*/
public function setCharset($sCharset)
{
Expand All @@ -48,7 +48,7 @@ public function setCharset($sCharset)
*
* @return void
*
* @deprecated will be removed in version 9.0.0 with #687
* @deprecated since 8.7.0, will be removed in version 9.0.0 with #687
*/
public function getCharset()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parsing/Anchor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Sabberworm\CSS\Parsing;

/**
* @internal
* @internal since 8.7.0
*/
class Anchor
{
Expand Down
4 changes: 2 additions & 2 deletions src/Parsing/ParserState.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
use Sabberworm\CSS\Settings;

/**
* @internal
* @internal since 8.7.0
*/
class ParserState
{
/**
* @var null
*
* @internal
* @internal since 8.5.2
*/
const EOF = null;

Expand Down
4 changes: 2 additions & 2 deletions src/Property/AtRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface AtRule extends Renderable, Commentable
*
* @var string
*
* @internal
* @internal since 8.5.2
*/
const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values';

Expand All @@ -22,7 +22,7 @@ interface AtRule extends Renderable, Commentable
*
* @var string
*
* @internal
* @internal since 8.5.2
*/
const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation';

Expand Down
2 changes: 1 addition & 1 deletion src/Property/KeyframeSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class KeyframeSelector extends Selector
*
* @var string
*
* @internal
* @internal since 8.5.2
*/
const SELECTOR_VALIDATION_RX = '/
^(
Expand Down
2 changes: 1 addition & 1 deletion src/Property/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Selector
*
* @var string
*
* @internal
* @internal since 8.5.2
*/
const SELECTOR_VALIDATION_RX = '/
^(
Expand Down
26 changes: 13 additions & 13 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function getSelectors()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandShorthands()
{
Expand All @@ -199,7 +199,7 @@ public function expandShorthands()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createShorthands()
{
Expand All @@ -220,7 +220,7 @@ public function createShorthands()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandBorderShorthand()
{
Expand Down Expand Up @@ -283,7 +283,7 @@ public function expandBorderShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandDimensionsShorthand()
{
Expand Down Expand Up @@ -345,7 +345,7 @@ public function expandDimensionsShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandFontShorthand()
{
Expand Down Expand Up @@ -417,7 +417,7 @@ public function expandFontShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandBackgroundShorthand()
{
Expand Down Expand Up @@ -491,7 +491,7 @@ public function expandBackgroundShorthand()
/**
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function expandListStyleShorthand()
{
Expand Down Expand Up @@ -576,7 +576,7 @@ public function expandListStyleShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createShorthandProperties(array $aProperties, $sShorthand)
{
Expand Down Expand Up @@ -614,7 +614,7 @@ public function createShorthandProperties(array $aProperties, $sShorthand)
/**
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createBackgroundShorthand()
{
Expand All @@ -631,7 +631,7 @@ public function createBackgroundShorthand()
/**
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createListStyleShorthand()
{
Expand All @@ -650,7 +650,7 @@ public function createListStyleShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createBorderShorthand()
{
Expand All @@ -669,7 +669,7 @@ public function createBorderShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createDimensionsShorthand()
{
Expand Down Expand Up @@ -745,7 +745,7 @@ public function createDimensionsShorthand()
*
* @return void
*
* @deprecated This will be removed without substitution in version 9.0 in #511.
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
*/
public function createFontShorthand()
{
Expand Down