mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -60,8 +60,7 @@ final class SingleTaskController extends AbstractController
|
||||
private readonly SingleTaskRepository $singleTaskRepository,
|
||||
private readonly Security $security,
|
||||
private readonly \Doctrine\Persistence\ManagerRegistry $managerRegistry,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* @Route(
|
||||
|
@@ -27,9 +27,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
||||
class SingleTaskType extends AbstractType
|
||||
{
|
||||
public function __construct(private readonly ParameterBagInterface $parameterBag, private readonly CenterResolverDispatcherInterface $centerResolverDispatcher, private readonly ScopeResolverDispatcher $scopeResolverDispatcher)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly ParameterBagInterface $parameterBag, private readonly CenterResolverDispatcherInterface $centerResolverDispatcher, private readonly ScopeResolverDispatcher $scopeResolverDispatcher) {}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
|
@@ -17,6 +17,4 @@ namespace Chill\TaskBundle\Repository;
|
||||
* This class was generated by the Doctrine ORM. Add your own custom
|
||||
* repository methods below.
|
||||
*/
|
||||
abstract class AbstractTaskRepository extends \Doctrine\ORM\EntityRepository
|
||||
{
|
||||
}
|
||||
abstract class AbstractTaskRepository extends \Doctrine\ORM\EntityRepository {}
|
||||
|
@@ -17,6 +17,4 @@ namespace Chill\TaskBundle\Repository;
|
||||
* This class was generated by the Doctrine ORM. Add your own custom
|
||||
* repository methods below.
|
||||
*/
|
||||
class RecurringTaskRepository extends \Doctrine\ORM\EntityRepository
|
||||
{
|
||||
}
|
||||
class RecurringTaskRepository extends \Doctrine\ORM\EntityRepository {}
|
||||
|
@@ -23,9 +23,7 @@ use Symfony\Component\Security\Core\Security;
|
||||
|
||||
final readonly class SingleTaskAclAwareRepository implements SingleTaskAclAwareRepositoryInterface
|
||||
{
|
||||
public function __construct(private CenterResolverManagerInterface $centerResolverDispatcher, private EntityManagerInterface $em, private Security $security, private AuthorizationHelperInterface $authorizationHelper)
|
||||
{
|
||||
}
|
||||
public function __construct(private CenterResolverManagerInterface $centerResolverDispatcher, private EntityManagerInterface $em, private Security $security, private AuthorizationHelperInterface $authorizationHelper) {}
|
||||
|
||||
public function buildBaseQuery(
|
||||
?string $pattern = null,
|
||||
|
@@ -22,8 +22,7 @@ class SingleTaskStateRepository
|
||||
|
||||
public function __construct(
|
||||
private readonly Connection $connection
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Return a list of all states associated to at least one single task in the database.
|
||||
|
@@ -29,8 +29,7 @@ class AuthorizationEvent extends \Symfony\Contracts\EventDispatcher\Event
|
||||
private readonly AbstractTask|AccompanyingPeriod|Person|null $subject,
|
||||
private readonly string $attribute,
|
||||
private readonly TokenInterface $token
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function getAttribute()
|
||||
{
|
||||
|
@@ -18,6 +18,4 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class TaskControllerTest extends WebTestCase
|
||||
{
|
||||
}
|
||||
final class TaskControllerTest extends WebTestCase {}
|
||||
|
@@ -30,9 +30,7 @@ class TaskLifeCycleEventTimelineProvider implements TimelineProviderInterface
|
||||
{
|
||||
final public const TYPE = 'chill_task.transition';
|
||||
|
||||
public function __construct(protected EntityManagerInterface $em, protected Registry $registry, protected AuthorizationHelper $authorizationHelper, protected Security $security)
|
||||
{
|
||||
}
|
||||
public function __construct(protected EntityManagerInterface $em, protected Registry $registry, protected AuthorizationHelper $authorizationHelper, protected Security $security) {}
|
||||
|
||||
public function fetchQuery($context, $args)
|
||||
{
|
||||
|
@@ -11,6 +11,4 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\TaskBundle\Workflow;
|
||||
|
||||
interface TaskWorkflowDefinition
|
||||
{
|
||||
}
|
||||
interface TaskWorkflowDefinition {}
|
||||
|
Reference in New Issue
Block a user