Completed
Push — zend-sentry-inject-static-nonc... ( c3347b...8d9858 )
by Markus
43:09 queued 21:37
created
src/ZendSentry/Mvc/View/Http/ExceptionStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function setDisplayExceptions($displayExceptions): ExceptionStrategy
69 69
     {
70
-        $this->displayExceptions = (bool)$displayExceptions;
70
+        $this->displayExceptions = (bool) $displayExceptions;
71 71
         return $this;
72 72
     }
73 73
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     public function setExceptionTemplate($exceptionTemplate): ExceptionStrategy
183 183
     {
184
-        $this->exceptionTemplate = (string)$exceptionTemplate;
184
+        $this->exceptionTemplate = (string) $exceptionTemplate;
185 185
         return $this;
186 186
     }
187 187
 }
188 188
\ No newline at end of file
Please login to merge, or discard this patch.
src/ZendSentry/Mvc/View/Console/ExceptionStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function setDisplayExceptions($displayExceptions): ExceptionStrategy
82 82
     {
83
-        $this->displayExceptions = (bool)$displayExceptions;
83
+        $this->displayExceptions = (bool) $displayExceptions;
84 84
         return $this;
85 85
     }
86 86
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
                 if (\is_callable($this->message)) {
185 185
                     $callback = $this->message;
186
-                    $message  = (string)$callback($exception, $this->displayExceptions);
186
+                    $message  = (string) $callback($exception, $this->displayExceptions);
187 187
                 } elseif ($this->displayExceptions && $exception instanceof \Exception) {
188 188
                     /* @var $exception \Exception */
189 189
                     $message = str_replace(
Please login to merge, or discard this patch.
tests/ZendSentryTest/ModuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $expectedConfig = [
34 34
             StandardAutoloader::class => [
35 35
                 'namespaces' => [
36
-                    'ZendSentry' => realpath(__DIR__ . '/../../src/ZendSentry')
36
+                    'ZendSentry' => realpath(__DIR__.'/../../src/ZendSentry')
37 37
                 ]
38 38
             ]
39 39
         ];
Please login to merge, or discard this patch.