mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -13,14 +13,13 @@ namespace Chill\ActivityBundle\Tests\Form;
|
||||
|
||||
use Chill\ActivityBundle\Entity\Activity;
|
||||
use Chill\ActivityBundle\Form\ActivityType;
|
||||
use DateTime;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Form\Extension\Core\Type\FormType;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\AbstractToken;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class ActivityTypeTest extends KernelTestCase
|
||||
@@ -140,7 +139,7 @@ final class ActivityTypeTest extends KernelTestCase
|
||||
public function testFormWithActivityHavingDifferentTime()
|
||||
{
|
||||
$activity = new Activity();
|
||||
$activity->setDurationTime(DateTime::createFromFormat('U', 60));
|
||||
$activity->setDurationTime(\DateTime::createFromFormat('U', 60));
|
||||
|
||||
$builder = $this->container
|
||||
->get('form.factory')
|
||||
|
@@ -20,6 +20,7 @@ use Symfony\Component\Form\Test\TypeTestCase;
|
||||
* Test translatableActivityReason.
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class TranslatableActivityReasonTest extends TypeTestCase
|
||||
|
@@ -18,6 +18,7 @@ use Symfony\Component\Form\Extension\Core\Type\FormType;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class TranslatableActivityTypeTest extends KernelTestCase
|
||||
|
Reference in New Issue
Block a user