Completed
Push — develop ( 2b89a1...8f9d97 )
by Freddie
04:51 queued 10s
created
src/Builder/AbstractBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@  discard block
 block discarded – undo
50 50
     public function render(): string
51 51
     {
52 52
         $appVariableReflection = new \ReflectionClass('\Symfony\Bridge\Twig\AppVariable');
53
-        $vendorTwigBridgeDirectory = dirname((string)$appVariableReflection->getFileName());
53
+        $vendorTwigBridgeDirectory = dirname((string) $appVariableReflection->getFileName());
54 54
 
55 55
         $loader = new \Twig\Loader\FilesystemLoader([
56 56
             $this->getPathTemplate(),
57
-            $vendorTwigBridgeDirectory . '/Resources/views/Form',
57
+            $vendorTwigBridgeDirectory.'/Resources/views/Form',
58 58
         ]);
59 59
 
60 60
         $twig = new \Twig\Environment($loader);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
         $formEngine = new \Symfony\Bridge\Twig\Form\TwigRendererEngine(['bootstrap_4_layout.html.twig'], $twig);
67 67
         $twig->addRuntimeLoader(new \Twig\RuntimeLoader\FactoryRuntimeLoader([
68
-            \Symfony\Component\Form\FormRenderer::class => function () use ($formEngine) {
68
+            \Symfony\Component\Form\FormRenderer::class => function() use ($formEngine) {
69 69
                 return new \Symfony\Component\Form\FormRenderer($formEngine);
70 70
             },
71 71
         ]));
Please login to merge, or discard this patch.
tests/Unit/InputTest.php 5 patches
Indentation   -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,3 @@
 block discarded – undo
12 12
         $render = Input::text('foo');
13 13
 
14 14
         $this->assertEquals(<<<'T'
15
-<input type="text" id="form_foo" name="form[foo]" required="required" class="form-control" />
16
-T, $render);
17
-    }
18
-}
Please login to merge, or discard this patch.
Switch Indentation   -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,3 @@
 block discarded – undo
12 12
         $render = Input::text('foo');
13 13
 
14 14
         $this->assertEquals(<<<'T'
15
-<input type="text" id="form_foo" name="form[foo]" required="required" class="form-control" />
16
-T, $render);
17
-    }
18
-}
Please login to merge, or discard this patch.
Spacing   -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,3 @@
 block discarded – undo
12 12
         $render = Input::text('foo');
13 13
 
14 14
         $this->assertEquals(<<<'T'
15
-<input type="text" id="form_foo" name="form[foo]" required="required" class="form-control" />
16
-T, $render);
17
-    }
18
-}
Please login to merge, or discard this patch.
Braces   -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,3 @@
 block discarded – undo
12 12
         $render = Input::text('foo');
13 13
 
14 14
         $this->assertEquals(<<<'T'
15
-<input type="text" id="form_foo" name="form[foo]" required="required" class="form-control" />
16
-T, $render);
17
-    }
18
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,3 @@
 block discarded – undo
12 12
         $render = Input::text('foo');
13 13
 
14 14
         $this->assertEquals(<<<'T'
15
-<input type="text" id="form_foo" name="form[foo]" required="required" class="form-control" />
16
-T, $render);
17
-    }
18
-}
Please login to merge, or discard this patch.