Passed
Push — master ( 0ef6c1...7bd689 )
by butschster
05:57 queued 17s
created
src/Exceptions/tests/ExceptionHandlerTest.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     private function makeEmptyErrorHandler(): ExceptionHandler
141 141
     {
142
-        return new class extends ExceptionHandler {
142
+        return new class extends ExceptionHandler{
143 143
             protected function bootBasicHandlers(): void
144 144
             {
145 145
             }
@@ -154,17 +154,17 @@  discard block
 block discarded – undo
154 154
     public static function nonReportableExceptionsDataProvider(): \Traversable
155 155
     {
156 156
         yield [new BadRequestException()];
157
-        yield [new class extends BadRequestException {}];
157
+        yield [new class extends BadRequestException{}];
158 158
         yield [new NotFoundException()];
159
-        yield [new class extends NotFoundException {}];
159
+        yield [new class extends NotFoundException{}];
160 160
         yield [new ForbiddenException()];
161
-        yield [new class extends ForbiddenException {}];
161
+        yield [new class extends ForbiddenException{}];
162 162
         yield [new UnauthorizedException()];
163
-        yield [new class extends UnauthorizedException {}];
163
+        yield [new class extends UnauthorizedException{}];
164 164
         yield [new AuthorizationException()];
165
-        yield [new class extends AuthorizationException {}];
165
+        yield [new class extends AuthorizationException{}];
166 166
         yield [new ValidationException([])];
167
-        yield [new class([]) extends ValidationException {}];
167
+        yield [new class([]) extends ValidationException{}];
168 168
         yield [new TestException()];
169 169
     }
170 170
 }
Please login to merge, or discard this patch.
Braces   +20 added lines, -7 removed lines patch added patch discarded remove patch
@@ -139,7 +139,8 @@  discard block
 block discarded – undo
139 139
 
140 140
     private function makeEmptyErrorHandler(): ExceptionHandler
141 141
     {
142
-        return new class extends ExceptionHandler {
142
+        return new class extends ExceptionHandler
143
+        {
143 144
             protected function bootBasicHandlers(): void
144 145
             {
145 146
             }
@@ -154,17 +155,29 @@  discard block
 block discarded – undo
154 155
     public static function nonReportableExceptionsDataProvider(): \Traversable
155 156
     {
156 157
         yield [new BadRequestException()];
157
-        yield [new class extends BadRequestException {}];
158
+        yield [new class extends BadRequestException
159
+        {
160
+}];
158 161
         yield [new NotFoundException()];
159
-        yield [new class extends NotFoundException {}];
162
+        yield [new class extends NotFoundException
163
+        {
164
+}];
160 165
         yield [new ForbiddenException()];
161
-        yield [new class extends ForbiddenException {}];
166
+        yield [new class extends ForbiddenException
167
+        {
168
+}];
162 169
         yield [new UnauthorizedException()];
163
-        yield [new class extends UnauthorizedException {}];
170
+        yield [new class extends UnauthorizedException
171
+        {
172
+}];
164 173
         yield [new AuthorizationException()];
165
-        yield [new class extends AuthorizationException {}];
174
+        yield [new class extends AuthorizationException
175
+        {
176
+}];
166 177
         yield [new ValidationException([])];
167
-        yield [new class([]) extends ValidationException {}];
178
+        yield [new class([]) extends ValidationException
179
+        {
180
+}];
168 181
         yield [new TestException()];
169 182
     }
170 183
 }
Please login to merge, or discard this patch.