Completed
Push — main ( bb2763...a8dc43 )
by Peter
26s queued 13s
created
src/Form/Element/Select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         ?array $attributes = null,
41 41
         ?string $tag = null
42 42
     ) {
43
-        $attributes                   ??= [];
43
+        $attributes ??= [];
44 44
         $attributes[Html5::ATTR_ID]   = new Attribute(Html5::ATTR_ID, $inputId);
45 45
         $attributes[Html5::ATTR_NAME] = new Attribute(Html5::ATTR_NAME, $name);
46 46
 
Please login to merge, or discard this patch.
src/Form/Extra/Help.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         ?array $attributes = null,
30 30
         ?string $tag = null
31 31
     ) {
32
-        $attributes                    ??= [];
32
+        $attributes ??= [];
33 33
         $attributes[Html5::ATTR_CLASS] = new Attribute(Html5::ATTR_CLASS, self::CLASS_HELP_BLOCK);
34 34
 
35 35
         parent::__construct($content, $intents, $attributes, $tag);
Please login to merge, or discard this patch.
src/Html/Tag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         parent::__construct($content, ...$intents);
40 40
 
41 41
         $attributes ??= [];
42
-        $tag        ??= static::DEFAULT_TAG;
42
+        $tag ??= static::DEFAULT_TAG;
43 43
 
44 44
         $this->setAttributes($attributes);
45 45
         $this->setTag($tag);
Please login to merge, or discard this patch.
tests/Form/Component/OptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return [
26 26
             'simple'           => ['abc', 'ABC', false, null, null, null, "<option value=\"abc\">ABC</option>"],
27 27
             'attributes'       => ['abc', 'ABC', false, $attribs, null, null, "<option$str value=\"abc\">ABC</option>"],
28
-            'w/o translations' => ['abc', 'ABC', false, null, [], null, "<option value=\"abc\">ABC</option>",],
28
+            'w/o translations' => ['abc', 'ABC', false, null, [], null, "<option value=\"abc\">ABC</option>", ],
29 29
             'custom tag'       => ['abc', 'ABC', false, null, null, 'foo', "<foo value=\"abc\">ABC</foo>"],
30 30
             'w translations'   => ['abc', 'ABC', false, null, ['ABC' => '+'], null, "<option value=\"abc\">+</option>"],
31 31
         ];
Please login to merge, or discard this patch.
tests/Html/Component/ButtonTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
                 null,
26 26
                 "<button foo=\"foo baz\" bar=\"bar baz\">Button</button>",
27 27
             ],
28
-            'missing translations' => ['Button', [], null, [], null, "<button>Button</button>",],
28
+            'missing translations' => ['Button', [], null, [], null, "<button>Button</button>", ],
29 29
             'custom tag'           => ['Button', [], null, null, 'mybutton', "<mybutton>Button</mybutton>"],
30 30
             'with translations'    => ['Button', [], null, ['Button' => 'Gomb'], null, "<button>Gomb</button>"],
31 31
         ];
Please login to merge, or discard this patch.
tests/Html/Component/ButtonWithIconTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
         return [
31 31
             'simple'               => [$text, $icon, [], null, null, null, "<button>$iconStr $textStr</button>"],
32
-            'with attributes'      => [$text, $icon, [], $attr, null, null, "<button$str>$iconStr $textStr</button>",],
32
+            'with attributes'      => [$text, $icon, [], $attr, null, null, "<button$str>$iconStr $textStr</button>", ],
33 33
             'missing translations' => [$text, $icon, [], null, [], null, "<button>$iconStr $textStr</button>"],
34 34
             'custom tag'           => [$text, $icon, [], null, null, 'mytag', "<mytag>$iconStr $textStr</mytag>"],
35 35
             'with translations'    => [
Please login to merge, or discard this patch.
tests/Grid/Cell/SortableTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 
23 23
         return [
24 24
             'simple'               => ['ABC', 'a', '', '', null, null, null, "<th>ABC <a></a></th>"],
25
-            'with attributes'      => ['ABC', 'a', '', '', $attribs, null, null, "<th$str>ABC <a></a></th>",],
26
-            'missing translations' => ['ABC', 'a', '', '', null, [], null, "<th>ABC <a></a></th>",],
25
+            'with attributes'      => ['ABC', 'a', '', '', $attribs, null, null, "<th$str>ABC <a></a></th>", ],
26
+            'missing translations' => ['ABC', 'a', '', '', null, [], null, "<th>ABC <a></a></th>", ],
27 27
             'custom tag'           => ['ABC', 'a', '', '', null, null, 'myth', "<myth>ABC <a></a></myth>"],
28 28
             'with translations'    => ['ABC', 'a', '', '', null, ['ABC' => 'CBA'], null, "<th>CBA <a></a></th>"],
29 29
         ];
Please login to merge, or discard this patch.
tests/Helper/MysqlTest.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
             'number as int'            => [23.4, \PDO::PARAM_INT, [23.4, \PDO::PARAM_INT]],
23 23
             'false as bool'            => [false, \PDO::PARAM_BOOL, [false, \PDO::PARAM_BOOL]],
24 24
             'true as bool'             => [true, \PDO::PARAM_BOOL, [true, \PDO::PARAM_BOOL]],
25
-            'datetime'                 => [$dateTime, \PDO::PARAM_STR, ['2010-11-27 09:08:59', \PDO::PARAM_STR],],
25
+            'datetime'                 => [$dateTime, \PDO::PARAM_STR, ['2010-11-27 09:08:59', \PDO::PARAM_STR], ],
26 26
             'date'                     => [
27 27
                 $dateTime,
28 28
                 \PDO::PARAM_STR,
Please login to merge, or discard this patch.
tests/Form/Label/ToggleLabelTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
         $str        = Attributes::toString($attributes);
22 22
 
23 23
         return [
24
-            'simple'            => ['a', 'ABC', null, null, null, '<label for="a">ABC</label>',],
25
-            'with attributes'   => ['a', 'ABC', $attributes, null, null, "<label$str for=\"a\">ABC</label>",],
26
-            'with translations' => ['a', 'ABC', null, ['ABC' => 'CBA'], null, '<label for="a">CBA</label>',],
27
-            'custom tag'        => ['a', 'ABC', null, [], 'foo', '<foo for="a">ABC</foo>',],
24
+            'simple'            => ['a', 'ABC', null, null, null, '<label for="a">ABC</label>', ],
25
+            'with attributes'   => ['a', 'ABC', $attributes, null, null, "<label$str for=\"a\">ABC</label>", ],
26
+            'with translations' => ['a', 'ABC', null, ['ABC' => 'CBA'], null, '<label for="a">CBA</label>', ],
27
+            'custom tag'        => ['a', 'ABC', null, [], 'foo', '<foo for="a">ABC</foo>', ],
28 28
         ];
29 29
     }
30 30
 
Please login to merge, or discard this patch.