You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) test.php:5
---------- begin diff ----------
@@ Line 5 @@
use Doctrine\ORM\QueryBuilder;
use SortDirection;
-$x = new QueryBuilder(magic_get_em())->orderBy('field', SortDirection::Ascending);
\ No newline at end of file
+$x = new QueryBuilder(magic_get_em())->orderBy('field', \SortDirection::Ascending);
\ No newline at end of file
----------- end diff -----------
Applied rules:
* DoctrineQueryBuilderSortDirectionRector
Minor grievance: it also requireds that symfony/poliyfill-php86 is explicitly listed in composer.json rather than it being pulled by doctrine/orm. Which is fine, I guess, but took a moment to figure out ;)
Activity
samsonasik commentedon Nov 2, 2026
That should already resolved at
Please try latest dev-main
themasch commentedon Nov 2, 2026
@samsonasik thanks, can confirm that
dev-mainfixes it!I did search for issues, but not for matching PRs on the rector-doctrine repo. I'll be better next time!
Thanks!