mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -31,9 +31,7 @@ class LoadAccompanyingPeriodWork extends \Doctrine\Bundle\FixturesBundle\Fixture
|
||||
*/
|
||||
private array $cacheEvaluations = [];
|
||||
|
||||
public function __construct(private readonly AccompanyingPeriodRepository $periodRepository, private readonly EvaluationRepository $evaluationRepository)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly AccompanyingPeriodRepository $periodRepository, private readonly EvaluationRepository $evaluationRepository) {}
|
||||
|
||||
public function getDependencies()
|
||||
{
|
||||
|
@@ -44,8 +44,7 @@ class LoadCustomFields extends AbstractFixture implements
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly CustomFieldChoice $customFieldChoice,
|
||||
private readonly CustomFieldText $customFieldText,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
//put your code here
|
||||
public function getOrder()
|
||||
|
@@ -28,9 +28,7 @@ class LoadRelationships extends Fixture implements DependentFixtureInterface
|
||||
{
|
||||
use PersonRandomHelper;
|
||||
|
||||
public function __construct(private readonly EntityManagerInterface $em)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly EntityManagerInterface $em) {}
|
||||
|
||||
public function getDependencies(): array
|
||||
{
|
||||
|
@@ -21,9 +21,7 @@ use Throwable;
|
||||
|
||||
class LoadSocialWorkMetadata extends Fixture implements OrderedFixtureInterface
|
||||
{
|
||||
public function __construct(private readonly SocialWorkMetadata $importer)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly SocialWorkMetadata $importer) {}
|
||||
|
||||
public function getOrder()
|
||||
{
|
||||
|
Reference in New Issue
Block a user