Test Failed
Push — master ( d72d75...c1d31e )
by Chauncey
03:26
created
src/Charcoal/Ui/ServiceProvider/FormServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Charcoal\Ui\Form\FormBuilder;
14 14
 use Charcoal\Ui\Form\FormInterface;
15 15
 use Charcoal\Ui\Form\GenericForm;
16
-use Charcoal\Ui\FormGroup\FormGroupBuilder;
17 16
 use Charcoal\Ui\FormGroup\FormGroupInterface;
18 17
 use Charcoal\Ui\FormGroup\GenericFormGroup;
19 18
 use Charcoal\Ui\FormInput\FormInputBuilder;
Please login to merge, or discard this patch.
src/Charcoal/Ui/ServiceProvider/LayoutServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
          * @param Container $container A Pimple DI container.
35 35
          * @return LayoutFactory
36 36
          */
37
-        $container['layout/factory'] = function () {
37
+        $container['layout/factory'] = function() {
38 38
 
39 39
             $layoutFactory = new LayoutFactory();
40 40
             return $layoutFactory;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
          * @param Container $container A Pimple DI container.
45 45
          * @return LayoutBuilder
46 46
          */
47
-        $container['layout/builder'] = function (Container $container) {
47
+        $container['layout/builder'] = function(Container $container) {
48 48
             $layoutFactory = $container['layout/factory'];
49 49
             $layoutBuilder = new LayoutBuilder($layoutFactory, $container);
50 50
             return $layoutBuilder;
Please login to merge, or discard this patch.
src/Charcoal/Ui/Menu/AbstractMenu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     public function items(callable $itemCallback = null)
126 126
     {
127 127
         $items = $this->items;
128
-        uasort($items, [ $this, 'sortItemsByPriority' ]);
128
+        uasort($items, [$this, 'sortItemsByPriority']);
129 129
 
130 130
         $itemCallback = isset($itemCallback) ? $itemCallback : $this->itemCallback;
131 131
         foreach ($items as $item) {
Please login to merge, or discard this patch.
src/Charcoal/Ui/Form/FormTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
     public function groups(callable $groupCallback = null)
348 348
     {
349 349
         $groups = $this->groups;
350
-        uasort($groups, [ $this, 'sortItemsByPriority' ]);
350
+        uasort($groups, [$this, 'sortItemsByPriority']);
351 351
 
352 352
         $groupCallback = (isset($groupCallback) ? $groupCallback : $this->groupCallback);
353 353
 
Please login to merge, or discard this patch.
src/Charcoal/Ui/FormGroup/FormGroupTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     public function inputs(callable $inputCallback = null)
196 196
     {
197 197
         $groups = $this->groups;
198
-        uasort($groups, [ $this, 'sortItemsByPriority' ]);
198
+        uasort($groups, [$this, 'sortItemsByPriority']);
199 199
 
200 200
         $inputCallback = isset($inputCallback) ? $inputCallback : $this->inputCallback;
201 201
         foreach ($inputs as $input) {
Please login to merge, or discard this patch.