apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -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')

View File

@@ -20,6 +20,7 @@ use Symfony\Component\Form\Test\TypeTestCase;
* Test translatableActivityReason.
*
* @internal
*
* @coversNothing
*/
final class TranslatableActivityReasonTest extends TypeTestCase

View File

@@ -18,6 +18,7 @@ use Symfony\Component\Form\Extension\Core\Type\FormType;
/**
* @internal
*
* @coversNothing
*/
final class TranslatableActivityTypeTest extends KernelTestCase