Skip to content

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to also fix fully-qualified class names#302

Merged
localheinz merged 1 commit intomainfrom
fix/fully-qualified-class-names
Mar 13, 2026
Merged

Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to also fix fully-qualified class names#302
localheinz merged 1 commit intomainfrom
fix/fully-qualified-class-names

Conversation

@localheinz
Copy link
Member

This pull request

  • adjusts Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to also rewrite fully-qualified class names when no matching use statement exists

@localheinz localheinz self-assigned this Mar 13, 2026
@localheinz localheinz force-pushed the fix/fully-qualified-class-names branch from 3dd2ae4 to 3b35034 Compare March 13, 2026 17:15
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 98.21429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.68%. Comparing base (b22a176) to head (9765e97).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...mespacedSymbolsRelativeToNamespacePrefixRector.php 98.21% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #302      +/-   ##
============================================
+ Coverage     86.77%   87.68%   +0.91%     
- Complexity      206      219      +13     
============================================
  Files             6        6              
  Lines           756      812      +56     
============================================
+ Hits            656      712      +56     
  Misses          100      100              

☔ 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/fully-qualified-class-names branch 4 times, most recently from 1dd72b9 to b3a4501 Compare March 13, 2026 17:34
…Rector to also fix fully-qualified class names
@localheinz localheinz force-pushed the fix/fully-qualified-class-names branch from b3a4501 to 9765e97 Compare March 13, 2026 17:35
@localheinz localheinz merged commit 749b2f9 into main Mar 13, 2026
29 checks passed
@localheinz localheinz deleted the fix/fully-qualified-class-names branch March 13, 2026 17:38
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