Passed
Pull Request — master (#14)
by David
05:17 queued 02:23
created
tests/Form/Type/AutoFormTypeSimpleTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,10 +48,10 @@
 block discarded – undo
48 48
 
49 49
         $media1 = new Media();
50 50
         $media1->setUrl('http://example.org/media1')
51
-               ->setDescription('media1 desc');
51
+                ->setDescription('media1 desc');
52 52
         $media2 = new Media();
53 53
         $media2->setUrl('http://example.org/media2')
54
-               ->setDescription('media2 desc');
54
+                ->setDescription('media2 desc');
55 55
 
56 56
         $product = new Product();
57 57
         $product->setUrl('a2lix.fr')
Please login to merge, or discard this patch.
tests/Form/TypeTestCase.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
             )
47 47
             ->addTypeGuesser(
48 48
                 $this->getMockBuilder(ValidatorTypeGuesser::class)
49
-                     ->disableOriginalConstructor()
50
-                     ->getMock()
49
+                        ->disableOriginalConstructor()
50
+                        ->getMock()
51 51
             )
52 52
             ->getFormFactory();
53 53
 
Please login to merge, or discard this patch.
src/Form/Type/AutoFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             'excluded_fields' => [],
42 42
         ]);
43 43
 
44
-        $resolver->setNormalizer('data_class', function (Options $options, $value): string {
44
+        $resolver->setNormalizer('data_class', function(Options $options, $value): string {
45 45
             if (empty($value)) {
46 46
                 throw new \RuntimeException(sprintf('Missing "data_class" option of "AutoFormType".'));
47 47
             }
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
                     ->defaultValue(['id', 'locale', 'translatable'])
31 31
                     ->beforeNormalization()
32 32
                         ->ifString()
33
-                        ->then(function ($v) {
33
+                        ->then(function($v) {
34 34
                             return preg_split('/\s*,\s*/', $v);
35 35
                         })
36 36
                     ->end()
Please login to merge, or discard this patch.