mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
style fixes for tests
This commit is contained in:
parent
e0de10b7a8
commit
9ba33f3df4
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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;
|
namespace Chill\CalendarBundle\Tests\Export\Export;
|
||||||
|
|
||||||
use Chill\CalendarBundle\Export\Declarations;
|
use Chill\CalendarBundle\Export\Declarations;
|
||||||
@ -19,9 +28,7 @@ class CountCalendarsTest extends AbstractExportTest
|
|||||||
{
|
{
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getExport()
|
public function getExport()
|
||||||
{
|
{
|
||||||
$repository = self::$container->get(CalendarRepository::class);
|
$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(true));
|
||||||
yield new CountCalendarsLinkedToPerson($repository, $this->getParameters(false));
|
yield new CountCalendarsLinkedToPerson($repository, $this->getParameters(false));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getFormData()
|
public function getFormData()
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getModifiersCombination()
|
public function getModifiersCombination()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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;
|
namespace Chill\CalendarBundle\Tests\Export\Export;
|
||||||
|
|
||||||
use Chill\CalendarBundle\Export\Declarations;
|
use Chill\CalendarBundle\Export\Declarations;
|
||||||
@ -19,9 +28,7 @@ class StatCalendarAvgDurationTest extends AbstractExportTest
|
|||||||
{
|
{
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getExport()
|
public function getExport()
|
||||||
{
|
{
|
||||||
$repository = self::$container->get(CalendarRepository::class);
|
$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(true));
|
||||||
yield new StatCalendarAvgDurationLinkedToPerson($repository, $this->getParameters(false));
|
yield new StatCalendarAvgDurationLinkedToPerson($repository, $this->getParameters(false));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getFormData()
|
public function getFormData()
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getModifiersCombination()
|
public function getModifiersCombination()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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;
|
namespace Chill\CalendarBundle\Tests\Export\Export;
|
||||||
|
|
||||||
use Chill\CalendarBundle\Export\Declarations;
|
use Chill\CalendarBundle\Export\Declarations;
|
||||||
@ -19,9 +28,7 @@ class StatCalendarSumDurationTest extends AbstractExportTest
|
|||||||
{
|
{
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getExport()
|
public function getExport()
|
||||||
{
|
{
|
||||||
$repository = self::$container->get(CalendarRepository::class);
|
$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(true));
|
||||||
yield new StatCalendarSumDurationLinkedToPerson($repository, $this->getParameters(false));
|
yield new StatCalendarSumDurationLinkedToPerson($repository, $this->getParameters(false));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getFormData()
|
public function getFormData()
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritDoc
|
|
||||||
*/
|
|
||||||
public function getModifiersCombination()
|
public function getModifiersCombination()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user