chore: fix deprecations

This commit is contained in:
fromme committed 2026-09-09 11:14:00 +02:00
1 parent 52926ec6cc
commit 4b20aad98e
18 files changed
+52 -52

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ class AssignmentType extends AbstractType
return $qb
->where($qb->expr()->like('user.roles', ':role'))
->setParameter('role', '%ROLE_MANAGER%')
->orderBy('user.firstName', 'ASC')
->orderBy('user.firstName', \SortDirection::Ascending)
;
},
])
+1 -1
View File
@@ -37,7 +37,7 @@ class JobProfileType extends AbstractType
'expanded' => true,
'query_builder' => function (EntityRepository $repository) {
return $repository->createQueryBuilder('job_profile')
->orderBy('job_profile.name', 'ASC')
->orderBy('job_profile.name', \SortDirection::Ascending)
;
},
])
+1 -1
View File
@@ -48,7 +48,7 @@ class TeamerFilterType extends AbstractType
'empty_label' => 'nicht filtern',
'query_builder' => function (EntityRepository $repository) {
return $repository->createQueryBuilder('job_profile')
->orderBy('job_profile.name', 'ASC');
->orderBy('job_profile.name', \SortDirection::Ascending);
},
])
->add('noTrainings', CheckboxType::class, [