Skip to content

Match selectors against the nodes in hand, not their descendants - #72

Draft
jakejackson1 wants to merge 2 commits into
mainfrom
fix-selector-matching
Draft

Match selectors against the nodes in hand, not their descendants#72
jakejackson1 wants to merge 2 commits into
mainfrom
fix-selector-matching

Filter collected sets in one pass, and stop sorting quadratically

c54f283
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 21, 2026 in 0s

89.57% (+0.12%) compared to 296d828

View this Pull Request on Codecov

89.57% (+0.12%) compared to 296d828

Details

Codecov Report

❌ Patch coverage is 94.33962% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.57%. Comparing base (296d828) to head (c54f283).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/CSS/DOMTraverser/Util.php 86.84% 5 Missing ⚠️
src/Helpers/NodeMatcher.php 95.23% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #72      +/-   ##
============================================
+ Coverage     89.44%   89.57%   +0.12%     
- Complexity     1342     1366      +24     
============================================
  Files            26       27       +1     
  Lines          3023     3070      +47     
============================================
+ Hits           2704     2750      +46     
- Misses          319      320       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.