Completed
Push — master ( c55965...347886 )
by David
02:38
created
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.
Tests/Form/TypeTestCase.php 1 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.
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   +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.