Skip to content

Commit 108bd8f

Browse files
committed
[TASK] Mark parsing-internal classes and methods as @internal
Code that uses this library is not expected to call internal parsing functionality. Communicate this with the corresponding `@internal` annotation. This allows us to boldly refactor the parser code. This is the backport of #674. Part of #668
1 parent 592f416 commit 108bd8f

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111

1212
### Changed
1313

14+
- Mark parsing-internal classes and methods as `@internal` (#711)
1415
- Block installations on unsupported higher PHP versions (#691)
1516

1617
### Deprecated

src/Parsing/Anchor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Sabberworm\CSS\Parsing;
44

5+
/**
6+
* @internal
7+
*/
58
class Anchor
69
{
710
/**

src/Parsing/ParserState.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use Sabberworm\CSS\Comment\Comment;
66
use Sabberworm\CSS\Settings;
77

8+
/**
9+
* @internal
10+
*/
811
class ParserState
912
{
1013
/**

0 commit comments

Comments
 (0)