Skip to content

[TASK] Add Selector::parse() - #1475

Merged
oliverklee merged 3 commits into
mainfrom
task/selector-parse
Jan 23, 2026
Merged

[TASK] Add Selector::parse()#1475
oliverklee merged 3 commits into
mainfrom
task/selector-parse

Conversation

@JakeQZ

@JakeQZ JakeQZ commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator

The implementation is based on DeclarationBlock::parseSelector(), which will be updated to use this instead in #1470.

Part of #1325.

The implementation is based on `DeclarationBlock::parseSelector()`, which will
be updated to use this instead in #1470.

Part of #1325.
@JakeQZ
JakeQZ requested a review from oliverklee January 23, 2026 14:44
@JakeQZ JakeQZ self-assigned this Jan 23, 2026
@JakeQZ JakeQZ added the refactor For PRs that refactor code without changing functionality label Jan 23, 2026
@coveralls

coveralls commented Jan 23, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 71.554% (+0.7%) from 70.819%
when pulling 9bcb181 on task/selector-parse
into 7983af6 on main.

Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread tests/Unit/Property/SelectorTest.php
Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread tests/Unit/Property/SelectorTest.php
@JakeQZ
JakeQZ requested a review from oliverklee January 23, 2026 17:23
Comment thread tests/Unit/Property/SelectorTest.php

@oliverklee oliverklee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The code looks quite good. Just a few smaller nits.

Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread tests/Unit/Property/SelectorTest.php Outdated
Comment thread src/Property/Selector.php
Add default case for switch statement.
@JakeQZ
JakeQZ requested a review from oliverklee January 23, 2026 18:51
@oliverklee
oliverklee merged commit ae80d04 into main Jan 23, 2026
24 checks passed
@oliverklee
oliverklee deleted the task/selector-parse branch January 23, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor For PRs that refactor code without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants