style fixes for tests

This commit is contained in:
Julie Lenaerts 2023-11-15 16:38:57 +01:00
parent e0de10b7a8
commit 9ba33f3df4
3 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* 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\Tests\Export\Export;
use Chill\CalendarBundle\Export\Declarations;
@ -19,9 +28,7 @@ class CountCalendarsTest extends AbstractExportTest
{
self::bootKernel();
}
/**
* @inheritDoc
*/
public function getExport()
{
$repository = self::$container->get(CalendarRepository::class);
@ -31,20 +38,13 @@ class CountCalendarsTest extends AbstractExportTest
yield new CountCalendarsLinkedToPerson($repository, $this->getParameters(true));
yield new CountCalendarsLinkedToPerson($repository, $this->getParameters(false));
}
/**
* @inheritDoc
*/
public function getFormData()
{
return [];
}
/**
* @inheritDoc
*/
public function getModifiersCombination()
{
return [

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* 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\Tests\Export\Export;
use Chill\CalendarBundle\Export\Declarations;
@ -19,9 +28,7 @@ class StatCalendarAvgDurationTest extends AbstractExportTest
{
self::bootKernel();
}
/**
* @inheritDoc
*/
public function getExport()
{
$repository = self::$container->get(CalendarRepository::class);
@ -31,20 +38,13 @@ class StatCalendarAvgDurationTest extends AbstractExportTest
yield new StatCalendarAvgDurationLinkedToPerson($repository, $this->getParameters(true));
yield new StatCalendarAvgDurationLinkedToPerson($repository, $this->getParameters(false));
}
/**
* @inheritDoc
*/
public function getFormData()
{
return [];
}
/**
* @inheritDoc
*/
public function getModifiersCombination()
{
return [

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* 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\Tests\Export\Export;
use Chill\CalendarBundle\Export\Declarations;
@ -19,9 +28,7 @@ class StatCalendarSumDurationTest extends AbstractExportTest
{
self::bootKernel();
}
/**
* @inheritDoc
*/
public function getExport()
{
$repository = self::$container->get(CalendarRepository::class);
@ -31,20 +38,13 @@ class StatCalendarSumDurationTest extends AbstractExportTest
yield new StatCalendarSumDurationLinkedToPerson($repository, $this->getParameters(true));
yield new StatCalendarSumDurationLinkedToPerson($repository, $this->getParameters(false));
}
/**
* @inheritDoc
*/
public function getFormData()
{
return [];
}
/**
* @inheritDoc
*/
public function getModifiersCombination()
{
return [