Skip to content

Remove getElementsByTagNameNS() for cases which can never find a element#1119

Merged
sebastianbergmann merged 1 commit intosebastianbergmann:mainfrom
staabm:rm
Nov 20, 2025
Merged

Remove getElementsByTagNameNS() for cases which can never find a element#1119
sebastianbergmann merged 1 commit intosebastianbergmann:mainfrom
staabm:rm

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Nov 20, 2025

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.61%. Comparing base (d8bf935) to head (af65ff8).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1119      +/-   ##
============================================
- Coverage     88.63%   88.61%   -0.03%     
+ Complexity     1398     1396       -2     
============================================
  Files           105      105              
  Lines          4795     4785      -10     
============================================
- Hits           4250     4240      -10     
  Misses          545      545              

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


public function tests(): Tests
{
$testsNode = $this->contextNode()->getElementsByTagNameNS(
Copy link
Copy Markdown
Contributor Author

@staabm staabm Nov 20, 2025

Choose a reason for hiding this comment

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

we call this method on a document, which at this point of time cannot already contain a <tests> element.

@sebastianbergmann sebastianbergmann merged commit b9d130a into sebastianbergmann:main Nov 20, 2025
16 checks passed
@staabm staabm deleted the rm branch November 20, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants