mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
apply rector rules
This commit is contained in:
@@ -32,10 +32,7 @@ final class CustomFieldsChoiceTest extends KernelTestCase
|
||||
*/
|
||||
private $cfChoice;
|
||||
|
||||
/**
|
||||
* @var \Chill\CustomFieldsBundle\Service\CustomFieldProvider
|
||||
*/
|
||||
private $cfProvider;
|
||||
private ?object $cfProvider = null;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -24,10 +24,7 @@ use function count;
|
||||
*/
|
||||
final class CustomFieldsNumberTest extends \Symfony\Bundle\FrameworkBundle\Test\WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var CustomFieldNumber
|
||||
*/
|
||||
private $customFieldNumber;
|
||||
private ?object $customFieldNumber = null;
|
||||
|
||||
/**
|
||||
* @var FormBuilderInterface
|
||||
|
@@ -24,10 +24,7 @@ final class CustomFieldsTextTest extends WebTestCase
|
||||
{
|
||||
use CustomFieldTestHelper;
|
||||
|
||||
/**
|
||||
* @var \Chill\CustomFieldsBundle\Service\CustomFieldProvider
|
||||
*/
|
||||
private $customFieldProvider;
|
||||
private ?object $customFieldProvider = null;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -23,15 +23,9 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
*/
|
||||
final class CustomFieldsHelperTest extends KernelTestCase
|
||||
{
|
||||
/**
|
||||
* @var CustomFieldsHelper
|
||||
*/
|
||||
private $cfHelper;
|
||||
private ?object $cfHelper = null;
|
||||
|
||||
/**
|
||||
* @var CustomField
|
||||
*/
|
||||
private $randomCFText;
|
||||
private \Chill\CustomFieldsBundle\Entity\CustomField $randomCFText;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -24,15 +24,9 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
*/
|
||||
final class CustomFieldRenderingTwigTest extends KernelTestCase
|
||||
{
|
||||
/**
|
||||
* @var CustomFieldProvider
|
||||
*/
|
||||
private $cfProvider;
|
||||
private ?object $cfProvider = null;
|
||||
|
||||
/**
|
||||
* @var CustomFieldRenderingTwig
|
||||
*/
|
||||
private $cfRendering;
|
||||
private ?object $cfRendering = null;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -26,15 +26,9 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
*/
|
||||
final class CustomFieldsGroupRenderingTwigTest extends KernelTestCase
|
||||
{
|
||||
/**
|
||||
* @var CustomFieldProvider
|
||||
*/
|
||||
private $cfProvider;
|
||||
private ?object $cfProvider = null;
|
||||
|
||||
/**
|
||||
* @var CustomFieldsGroupRenderingTwig
|
||||
*/
|
||||
private $cfRendering;
|
||||
private ?object $cfRendering = null;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
Reference in New Issue
Block a user