Passed
Push — main ( 8365e4...b2f486 )
by Peter
03:33
created
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.
src/Form/Element/Textarea.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         ?array $attributes = null,
39 39
         ?string $tag = null
40 40
     ) {
41
-        $attributes                 ??= [];
41
+        $attributes ??= [];
42 42
         $attributes = Attributes::addItem($attributes, Html5::ATTR_ID, $inputId);
43 43
         if (!in_array(Html5::ATTR_ROWS, $attributes)) {
44 44
             $attributes = Attributes::addItem($attributes, Html5::ATTR_ROWS, static::DEFAULT_ROW);
Please login to merge, or discard this patch.
tests/Email/SenderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
     protected Mailer $fakeMailer;
20 20
 
21
-    protected Email|MockObject $emailMock;
21
+    protected Email | MockObject $emailMock;
22 22
 
23
-    protected MessageFactory|MockObject $messageFactory;
23
+    protected MessageFactory | MockObject $messageFactory;
24 24
 
25 25
     protected array $recipients = [
26 26
         '[email protected]',
Please login to merge, or discard this patch.