Skip to content

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite references relative to current namespace when file has only prefix import#327

Merged
localheinz merged 2 commits intomainfrom
fix/rewrite
Mar 22, 2026
Merged

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite references relative to current namespace when file has only prefix import#327
localheinz merged 2 commits intomainfrom
fix/rewrite

Conversation

@localheinz
Copy link
Member

@localheinz localheinz commented Mar 22, 2026

This pull request

  • asserts that Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector rewrites references relative to current namespace when file has only prefix import
  • adjusts Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite references relative to current namespace when file has only prefix import

@localheinz localheinz self-assigned this Mar 22, 2026
@codecov
Copy link

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.64%. Comparing base (c1ab0a6) to head (686ba9d).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #327      +/-   ##
============================================
+ Coverage     78.54%   78.64%   +0.10%     
- Complexity      410      413       +3     
============================================
  Files            10       10              
  Lines          1482     1489       +7     
============================================
+ Hits           1164     1171       +7     
  Misses          318      318              

☔ 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.

…mespacePrefixRector rewrites references relative to current namespace when file has only prefix import
…Rector to rewrite references relative to current namespace when file has only prefix import
@localheinz localheinz merged commit f7267dd into main Mar 22, 2026
27 checks passed
@localheinz localheinz deleted the fix/rewrite branch March 22, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants