Skip to content

[TASK] Mark parsing-internal classes and methods as @internal #674

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 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Do not mark the exceptions as internal anymore
  • Loading branch information
oliverklee committed Sep 5, 2024
commit c826324d8c73690b87ff589928c98bf15e4b0afd
2 changes: 0 additions & 2 deletions src/Parsing/OutputException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Thrown if the CSS parser attempts to print something invalid.
*
* @internal
*/
class OutputException extends SourceException
{
Expand Down
3 changes: 0 additions & 3 deletions src/Parsing/SourceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Sabberworm\CSS\Parsing;

/**
* @internal
*/
class SourceException extends \Exception
{
/**
Expand Down
2 changes: 0 additions & 2 deletions src/Parsing/UnexpectedEOFException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
* Thrown if the CSS parser encounters end of file it did not expect.
*
* Extends `UnexpectedTokenException` in order to preserve backwards compatibility.
*
* @internal
*/
class UnexpectedEOFException extends UnexpectedTokenException {}
2 changes: 0 additions & 2 deletions src/Parsing/UnexpectedTokenException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Thrown if the CSS parser encounters a token it did not expect.
*
* @internal
*/
class UnexpectedTokenException extends SourceException
{
Expand Down