new cs rule: single_line_empty_body

Rule is added to the last version of php-cs-fixer
This commit is contained in:
2023-09-12 15:58:59 +02:00
parent b9231a91a3
commit d2323e91ca
606 changed files with 639 additions and 1804 deletions

View File

@@ -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 {}

View File

@@ -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 {}

View File

@@ -29,9 +29,7 @@ use function substr;
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,

View File

@@ -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