Passed
Push — attributes ( 57ed6a )
by Peter
04:12
created
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/Security/SecretGeneratorTest.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,6 +105,4 @@
 block discarded – undo
105 105
         $this->sut->execute($responseMock);
106 106
         $content2 = file_get_contents($this->configUrl);
107 107
 
108
-        $this->assertNotSame($content1, $content2);
109
-    }
110
-}
108
+        $this->assertNotSame($content1, $content2
111 109
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,6 +105,4 @@
 block discarded – undo
105 105
         $this->sut->execute($responseMock);
106 106
         $content2 = file_get_contents($this->configUrl);
107 107
 
108
-        $this->assertNotSame($content1, $content2);
109
-    }
110
-}
108
+        $this->assertNotSame($content1, $content2
111 109
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,6 +105,4 @@
 block discarded – undo
105 105
         $this->sut->execute($responseMock);
106 106
         $content2 = file_get_contents($this->configUrl);
107 107
 
108
-        $this->assertNotSame($content1, $content2);
109
-    }
110
-}
108
+        $this->assertNotSame($content1, $content2
111 109
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,6 +105,4 @@
 block discarded – undo
105 105
         $this->sut->execute($responseMock);
106 106
         $content2 = file_get_contents($this->configUrl);
107 107
 
108
-        $this->assertNotSame($content1, $content2);
109
-    }
110
-}
108
+        $this->assertNotSame($content1, $content2
111 109
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,6 +105,4 @@
 block discarded – undo
105 105
         $this->sut->execute($responseMock);
106 106
         $content2 = file_get_contents($this->configUrl);
107 107
 
108
-        $this->assertNotSame($content1, $content2);
109
-    }
110
-}
108
+        $this->assertNotSame($content1, $content2
111 109
\ No newline at end of file
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/Assets/CacheManager/FlysystemTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $this->sut->registerFilesystem(
51 51
             $fs,
52
-            fn () => false
52
+            fn() => false
53 53
         );
54 54
 
55 55
         $path = 'foo.ext';
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
 
67 67
         $this->sut->registerFilesystem(
68 68
             $fs1,
69
-            fn () => false
69
+            fn() => false
70 70
         );
71 71
         $this->sut->registerFilesystem(
72 72
             $fs2,
73
-            fn () => true
73
+            fn() => true
74 74
         );
75 75
 
76 76
         $path = 'foo.ext';
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         $this->sut->registerFilesystem(
102 102
             $fs,
103
-            fn () => false
103
+            fn() => false
104 104
         );
105 105
 
106 106
         $path = 'foo.ext';
@@ -160,11 +160,11 @@  discard block
 block discarded – undo
160 160
 
161 161
         $this->sut->registerFilesystem(
162 162
             $fs1,
163
-            fn () => false
163
+            fn() => false
164 164
         );
165 165
         $this->sut->registerFilesystem(
166 166
             $fs2,
167
-            fn () => true
167
+            fn() => true
168 168
         );
169 169
 
170 170
         $path = 'foo.ext';
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 
197 197
         $this->sut->registerFilesystem(
198 198
             $fs,
199
-            fn () => false
199
+            fn() => false
200 200
         );
201 201
 
202 202
         $path    = 'foo.ext';
@@ -242,11 +242,11 @@  discard block
 block discarded – undo
242 242
 
243 243
         $this->sut->registerFilesystem(
244 244
             $fs1,
245
-            fn () => false
245
+            fn() => false
246 246
         );
247 247
         $this->sut->registerFilesystem(
248 248
             $fs2,
249
-            fn () => true
249
+            fn() => true
250 250
         );
251 251
 
252 252
         $path    = 'foo.ext';
Please login to merge, or discard this patch.
tests/Assets/CacheManager/DummyTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
         $this->sut->registerFilesystem(
53 53
             $fs,
54
-            fn () => false
54
+            fn() => false
55 55
         );
56 56
 
57 57
         $path = 'foo.ext';
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $this->sut->registerFilesystem(
80 80
             $fs,
81
-            fn () => false
81
+            fn() => false
82 82
         );
83 83
 
84 84
         $path = 'foo.ext';
@@ -138,11 +138,11 @@  discard block
 block discarded – undo
138 138
 
139 139
         $this->sut->registerFilesystem(
140 140
             $fs1,
141
-            fn () => false
141
+            fn() => false
142 142
         );
143 143
         $this->sut->registerFilesystem(
144 144
             $fs2,
145
-            fn () => true
145
+            fn() => true
146 146
         );
147 147
 
148 148
         $path = 'foo.ext';
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
         $this->sut->registerFilesystem(
176 176
             $fs,
177
-            fn () => false
177
+            fn() => false
178 178
         );
179 179
 
180 180
         $path    = 'foo.ext';
@@ -220,11 +220,11 @@  discard block
 block discarded – undo
220 220
 
221 221
         $this->sut->registerFilesystem(
222 222
             $fs1,
223
-            fn () => false
223
+            fn() => false
224 224
         );
225 225
         $this->sut->registerFilesystem(
226 226
             $fs2,
227
-            fn () => true
227
+            fn() => true
228 228
         );
229 229
 
230 230
         $path    = 'foo.ext';
Please login to merge, or discard this patch.
tests/Html/TagTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 
110 110
     public function testUnsetAttributeValueWorksIfAttributeIsSetButValueIsNot(): void
111 111
     {
112
-        $key   = 'foo';
112
+        $key = 'foo';
113 113
         $value1 = 'bar';
114 114
         $value2 = 'baz';
115 115
 
Please login to merge, or discard this patch.
tests/Http/Middleware/SessionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         /** @var Response|MockObject $requestMock */
57 57
         $responseMock = $this->createMock(Response::class);
58 58
 
59
-        $next = fn () => $responseMock;
59
+        $next = fn() => $responseMock;
60 60
 
61 61
         $actualResult = $this->sut->handle($requestMock, $next);
62 62
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         /** @var Response|MockObject $requestMock */
81 81
         $responseMock = $this->createMock(Response::class);
82 82
 
83
-        $next = fn () => $responseMock;
83
+        $next = fn() => $responseMock;
84 84
 
85 85
         $this->sessionHandlerMock->expects($this->once())->method('gc');
86 86
 
Please login to merge, or discard this patch.
tests/Http/Middleware/SecurityTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         /** @var Response|MockObject $requestMock */
36 36
         $responseMock = $this->createMock(Response::class);
37 37
 
38
-        $next = fn () => $responseMock;
38
+        $next = fn() => $responseMock;
39 39
 
40 40
         $this->cacheBridgeMock->expects($this->never())->method('get');
41 41
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         /** @var Response|MockObject $requestMock */
55 55
         $responseMock = $this->createMock(Response::class);
56 56
 
57
-        $next = fn () => $responseMock;
57
+        $next = fn() => $responseMock;
58 58
 
59 59
         $this->cacheBridgeMock->expects($this->once())->method('get')->willReturn(true);
60 60
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         /** @var Response|MockObject $requestMock */
74 74
         $responseMock = $this->createMock(Response::class);
75 75
 
76
-        $next = fn () => $responseMock;
76
+        $next = fn() => $responseMock;
77 77
 
78 78
         $sut->setVar(
79 79
             [
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         /** @var Response|MockObject $requestMock */
109 109
         $responseMock = $this->createMock(Response::class);
110 110
 
111
-        $next = fn () => $responseMock;
111
+        $next = fn() => $responseMock;
112 112
 
113 113
         $sut->setVar(
114 114
             [
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         /** @var Response|MockObject $requestMock */
293 293
         $responseMock = $this->createMock(Response::class);
294 294
 
295
-        $next = fn () => $responseMock;
295
+        $next = fn() => $responseMock;
296 296
 
297 297
         $sut->setVar($environmentData);
298 298
 
Please login to merge, or discard this patch.
tests/Http/Middleware/EnvironmentWarningTest.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
         /** @var Response|MockObject $requestMock */
35 35
         $responseMock = $this->createMock(Response::class);
36 36
 
37
-        $next = fn () => $responseMock;
37
+        $next = fn() => $responseMock;
38 38
 
39 39
         $responseMock->expects($this->never())->method('setContent');
40 40
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         /** @var Response|MockObject $requestMock */
54 54
         $responseMock = $this->createMock(Response::class);
55 55
 
56
-        $next = fn () => $responseMock;
56
+        $next = fn() => $responseMock;
57 57
 
58 58
         $responseMock->expects($this->atLeastOnce())->method('setContent');
59 59
 
Please login to merge, or discard this patch.