Skip to content

Fix: Adjust ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements#306

Merged
localheinz merged 2 commits intomainfrom
fix/use-group
Mar 16, 2026
Merged

Fix: Adjust ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements#306
localheinz merged 2 commits intomainfrom
fix/use-group

Conversation

@localheinz
Copy link
Member

@localheinz localheinz commented Mar 16, 2026

This pull request

  • adds test cases for use groups
  • adjusts ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements

@localheinz localheinz changed the title Fix: Adjust ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements Enhancement: Add test cases for use groups Mar 16, 2026
@localheinz localheinz changed the title Enhancement: Add test cases for use groups Fix: Adjust ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements Mar 16, 2026
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 71.85185% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.68%. Comparing base (7ed64e1) to head (6636517).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...mespacedSymbolsRelativeToNamespacePrefixRector.php 71.85% 38 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #306      +/-   ##
============================================
- Coverage     87.95%   84.68%   -3.28%     
- Complexity      222      254      +32     
============================================
  Files             6        6              
  Lines           822      888      +66     
============================================
+ Hits            723      752      +29     
- Misses           99      136      +37     

☔ View full report in Codecov by Sentry.
📢 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.

@localheinz localheinz merged commit 8571fb0 into main Mar 16, 2026
27 of 29 checks passed
@localheinz localheinz deleted the fix/use-group branch March 16, 2026 18:52
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.

2 participants