Passed
Push — master ( d7aea6...81059b )
by Dmitry
02:40
created
src/Expectation/Internal/ObjectExceptionMatcher.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,21 +19,21 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function withMessage($message) {
21 21
         $this->startStep('has message "' . $message . '"')
22
-             ->expectExceptionMessage($message);
22
+                ->expectExceptionMessage($message);
23 23
 
24 24
         return $this;
25 25
     }
26 26
 
27 27
     public function withMessageMatchesPattern($messagePattern) {
28 28
         $this->startStep('has message matching pattern "' . $messagePattern . '"')
29
-             ->expectExceptionMessageRegExp($messagePattern);
29
+                ->expectExceptionMessageRegExp($messagePattern);
30 30
 
31 31
         return $this;
32 32
     }
33 33
 
34 34
     public function withCode($code) {
35 35
         $this->startStep('has code "' . $code . '"')
36
-             ->expectExceptionCode($code);
36
+                ->expectExceptionCode($code);
37 37
 
38 38
         return $this;
39 39
     }
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
         $exceptionClassOrObject = $this->exceptionClassOrObject;
54 54
         if (is_string($exceptionClassOrObject)) {
55 55
             $this->startStep('throws exception "' . $exceptionClassOrObject . '"')
56
-                 ->expectException($this->exceptionClassOrObject);
56
+                    ->expectException($this->exceptionClassOrObject);
57 57
         } else {
58 58
             $this->startStep('throws exception "' . get_class($exceptionClassOrObject) . '"')
59
-                 ->expectExceptionObject($this->exceptionClassOrObject);
59
+                    ->expectExceptionObject($this->exceptionClassOrObject);
60 60
         }
61 61
 
62 62
         call_user_func_array($callback, [$this->getActualValue()]);
Please login to merge, or discard this patch.