@@ -61,7 +61,7 @@ |
||
| 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); |
@@ -93,7 +93,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -30,14 +30,14 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function register() |
| 32 | 32 | { |
| 33 | - if ($this->app->runningInConsole() && ! $this->app->runningUnitTests()) { |
|
| 33 | + if ($this->app->runningInConsole() && !$this->app->runningUnitTests()) { |
|
| 34 | 34 | $this->app->singleton(ListenerContract::class, Listener::class); |
| 35 | 35 | |
| 36 | 36 | $appExceptionHandler = $this->app->make(ExceptionHandlerContract::class); |
| 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 | ); |