Passed
Push — main ( 8365e4...b2f486 )
by Peter
03:33
created
src/Http/Middleware/EnvironmentWarning.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function getWarningHtml(string $environmentName): string
59 59
     {
60
-        $styles  = [
60
+        $styles = [
61 61
             'color'       => 'white',
62 62
             'line-height' => '1em',
63 63
             'font-weight' => 'bold',
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             $this->translator->translate('admin:environment', $environmentName)
69 69
         );
70 70
 
71
-        $styles  = [
71
+        $styles = [
72 72
             'position'   => 'fixed',
73 73
             'bottom'     => '10px',
74 74
             'right'      => '10px',
Please login to merge, or discard this patch.
tests/Template/CacheManagerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
                 CacheData::PAYLOAD_KEY_SUBTEMPLATES => $cacheData->getSubTemplates(),
99 99
             ]
100 100
         );
101
-        $key     = sprintf(CacheManager::CACHE_KEY_TEMPLATES, $cacheId);
101
+        $key = sprintf(CacheManager::CACHE_KEY_TEMPLATES, $cacheId);
102 102
 
103 103
         $this->cacheBridgeMock->expects($this->once())->method('set')->with($key, $payload, PHP_INT_MAX);
104 104
         $this->cacheBridgeMock->expects($this->once())->method('has')->with($key);
Please login to merge, or discard this patch.
tests/Grid/Component/HeaderTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
                 '/foo?',
132 132
                 '/foo?sort-A-input=1&sort-B-input=-1&',
133 133
             ],
134
-        ]   ;
134
+        ];
135 135
     }
136 136
 
137 137
     /**
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             ['A' => 'A-input', 'B' => 'B-input'],
148 148
             ['A' => 'a_field', 'b' => 'b_field'],
149 149
             ['a' => 'A', 'b' => 'B']
150
-        )  ;
150
+        );
151 151
 
152 152
         $sut->setParams($params);
153 153
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             ['A' => 'A-input', 'B' => 'B-input'],
192 192
             ['A' => 'a_field', 'B' => 'b_field'],
193 193
             ['a' => 'A', 'b' => 'B']
194
-        )  ;
194
+        );
195 195
 
196 196
         $sut->setParams($params);
197 197
 
Please login to merge, or discard this patch.
tests/Console/Commands/AbterPhp/FlushCacheTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     public function testDoExecuteCallsAllDefaultSubCommands(): void
22 22
     {
23
-        $responseMock          = $this
23
+        $responseMock = $this
24 24
             ->getMockBuilder(IResponse::class)
25 25
             ->disableOriginalConstructor()
26 26
             ->getMock();
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     public function testDoExecuteCallsExtraSubCommands(): void
38 38
     {
39
-        $responseMock          = $this
39
+        $responseMock = $this
40 40
             ->getMockBuilder(IResponse::class)
41 41
             ->disableOriginalConstructor()
42 42
             ->getMock();
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $ex = new \Exception();
58 58
 
59
-        $responseMock          = $this
59
+        $responseMock = $this
60 60
             ->getMockBuilder(IResponse::class)
61 61
             ->disableOriginalConstructor()
62 62
             ->getMock();
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/Action/ActionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@
 block discarded – undo
35 35
 
36 36
         return [
37 37
             'simple'               => ['Button', null, [], null, null, "<button>Button</button>"],
38
-            'with attributes'      => ['Button', $attributes, [], null, null, "<button$str>Button</button>",],
38
+            'with attributes'      => ['Button', $attributes, [], null, null, "<button$str>Button</button>", ],
39 39
             'missing translations' => ['Button', null, [], [], null, "<button>Button</button>"],
40 40
             'custom tag'           => ['Button', null, [], null, 'mybutton', "<mybutton>Button</mybutton>"],
41 41
             'with translations'    => ['Button', null, [], ['Button' => 'Gomb'], null, "<button>Gomb</button>"],
42
-            'with callbacks'       => ['Button', $attributes, $callbacks, null, null, "<button$str>Button</button>",],
42
+            'with callbacks'       => ['Button', $attributes, $callbacks, null, null, "<button$str>Button</button>", ],
43 43
         ];
44 44
     }
45 45
 
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.