cs: Fix code style (safe rules only).

This commit is contained in:
Pol Dellaiera
2021-11-23 14:06:38 +01:00
parent 149d7ce991
commit 8f96a1121d
1223 changed files with 65199 additions and 64625 deletions

View File

@@ -1,5 +1,12 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CalendarBundle\Repository;
use Chill\CalendarBundle\Entity\CalendarRange;
@@ -34,7 +41,7 @@ class CalendarRangeRepository extends ServiceEntityRepository
->getResult()
;
}
*/
*/
/*
public function findOneBySomeField($value): ?CalendarRange
@@ -46,5 +53,5 @@ class CalendarRangeRepository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
*/
*/
}

View File

@@ -1,9 +1,15 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CalendarBundle\Repository;
use Chill\CalendarBundle\Entity\Calendar;
use Chill\PersonBundle\Entity\AccompanyingPeriod;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\ORM\EntityRepository;
use Doctrine\Persistence\ManagerRegistry;
@@ -16,13 +22,12 @@ use Doctrine\Persistence\ManagerRegistry;
*/
class CalendarRepository extends ServiceEntityRepository
{
// private EntityRepository $repository;
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Calendar::class);
// $this->repository = $entityManager->getRepository(AccompanyingPeriodWork::class);
// $this->repository = $entityManager->getRepository(AccompanyingPeriodWork::class);
}
// /**
@@ -40,7 +45,7 @@ class CalendarRepository extends ServiceEntityRepository
->getResult()
;
}
*/
*/
/*
public function findOneBySomeField($value): ?Calendar
@@ -52,5 +57,5 @@ class CalendarRepository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
*/
*/
}

View File

@@ -1,5 +1,12 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CalendarBundle\Repository;
use Chill\CalendarBundle\Entity\CancelReason;
@@ -34,7 +41,7 @@ class CancelReasonRepository extends ServiceEntityRepository
->getResult()
;
}
*/
*/
/*
public function findOneBySomeField($value): ?CancelReason
@@ -46,5 +53,5 @@ class CancelReasonRepository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
*/
*/
}

View File

@@ -1,5 +1,12 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CalendarBundle\Repository;
use Chill\CalendarBundle\Entity\Invite;
@@ -34,7 +41,7 @@ class InviteRepository extends ServiceEntityRepository
->getResult()
;
}
*/
*/
/*
public function findOneBySomeField($value): ?Invite
@@ -46,5 +53,5 @@ class InviteRepository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
*/
*/
}