Skip to content

Conversation

@oliverklee
Copy link
Collaborator

These classes are intended to be instantiated only from within this library.

Fixes #858

These classes are intended to be instantiated only from within
this library.

Fixes #858
@coveralls
Copy link

Coverage Status

coverage: 49.156%. remained the same
when pulling b7f8553 on task/internal-constructors
into f7914f8 on main.

Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a valid change. The library allows manipulation of the parsed CSS, including adding to it, which would require constructing new objects of various types - see https://github.com/MyIntervals/PHP-CSS-Parser#manipulation.

@oliverklee
Copy link
Collaborator Author

Ah, you're right … closing.

@oliverklee oliverklee closed this Feb 9, 2025
@oliverklee oliverklee deleted the task/internal-constructors branch February 9, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make constructors of CSS elements @internal

4 participants