@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the TranslationFormBundle package. |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | $mediasForm = $form->get('medias')->all(); |
42 | 42 | $mediasLocales = array_keys($mediasForm); |
43 | - $mediasRequiredLocales = array_keys(array_filter($mediasForm, function ($form) { |
|
43 | + $mediasRequiredLocales = array_keys(array_filter($mediasForm, function($form) { |
|
44 | 44 | return $form->isRequired(); |
45 | 45 | })); |
46 | 46 |
@@ -59,16 +59,16 @@ |
||
59 | 59 | |
60 | 60 | $productTranslationEn = new ProductTranslation(); |
61 | 61 | $productTranslationEn->setLocale('en') |
62 | - ->setTitle('title en') |
|
63 | - ->setDescription('desc en'); |
|
62 | + ->setTitle('title en') |
|
63 | + ->setDescription('desc en'); |
|
64 | 64 | $productTranslationFr = new ProductTranslation(); |
65 | 65 | $productTranslationFr->setLocale('fr') |
66 | - ->setTitle('title fr') |
|
67 | - ->setDescription('desc fr'); |
|
66 | + ->setTitle('title fr') |
|
67 | + ->setDescription('desc fr'); |
|
68 | 68 | $productTranslationDe = new ProductTranslation(); |
69 | 69 | $productTranslationDe->setLocale('de') |
70 | - ->setTitle('title de') |
|
71 | - ->setDescription('desc de'); |
|
70 | + ->setTitle('title de') |
|
71 | + ->setDescription('desc de'); |
|
72 | 72 | |
73 | 73 | $product = new Product(); |
74 | 74 | $product->setUrl('a2lix.fr') |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the TranslationFormBundle package. |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | $translationsForm = $form->get('translations')->all(); |
39 | 39 | $translationsLocales = array_keys($translationsForm); |
40 | - $translationsRequiredLocales = array_keys(array_filter($translationsForm, function ($form) { |
|
40 | + $translationsRequiredLocales = array_keys(array_filter($translationsForm, function($form) { |
|
41 | 41 | return $form->isRequired(); |
42 | 42 | })); |
43 | 43 |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | parent::setUp(); |
43 | 43 | |
44 | 44 | $validator = $this->getMockBuilder(ValidatorInterface::class) |
45 | - ->disableOriginalConstructor() |
|
46 | - ->getMock(); |
|
45 | + ->disableOriginalConstructor() |
|
46 | + ->getMock(); |
|
47 | 47 | $validator->method('validate')->will($this->returnValue(new ConstraintViolationList())); |
48 | 48 | |
49 | 49 | $this->factory = Forms::createFormFactoryBuilder() |
@@ -53,8 +53,8 @@ discard block |
||
53 | 53 | ) |
54 | 54 | ->addTypeGuesser( |
55 | 55 | $this->getMockBuilder(ValidatorTypeGuesser::class) |
56 | - ->disableOriginalConstructor() |
|
57 | - ->getMock() |
|
56 | + ->disableOriginalConstructor() |
|
57 | + ->getMock() |
|
58 | 58 | ) |
59 | 59 | ->getFormFactory(); |
60 | 60 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the TranslationFormBundle package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the TranslationFormBundle package. |