Skip to content

Commit 707b5cb

Browse files
authored
[TASK] Mark parsing-internal classes and methods as @internal (#674)
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. Part of #668
1 parent 6cb99d1 commit 707b5cb

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
@@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1515

1616
### Changed
1717

18+
- Mark parsing-internal classes and methods as `@internal` (#674)
1819
- Block installations on unsupported higher PHP versions (#691)
1920
- Improve performance of `Value::parseValue` with many delimiters by refactoring
2021
to remove `array_search()` (#413)

src/Parsing/Anchor.php

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

55
namespace Sabberworm\CSS\Parsing;
66

7+
/**
8+
* @internal
9+
*/
710
class Anchor
811
{
912
/**

src/Parsing/ParserState.php

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

10+
/**
11+
* @internal
12+
*/
1013
class ParserState
1114
{
1215
/**

0 commit comments

Comments
 (0)