Skip to content

Enhancement: Add forceRelativeReferences option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to force relative references#315

Merged
localheinz merged 1 commit intomainfrom
feature/force-relative-reference
Mar 18, 2026
Merged

Enhancement: Add forceRelativeReferences option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to force relative references#315
localheinz merged 1 commit intomainfrom
feature/force-relative-reference

Conversation

@localheinz
Copy link
Member

@localheinz localheinz commented Mar 18, 2026

This pull request

  • adds forceRelativeReferences configuration option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to force relative references even when the file namespace matches the prefix

@localheinz localheinz changed the title Enhancement: Add forceRelativeReferences to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector Enhancement: Add forceRelativeReferences option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to force relative references Mar 18, 2026
@localheinz localheinz self-assigned this Mar 18, 2026
@localheinz localheinz force-pushed the feature/force-relative-reference branch from 9215272 to 3659a4a Compare March 18, 2026 10:55
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

❌ Patch coverage is 53.57143% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.91%. Comparing base (bfbd4a7) to head (5f1c75c).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...mespacedSymbolsRelativeToNamespacePrefixRector.php 53.57% 13 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #315      +/-   ##
============================================
- Coverage     79.52%   78.91%   -0.62%     
- Complexity      339      342       +3     
============================================
  Files            10       10              
  Lines          1260     1285      +25     
============================================
+ Hits           1002     1014      +12     
- Misses          258      271      +13     

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

…SymbolsRelativeToNamespacePrefixRector to force relative references
@localheinz localheinz force-pushed the feature/force-relative-reference branch from 3659a4a to 5f1c75c Compare March 18, 2026 10:57
@localheinz localheinz merged commit 465423c into main Mar 18, 2026
27 checks passed
@localheinz localheinz deleted the feature/force-relative-reference branch March 18, 2026 10:58
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