Skip to content

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite partially-qualified names when forceRelativeReferences is enabled#326

Merged
localheinz merged 3 commits intomainfrom
fix/force-relative-references
Mar 20, 2026
Merged

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite partially-qualified names when forceRelativeReferences is enabled#326
localheinz merged 3 commits intomainfrom
fix/force-relative-references

Conversation

@localheinz
Copy link
Member

@localheinz localheinz commented Mar 20, 2026

This pull request

  • asserts that Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector rewrites partially-qualified names when forceRelativeReferences is enabled
  • adjusts Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite partially-qualified names when forceRelativeReferences is enabled

@localheinz localheinz self-assigned this Mar 20, 2026
…mespacePrefixRector rewrites partially-qualified names when forceRelativeReferences is enabled
@localheinz localheinz force-pushed the fix/force-relative-references branch from 7a9cb86 to 892d9e0 Compare March 20, 2026 22:58
…Rector to rewrite partially-qualified names when forceRelativeReferences is enabled
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

❌ Patch coverage is 75.25773% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.54%. Comparing base (8620726) to head (b7d467e).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...mespacedSymbolsRelativeToNamespacePrefixRector.php 75.25% 24 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #326      +/-   ##
============================================
- Coverage     78.76%   78.54%   -0.22%     
- Complexity      376      410      +34     
============================================
  Files            10       10              
  Lines          1389     1482      +93     
============================================
+ Hits           1094     1164      +70     
- Misses          295      318      +23     

☔ 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 force-pushed the fix/force-relative-references branch from ad0e5c5 to b7d467e Compare March 20, 2026 23:12
@localheinz localheinz merged commit fb5e6ff into main Mar 20, 2026
27 checks passed
@localheinz localheinz deleted the fix/force-relative-references branch March 20, 2026 23:13
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