Completed
Push — master ( c72544...c55965 )
by David
02:26
created
Tests/Form/Type/AutoFormTypeTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
         // Creation
27 27
         $media1 = new Media();
28 28
         $media1->setUrl('http://example.org/media1')
29
-               ->setDescription('media1 desc');
29
+                ->setDescription('media1 desc');
30 30
         $media2 = new Media();
31 31
         $media2->setUrl('http://example.org/media2')
32
-               ->setDescription('media2 desc');
32
+                ->setDescription('media2 desc');
33 33
 
34 34
         $product = new Product();
35 35
         $product->setUrl('a2lix.fr')
Please login to merge, or discard this patch.
Tests/Form/TypeTestCase.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
             )
33 33
             ->addTypeGuesser(
34 34
                 $this->getMockBuilder('Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser')
35
-                     ->disableOriginalConstructor()
36
-                     ->getMock()
35
+                        ->disableOriginalConstructor()
36
+                        ->getMock()
37 37
             )
38 38
             ->getFormFactory();
39 39
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             return $this->defaultFormManipulator;
48 48
         }
49 49
 
50
-        $config = Setup::createAnnotationMetadataConfiguration([__DIR__ . '/../Fixtures/Entity'], true, null, null, false);
50
+        $config = Setup::createAnnotationMetadataConfiguration([__DIR__.'/../Fixtures/Entity'], true, null, null, false);
51 51
         $entityManager = EntityManager::create(['driver' => 'pdo_sqlite'], $config);
52 52
         $doctrineInfo = new \A2lix\AutoFormBundle\ObjectInfo\DoctrineInfo($entityManager->getMetadataFactory());
53 53
 
Please login to merge, or discard this patch.
Form/Type/AutoFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             'excluded_fields' => [],
44 44
         ]);
45 45
 
46
-        $resolver->setNormalizer('data_class', function (Options $options, $value) {
46
+        $resolver->setNormalizer('data_class', function(Options $options, $value) {
47 47
             if (empty($value)) {
48 48
                 throw new \RuntimeException(sprintf('Missing "data_class" option of "AutoFormType".'));
49 49
             }
Please login to merge, or discard this patch.
DependencyInjection/A2lixAutoFormExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $processor = new Processor();
23 23
         $config = $processor->processConfiguration(new Configuration(), $configs);
24 24
 
25
-        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
25
+        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26 26
         $loader->load('a2lix_form.xml');
27 27
         $loader->load('object_info.xml');
28 28
 
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
                 ->arrayNode('locales')
32 32
                     ->beforeNormalization()
33 33
                         ->ifString()
34
-                        ->then(function ($v) {
34
+                        ->then(function($v) {
35 35
                             return preg_split('/\s*,\s*/', $v);
36 36
                         })
37 37
                     ->end()
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                 ->arrayNode('required_locales')
42 42
                     ->beforeNormalization()
43 43
                         ->ifString()
44
-                        ->then(function ($v) {
44
+                        ->then(function($v) {
45 45
                             return preg_split('/\s*,\s*/', $v);
46 46
                         })
47 47
                     ->end()
Please login to merge, or discard this patch.