Passed
Pull Request — stable (#28)
by Tomáš
01:56
created
src/Adapters/Phpunit/Listener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     public function render(\Throwable $e)
63 63
     {
64
-        if (! static::$exceptionFound) {
64
+        if (!static::$exceptionFound) {
65 65
             $inspector = new Inspector($e);
66 66
 
67 67
             $this->writer->write($inspector);
Please login to merge, or discard this patch.
src/Adapters/Laravel/CollisionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
             $this->app->singleton(
39 39
                 ExceptionHandlerContract::class,
40
-                function ($app) use ($appExceptionHandler) {
40
+                function($app) use ($appExceptionHandler) {
41 41
                     return new ExceptionHandler($app, $appExceptionHandler);
42 42
                 }
43 43
             );
Please login to merge, or discard this patch.
src/Writer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             $this->renderEditor($editorFrame);
94 94
         }
95 95
 
96
-        if ($this->showTrace && ! empty($frames)) {
96
+        if ($this->showTrace && !empty($frames)) {
97 97
             $this->renderTrace($frames);
98 98
         } else {
99 99
             $this->output->writeln('');
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     {
160 160
         return $inspector->getFrames()
161 161
             ->filter(
162
-                function ($frame) {
162
+                function($frame) {
163 163
                     foreach ($this->ignore as $ignore) {
164 164
                         if (preg_match($ignore, $frame->getFile())) {
165 165
                             return false;
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
         $range = $frame->getFileLines($frame->getLine() - 5, 10);
206 206
 
207
-        if (! empty($range)) {
207
+        if (!empty($range)) {
208 208
             foreach ($range as $k => $code) {
209 209
                 $line = $k + 1;
210 210
                 $code = $line === $frame->getLine() ? "<bg=red>$code</>" : $code;
Please login to merge, or discard this patch.