Skip to content

Commit 8e4e373

Browse files
authored
[TASK] State since which version code is @internal/@deprecated (#723)
This will help us avoid breaking things in backports. This is the v8.x backport of #722.
1 parent da556df commit 8e4e373

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

src/CSSList/Document.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function getSelectorsBySpecificity($sSpecificitySearch = null)
129129
*
130130
* @return void
131131
*
132-
* @deprecated This will be removed without substitution in version 9.0 in #511.
132+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
133133
*/
134134
public function expandShorthands()
135135
{
@@ -143,7 +143,7 @@ public function expandShorthands()
143143
*
144144
* @return void
145145
*
146-
* @deprecated This will be removed without substitution in version 9.0 in #511.
146+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
147147
*/
148148
public function createShorthands()
149149
{

src/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct($sText, Settings $oParserSettings = null, $iLineNo =
3636
*
3737
* @return void
3838
*
39-
* @deprecated will be removed in version 9.0.0 with #687
39+
* @deprecated since 8.7.0, will be removed in version 9.0.0 with #687
4040
*/
4141
public function setCharset($sCharset)
4242
{
@@ -48,7 +48,7 @@ public function setCharset($sCharset)
4848
*
4949
* @return void
5050
*
51-
* @deprecated will be removed in version 9.0.0 with #687
51+
* @deprecated since 8.7.0, will be removed in version 9.0.0 with #687
5252
*/
5353
public function getCharset()
5454
{

src/Parsing/Anchor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Sabberworm\CSS\Parsing;
44

55
/**
6-
* @internal
6+
* @internal since 8.7.0
77
*/
88
class Anchor
99
{

src/Parsing/ParserState.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
use Sabberworm\CSS\Settings;
77

88
/**
9-
* @internal
9+
* @internal since 8.7.0
1010
*/
1111
class ParserState
1212
{
1313
/**
1414
* @var null
1515
*
16-
* @internal
16+
* @internal since 8.5.2
1717
*/
1818
const EOF = null;
1919

src/Property/AtRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface AtRule extends Renderable, Commentable
1313
*
1414
* @var string
1515
*
16-
* @internal
16+
* @internal since 8.5.2
1717
*/
1818
const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values';
1919

@@ -22,7 +22,7 @@ interface AtRule extends Renderable, Commentable
2222
*
2323
* @var string
2424
*
25-
* @internal
25+
* @internal since 8.5.2
2626
*/
2727
const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation';
2828

src/Property/KeyframeSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class KeyframeSelector extends Selector
99
*
1010
* @var string
1111
*
12-
* @internal
12+
* @internal since 8.5.2
1313
*/
1414
const SELECTOR_VALIDATION_RX = '/
1515
^(

src/Property/Selector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Selector
5454
*
5555
* @var string
5656
*
57-
* @internal
57+
* @internal since 8.5.2
5858
*/
5959
const SELECTOR_VALIDATION_RX = '/
6060
^(

src/RuleSet/DeclarationBlock.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function getSelectors()
182182
*
183183
* @return void
184184
*
185-
* @deprecated This will be removed without substitution in version 9.0 in #511.
185+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
186186
*/
187187
public function expandShorthands()
188188
{
@@ -199,7 +199,7 @@ public function expandShorthands()
199199
*
200200
* @return void
201201
*
202-
* @deprecated This will be removed without substitution in version 9.0 in #511.
202+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
203203
*/
204204
public function createShorthands()
205205
{
@@ -220,7 +220,7 @@ public function createShorthands()
220220
*
221221
* @return void
222222
*
223-
* @deprecated This will be removed without substitution in version 9.0 in #511.
223+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
224224
*/
225225
public function expandBorderShorthand()
226226
{
@@ -283,7 +283,7 @@ public function expandBorderShorthand()
283283
*
284284
* @return void
285285
*
286-
* @deprecated This will be removed without substitution in version 9.0 in #511.
286+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
287287
*/
288288
public function expandDimensionsShorthand()
289289
{
@@ -345,7 +345,7 @@ public function expandDimensionsShorthand()
345345
*
346346
* @return void
347347
*
348-
* @deprecated This will be removed without substitution in version 9.0 in #511.
348+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
349349
*/
350350
public function expandFontShorthand()
351351
{
@@ -417,7 +417,7 @@ public function expandFontShorthand()
417417
*
418418
* @return void
419419
*
420-
* @deprecated This will be removed without substitution in version 9.0 in #511.
420+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
421421
*/
422422
public function expandBackgroundShorthand()
423423
{
@@ -491,7 +491,7 @@ public function expandBackgroundShorthand()
491491
/**
492492
* @return void
493493
*
494-
* @deprecated This will be removed without substitution in version 9.0 in #511.
494+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
495495
*/
496496
public function expandListStyleShorthand()
497497
{
@@ -576,7 +576,7 @@ public function expandListStyleShorthand()
576576
*
577577
* @return void
578578
*
579-
* @deprecated This will be removed without substitution in version 9.0 in #511.
579+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
580580
*/
581581
public function createShorthandProperties(array $aProperties, $sShorthand)
582582
{
@@ -614,7 +614,7 @@ public function createShorthandProperties(array $aProperties, $sShorthand)
614614
/**
615615
* @return void
616616
*
617-
* @deprecated This will be removed without substitution in version 9.0 in #511.
617+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
618618
*/
619619
public function createBackgroundShorthand()
620620
{
@@ -631,7 +631,7 @@ public function createBackgroundShorthand()
631631
/**
632632
* @return void
633633
*
634-
* @deprecated This will be removed without substitution in version 9.0 in #511.
634+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
635635
*/
636636
public function createListStyleShorthand()
637637
{
@@ -650,7 +650,7 @@ public function createListStyleShorthand()
650650
*
651651
* @return void
652652
*
653-
* @deprecated This will be removed without substitution in version 9.0 in #511.
653+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
654654
*/
655655
public function createBorderShorthand()
656656
{
@@ -669,7 +669,7 @@ public function createBorderShorthand()
669669
*
670670
* @return void
671671
*
672-
* @deprecated This will be removed without substitution in version 9.0 in #511.
672+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
673673
*/
674674
public function createDimensionsShorthand()
675675
{
@@ -745,7 +745,7 @@ public function createDimensionsShorthand()
745745
*
746746
* @return void
747747
*
748-
* @deprecated This will be removed without substitution in version 9.0 in #511.
748+
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
749749
*/
750750
public function createFontShorthand()
751751
{

0 commit comments

Comments
 (0)