mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -55,7 +55,8 @@ final class SingleTaskController extends AbstractController
|
||||
private readonly FilterOrderHelperFactoryInterface $filterOrderHelperFactory,
|
||||
private readonly SingleTaskStateRepository $singleTaskStateRepository,
|
||||
private readonly SingleTaskRepository $singleTaskRepository,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route(
|
||||
@@ -625,7 +626,7 @@ final class SingleTaskController extends AbstractController
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Symfony\Component\Form\FormInterface
|
||||
* @return FormInterface
|
||||
*/
|
||||
protected function setCreateForm(SingleTask $task, string $role)
|
||||
{
|
||||
|
@@ -103,9 +103,6 @@ class SingleTask extends AbstractTask
|
||||
private Collection $taskPlaceEvents;
|
||||
|
||||
/**
|
||||
* @var \DateInterval
|
||||
* and this.getEndDate() === null
|
||||
*
|
||||
* @ORM\Column(name="warning_interval", type="dateinterval", nullable=true)
|
||||
*
|
||||
* @Serializer\Groups({"read"})
|
||||
|
@@ -27,7 +27,9 @@ 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,4 +17,6 @@ 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,4 +17,6 @@ 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,7 +23,9 @@ 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,7 +22,8 @@ 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,7 +29,8 @@ class AuthorizationEvent extends \Symfony\Contracts\EventDispatcher\Event
|
||||
private readonly null|AbstractTask|AccompanyingPeriod|Person $subject,
|
||||
private readonly string $attribute,
|
||||
private readonly TokenInterface $token
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function getAttribute()
|
||||
{
|
||||
|
@@ -18,4 +18,6 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class TaskControllerTest extends WebTestCase {}
|
||||
final class TaskControllerTest extends WebTestCase
|
||||
{
|
||||
}
|
||||
|
@@ -30,7 +30,9 @@ 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,4 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\TaskBundle\Workflow;
|
||||
|
||||
interface TaskWorkflowDefinition {}
|
||||
interface TaskWorkflowDefinition
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user