Completed
Push — master ( 96f5c0...6ce451 )
by Dmitry
03:33
created
src/Expectation/Mixin/FileStateExpectations.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function isReadable() {
22 22
         $this->isExist();
23 23
         $this->startStep('is readable')
24
-             ->assertIsReadable();
24
+                ->assertIsReadable();
25 25
 
26 26
         return $this;
27 27
     }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function isNotReadable() {
33 33
         $this->isExist();
34 34
         $this->startStep('is not readable')
35
-             ->assertNotIsReadable();
35
+                ->assertNotIsReadable();
36 36
 
37 37
         return $this;
38 38
     }
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function isWritable() {
44 44
         $this->isExist();
45 45
         $this->startStep('is writable')
46
-             ->assertIsWritable();
46
+                ->assertIsWritable();
47 47
 
48 48
         return $this;
49 49
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function isNotWritable() {
55 55
         $this->isExist();
56 56
         $this->startStep('is not writable')
57
-             ->assertNotIsWritable();
57
+                ->assertNotIsWritable();
58 58
 
59 59
         return $this;
60 60
     }
Please login to merge, or discard this patch.
src/Expectation/Internal/ObjectExceptionMatcher.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,21 +18,21 @@  discard block
 block discarded – undo
18 18
     public $exceptionClassOrObject;
19 19
     public function withMessage($message) {
20 20
         $this->startStep('has message "' . $message . '"')
21
-             ->expectExceptionMessage($message);
21
+                ->expectExceptionMessage($message);
22 22
 
23 23
         return $this;
24 24
     }
25 25
 
26 26
     public function withMessageMatchesPattern($messagePattern) {
27 27
         $this->startStep('has message matching pattern "' . $messagePattern . '"')
28
-             ->expectExceptionMessageRegExp($messagePattern);
28
+                ->expectExceptionMessageRegExp($messagePattern);
29 29
 
30 30
         return $this;
31 31
     }
32 32
 
33 33
     public function withCode($code) {
34 34
         $this->startStep('has code "' . $code . '"')
35
-             ->expectExceptionCode($code);
35
+                ->expectExceptionCode($code);
36 36
 
37 37
         return $this;
38 38
     }
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
         $exceptionClassOrObject = $this->exceptionClassOrObject;
53 53
         if (is_string($exceptionClassOrObject)) {
54 54
             $this->startStep('throws exception "' . $exceptionClassOrObject . '"')
55
-                 ->expectException($this->exceptionClassOrObject);
55
+                    ->expectException($this->exceptionClassOrObject);
56 56
         } else {
57 57
             $this->startStep('throws exception "' . get_class($exceptionClassOrObject) . '"')
58
-                 ->expectExceptionObject($this->exceptionClassOrObject);
58
+                    ->expectExceptionObject($this->exceptionClassOrObject);
59 59
         }
60 60
 
61 61
         call_user_func_array($callback, [$this->getActualValue()]);
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,21 +17,21 @@  discard block
 block discarded – undo
17 17
 class ObjectExceptionMatcher extends Matcher {
18 18
     public $exceptionClassOrObject;
19 19
     public function withMessage($message) {
20
-        $this->startStep('has message "' . $message . '"')
20
+        $this->startStep('has message "'.$message.'"')
21 21
              ->expectExceptionMessage($message);
22 22
 
23 23
         return $this;
24 24
     }
25 25
 
26 26
     public function withMessageMatchesPattern($messagePattern) {
27
-        $this->startStep('has message matching pattern "' . $messagePattern . '"')
27
+        $this->startStep('has message matching pattern "'.$messagePattern.'"')
28 28
              ->expectExceptionMessageRegExp($messagePattern);
29 29
 
30 30
         return $this;
31 31
     }
32 32
 
33 33
     public function withCode($code) {
34
-        $this->startStep('has code "' . $code . '"')
34
+        $this->startStep('has code "'.$code.'"')
35 35
              ->expectExceptionCode($code);
36 36
 
37 37
         return $this;
@@ -51,10 +51,10 @@  discard block
 block discarded – undo
51 51
     public function when(callable $callback) {
52 52
         $exceptionClassOrObject = $this->exceptionClassOrObject;
53 53
         if (is_string($exceptionClassOrObject)) {
54
-            $this->startStep('throws exception "' . $exceptionClassOrObject . '"')
54
+            $this->startStep('throws exception "'.$exceptionClassOrObject.'"')
55 55
                  ->expectException($this->exceptionClassOrObject);
56 56
         } else {
57
-            $this->startStep('throws exception "' . get_class($exceptionClassOrObject) . '"')
57
+            $this->startStep('throws exception "'.get_class($exceptionClassOrObject).'"')
58 58
                  ->expectExceptionObject($this->exceptionClassOrObject);
59 59
         }
60 60
 
Please login to merge, or discard this patch.
src/Expectation/Internal/StepsList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@
 block discarded – undo
33 33
 
34 34
     public function convertToString(): string {
35 35
         $message = implode(PHP_EOL, $this->steps);
36
-        $message = $message ? $message . PHP_EOL : $message;
36
+        $message = $message ? $message.PHP_EOL : $message;
37 37
 
38
-        return (string)$message;
38
+        return (string) $message;
39 39
     }
40 40
 
41 41
     public function clear() {
Please login to merge, or discard this patch.
src/Expectation/Matcher/ObjectMatcher.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      */
18 18
     public function isInstanceOf($class): self {
19 19
         $this->startStep('is instance of "' . $class . '"')
20
-             ->assertInstanceOf($class);
20
+                ->assertInstanceOf($class);
21 21
 
22 22
         return $this;
23 23
     }
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function isNotInstanceOf($class): self {
29 29
         $this->startStep('is not instance of "' . $class . '"')
30
-             ->assertNotInstanceOf($class);
30
+                ->assertNotInstanceOf($class);
31 31
 
32 32
         return $this;
33 33
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public function isEqualToXmlStructure($expectedElement): self {
42 42
         $this->isInstanceOf(DOMElement::class);
43 43
         $this->startStep('is equal to expected DOMElement')
44
-             ->assertEqualXMLStructure($expectedElement, false);
44
+                ->assertEqualXMLStructure($expectedElement, false);
45 45
 
46 46
         return $this;
47 47
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public function isEqualToXmlStructureAndItsAttributes($expectedElement): self {
60 60
         $this->isInstanceOf(DOMElement::class);
61 61
         $this->startStep('is equal to xml structure and it\'s attributes in DOMElement')
62
-             ->assertEqualXMLStructure($expectedElement, true);
62
+                ->assertEqualXMLStructure($expectedElement, true);
63 63
 
64 64
         return $this;
65 65
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function hasAttribute($attribute): self {
71 71
         $this->startStep('has attribute "' . $attribute . '"')
72
-             ->assertObjectHasAttribute($attribute);
72
+                ->assertObjectHasAttribute($attribute);
73 73
 
74 74
         return $this;
75 75
     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function doesNotHaveAttribute($attribute): self {
81 81
         $this->startStep('does not have attribute "' . $attribute . '"')
82
-             ->assertObjectNotHasAttribute($attribute);
82
+                ->assertObjectNotHasAttribute($attribute);
83 83
 
84 84
         return $this;
85 85
     }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      * @return $this
17 17
      */
18 18
     public function isInstanceOf($class): self {
19
-        $this->startStep('is instance of "' . $class . '"')
19
+        $this->startStep('is instance of "'.$class.'"')
20 20
              ->assertInstanceOf($class);
21 21
 
22 22
         return $this;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @return $this
27 27
      */
28 28
     public function isNotInstanceOf($class): self {
29
-        $this->startStep('is not instance of "' . $class . '"')
29
+        $this->startStep('is not instance of "'.$class.'"')
30 30
              ->assertNotInstanceOf($class);
31 31
 
32 32
         return $this;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @return $this
69 69
      */
70 70
     public function hasAttribute($attribute): self {
71
-        $this->startStep('has attribute "' . $attribute . '"')
71
+        $this->startStep('has attribute "'.$attribute.'"')
72 72
              ->assertObjectHasAttribute($attribute);
73 73
 
74 74
         return $this;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @return $this
79 79
      */
80 80
     public function doesNotHaveAttribute($attribute): self {
81
-        $this->startStep('does not have attribute "' . $attribute . '"')
81
+        $this->startStep('does not have attribute "'.$attribute.'"')
82 82
              ->assertObjectNotHasAttribute($attribute);
83 83
 
84 84
         return $this;
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function throwsException($exceptionClassOrObject): ObjectExceptionMatcher {
95 95
         $class = is_string($exceptionClassOrObject) ? $exceptionClassOrObject : get_class($exceptionClassOrObject);
96
-        $matcher = $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "' . $class . '"');
96
+        $matcher = $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "'.$class.'"');
97 97
 
98 98
         $matcher->exceptionClassOrObject = $exceptionClassOrObject;
99 99
 
Please login to merge, or discard this patch.
src/Expectation/Matcher/FileMatcher.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function isExist(): self {
21 21
         $this->startStep('is exist')
22
-             ->assertFileExists();
22
+                ->assertFileExists();
23 23
 
24 24
         return $this;
25 25
     }
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function isNotExist(): self {
31 31
         $this->startStep('is not exist')
32
-             ->assertFileNotExists();
32
+                ->assertFileNotExists();
33 33
 
34 34
         return $this;
35 35
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function isEqualTo($file): self {
41 41
         $this->startStep('is equal to file "' . $file . '"')
42
-             ->assertFileEquals($file);
42
+                ->assertFileEquals($file);
43 43
 
44 44
         return $this;
45 45
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function isNotEqualTo($file): self {
51 51
         $this->startStep('is not equal to file "' . $file . '"')
52
-             ->assertFileNotEquals($file);
52
+                ->assertFileNotEquals($file);
53 53
 
54 54
         return $this;
55 55
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function isEqualToJsonFile($file): self {
61 61
         $this->startStep('is equal to json file "' . $file . '"')
62
-             ->assertJsonFileEqualsJsonFile($file);
62
+                ->assertJsonFileEqualsJsonFile($file);
63 63
 
64 64
         return $this;
65 65
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function isNotEqualToJsonFile($file): self {
71 71
         $this->startStep('is not equal to json file "' . $file . '"')
72
-             ->assertJsonFileNotEqualsJsonFile($file);
72
+                ->assertJsonFileNotEqualsJsonFile($file);
73 73
 
74 74
         return $this;
75 75
     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function isEqualToXmlFile($file): self {
81 81
         $this->startStep('is equal to xml file "' . $file . '"')
82
-             ->assertXmlFileEqualsXmlFile($file);
82
+                ->assertXmlFileEqualsXmlFile($file);
83 83
 
84 84
         return $this;
85 85
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function isNotEqualToXmlFile($file): self {
91 91
         $this->startStep('is not equal to xml file "' . $file . '"')
92
-             ->assertXmlFileNotEqualsXmlFile($file);
92
+                ->assertXmlFileNotEqualsXmlFile($file);
93 93
 
94 94
         return $this;
95 95
     }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @return $this
39 39
      */
40 40
     public function isEqualTo($file): self {
41
-        $this->startStep('is equal to file "' . $file . '"')
41
+        $this->startStep('is equal to file "'.$file.'"')
42 42
              ->assertFileEquals($file);
43 43
 
44 44
         return $this;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @return $this
49 49
      */
50 50
     public function isNotEqualTo($file): self {
51
-        $this->startStep('is not equal to file "' . $file . '"')
51
+        $this->startStep('is not equal to file "'.$file.'"')
52 52
              ->assertFileNotEquals($file);
53 53
 
54 54
         return $this;
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @return $this
59 59
      */
60 60
     public function isEqualToJsonFile($file): self {
61
-        $this->startStep('is equal to json file "' . $file . '"')
61
+        $this->startStep('is equal to json file "'.$file.'"')
62 62
              ->assertJsonFileEqualsJsonFile($file);
63 63
 
64 64
         return $this;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @return $this
69 69
      */
70 70
     public function isNotEqualToJsonFile($file): self {
71
-        $this->startStep('is not equal to json file "' . $file . '"')
71
+        $this->startStep('is not equal to json file "'.$file.'"')
72 72
              ->assertJsonFileNotEqualsJsonFile($file);
73 73
 
74 74
         return $this;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @return $this
79 79
      */
80 80
     public function isEqualToXmlFile($file): self {
81
-        $this->startStep('is equal to xml file "' . $file . '"')
81
+        $this->startStep('is equal to xml file "'.$file.'"')
82 82
              ->assertXmlFileEqualsXmlFile($file);
83 83
 
84 84
         return $this;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @return $this
89 89
      */
90 90
     public function isNotEqualToXmlFile($file): self {
91
-        $this->startStep('is not equal to xml file "' . $file . '"')
91
+        $this->startStep('is not equal to xml file "'.$file.'"')
92 92
              ->assertXmlFileNotEqualsXmlFile($file);
93 93
 
94 94
         return $this;
Please login to merge, or discard this patch.
src/Expectation/Matcher/StringMatcher.php 2 patches
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function isJson(): self {
16 16
         $this->startStep('is JSON')
17
-             ->assertJson();
17
+                ->assertJson();
18 18
 
19 19
         return $this;
20 20
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function isEqualToJsonFile($file): self {
26 26
         $this->startStep('is equal to JSON file "' . $file . '"')
27
-             ->assertJsonStringEqualsJsonFile($file);
27
+                ->assertJsonStringEqualsJsonFile($file);
28 28
 
29 29
         return $this;
30 30
     }
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function isNotEqualToJsonFile($file): self {
36 36
         $this->startStep('is not equal to JSON file "' . $file . '"')
37
-             ->assertJsonStringNotEqualsJsonFile($file);
37
+                ->assertJsonStringNotEqualsJsonFile($file);
38 38
 
39 39
         return $this;
40 40
     }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function isEqualToJsonString($string): self {
46 46
         $this->startStep('is equal to JSON string "' . $string . '"')
47
-             ->assertJsonStringEqualsJsonString($string);
47
+                ->assertJsonStringEqualsJsonString($string);
48 48
 
49 49
         return $this;
50 50
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function isNotEqualToJsonString($string): self {
56 56
         $this->startStep('is not equal to JSON string "' . $string . '"')
57
-             ->assertJsonStringNotEqualsJsonString($string);
57
+                ->assertJsonStringNotEqualsJsonString($string);
58 58
 
59 59
         return $this;
60 60
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function isEqualToFile($file): self {
66 66
         $this->startStep('is equal to file "' . $file . '"')
67
-             ->assertStringEqualsFile($file);
67
+                ->assertStringEqualsFile($file);
68 68
 
69 69
         return $this;
70 70
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function isNotEqualToFile($file): self {
76 76
         $this->startStep('is not equal to file "' . $file . '"')
77
-             ->assertStringNotEqualsFile($file);
77
+                ->assertStringNotEqualsFile($file);
78 78
 
79 79
         return $this;
80 80
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function isEqualToXmlFile($file): self {
86 86
         $this->startStep('is equal to XML file "' . $file . '"')
87
-             ->assertXmlStringEqualsXmlFile($file);
87
+                ->assertXmlStringEqualsXmlFile($file);
88 88
 
89 89
         return $this;
90 90
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function isNotEqualToXmlFile($file): self {
96 96
         $this->startStep('is not equal to XML file "' . $file . '"')
97
-             ->assertXmlStringNotEqualsXmlFile($file);
97
+                ->assertXmlStringNotEqualsXmlFile($file);
98 98
 
99 99
         return $this;
100 100
     }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function isEqualToXmlString($xmlString): self {
106 106
         $this->startStep('is equal to XML string "' . $xmlString . '"')
107
-             ->assertXmlStringEqualsXmlString($xmlString);
107
+                ->assertXmlStringEqualsXmlString($xmlString);
108 108
 
109 109
         return $this;
110 110
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function isNotEqualToXmlString($xmlString): self {
116 116
         $this->startStep('is not equal to XML string "' . $xmlString . '"')
117
-             ->assertXmlStringNotEqualsXmlString($xmlString);
117
+                ->assertXmlStringNotEqualsXmlString($xmlString);
118 118
 
119 119
         return $this;
120 120
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function startsWith($prefix): self {
126 126
         $this->startStep('starts with "' . $prefix . '"')
127
-             ->assertStringStartsWith($prefix);
127
+                ->assertStringStartsWith($prefix);
128 128
 
129 129
         return $this;
130 130
     }
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function doesNotStartWith($prefix): self {
136 136
         $this->startStep('does not start with "' . $prefix . '"')
137
-             ->assertStringStartsNotWith($prefix);
137
+                ->assertStringStartsNotWith($prefix);
138 138
 
139 139
         return $this;
140 140
     }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function endsWith($suffix): self {
146 146
         $this->startStep('ends with "' . $suffix . '"')
147
-             ->assertStringEndsWith($suffix);
147
+                ->assertStringEndsWith($suffix);
148 148
 
149 149
         return $this;
150 150
     }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     public function doesNotEndWith($suffix): self {
156 156
         $this->startStep('does not end with "' . $suffix . '"')
157
-             ->assertStringEndsNotWith($suffix);
157
+                ->assertStringEndsNotWith($suffix);
158 158
 
159 159
         return $this;
160 160
     }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function matchesRegExp($expression): self {
166 166
         $this->startStep('matches regular expression "' . $expression . '"')
167
-             ->assertRegExp($expression);
167
+                ->assertRegExp($expression);
168 168
 
169 169
         return $this;
170 170
     }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      */
175 175
     public function matchesFormat($format): self {
176 176
         $this->startStep('matches format "' . $format . '"')
177
-             ->assertStringMatchesFormat($format);
177
+                ->assertStringMatchesFormat($format);
178 178
 
179 179
         return $this;
180 180
     }
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      */
185 185
     public function doesNotMatchFormat($format): self {
186 186
         $this->startStep('does not match format "' . $format . '"')
187
-             ->assertStringNotMatchesFormat($format);
187
+                ->assertStringNotMatchesFormat($format);
188 188
 
189 189
         return $this;
190 190
     }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function matchesFormatFromFile($formatFile): self {
196 196
         $this->startStep('matches format from file "' . $formatFile . '"')
197
-             ->assertStringMatchesFormatFile($formatFile);
197
+                ->assertStringMatchesFormatFile($formatFile);
198 198
 
199 199
         return $this;
200 200
     }
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      */
205 205
     public function doesNotMatchFormatFromFile($formatFile): self {
206 206
         $this->startStep('does not match format from file "' . $formatFile . '"')
207
-             ->assertStringNotMatchesFormatFile($formatFile);
207
+                ->assertStringNotMatchesFormatFile($formatFile);
208 208
 
209 209
         return $this;
210 210
     }
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      */
215 215
     public function contains($needle): self {
216 216
         $this->startStep('contains "' . $needle . '"')
217
-             ->assertContains($needle);
217
+                ->assertContains($needle);
218 218
 
219 219
         return $this;
220 220
     }
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      */
225 225
     public function doesNotContain($needle): self {
226 226
         $this->startStep('does not contain "' . $needle . '"')
227
-             ->assertNotContains($needle);
227
+                ->assertNotContains($needle);
228 228
 
229 229
         return $this;
230 230
     }
Please login to merge, or discard this patch.
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @return $this
24 24
      */
25 25
     public function isEqualToJsonFile($file): self {
26
-        $this->startStep('is equal to JSON file "' . $file . '"')
26
+        $this->startStep('is equal to JSON file "'.$file.'"')
27 27
              ->assertJsonStringEqualsJsonFile($file);
28 28
 
29 29
         return $this;
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @return $this
34 34
      */
35 35
     public function isNotEqualToJsonFile($file): self {
36
-        $this->startStep('is not equal to JSON file "' . $file . '"')
36
+        $this->startStep('is not equal to JSON file "'.$file.'"')
37 37
              ->assertJsonStringNotEqualsJsonFile($file);
38 38
 
39 39
         return $this;
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * @return $this
44 44
      */
45 45
     public function isEqualToJsonString($string): self {
46
-        $this->startStep('is equal to JSON string "' . $string . '"')
46
+        $this->startStep('is equal to JSON string "'.$string.'"')
47 47
              ->assertJsonStringEqualsJsonString($string);
48 48
 
49 49
         return $this;
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @return $this
54 54
      */
55 55
     public function isNotEqualToJsonString($string): self {
56
-        $this->startStep('is not equal to JSON string "' . $string . '"')
56
+        $this->startStep('is not equal to JSON string "'.$string.'"')
57 57
              ->assertJsonStringNotEqualsJsonString($string);
58 58
 
59 59
         return $this;
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @return $this
64 64
      */
65 65
     public function isEqualToFile($file): self {
66
-        $this->startStep('is equal to file "' . $file . '"')
66
+        $this->startStep('is equal to file "'.$file.'"')
67 67
              ->assertStringEqualsFile($file);
68 68
 
69 69
         return $this;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @return $this
74 74
      */
75 75
     public function isNotEqualToFile($file): self {
76
-        $this->startStep('is not equal to file "' . $file . '"')
76
+        $this->startStep('is not equal to file "'.$file.'"')
77 77
              ->assertStringNotEqualsFile($file);
78 78
 
79 79
         return $this;
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @return $this
84 84
      */
85 85
     public function isEqualToXmlFile($file): self {
86
-        $this->startStep('is equal to XML file "' . $file . '"')
86
+        $this->startStep('is equal to XML file "'.$file.'"')
87 87
              ->assertXmlStringEqualsXmlFile($file);
88 88
 
89 89
         return $this;
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * @return $this
94 94
      */
95 95
     public function isNotEqualToXmlFile($file): self {
96
-        $this->startStep('is not equal to XML file "' . $file . '"')
96
+        $this->startStep('is not equal to XML file "'.$file.'"')
97 97
              ->assertXmlStringNotEqualsXmlFile($file);
98 98
 
99 99
         return $this;
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @return $this
104 104
      */
105 105
     public function isEqualToXmlString($xmlString): self {
106
-        $this->startStep('is equal to XML string "' . $xmlString . '"')
106
+        $this->startStep('is equal to XML string "'.$xmlString.'"')
107 107
              ->assertXmlStringEqualsXmlString($xmlString);
108 108
 
109 109
         return $this;
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * @return $this
114 114
      */
115 115
     public function isNotEqualToXmlString($xmlString): self {
116
-        $this->startStep('is not equal to XML string "' . $xmlString . '"')
116
+        $this->startStep('is not equal to XML string "'.$xmlString.'"')
117 117
              ->assertXmlStringNotEqualsXmlString($xmlString);
118 118
 
119 119
         return $this;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @return $this
124 124
      */
125 125
     public function startsWith($prefix): self {
126
-        $this->startStep('starts with "' . $prefix . '"')
126
+        $this->startStep('starts with "'.$prefix.'"')
127 127
              ->assertStringStartsWith($prefix);
128 128
 
129 129
         return $this;
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * @return $this
134 134
      */
135 135
     public function doesNotStartWith($prefix): self {
136
-        $this->startStep('does not start with "' . $prefix . '"')
136
+        $this->startStep('does not start with "'.$prefix.'"')
137 137
              ->assertStringStartsNotWith($prefix);
138 138
 
139 139
         return $this;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * @return $this
144 144
      */
145 145
     public function endsWith($suffix): self {
146
-        $this->startStep('ends with "' . $suffix . '"')
146
+        $this->startStep('ends with "'.$suffix.'"')
147 147
              ->assertStringEndsWith($suffix);
148 148
 
149 149
         return $this;
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * @return $this
154 154
      */
155 155
     public function doesNotEndWith($suffix): self {
156
-        $this->startStep('does not end with "' . $suffix . '"')
156
+        $this->startStep('does not end with "'.$suffix.'"')
157 157
              ->assertStringEndsNotWith($suffix);
158 158
 
159 159
         return $this;
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * @return $this
164 164
      */
165 165
     public function matchesRegExp($expression): self {
166
-        $this->startStep('matches regular expression "' . $expression . '"')
166
+        $this->startStep('matches regular expression "'.$expression.'"')
167 167
              ->assertRegExp($expression);
168 168
 
169 169
         return $this;
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      * @return $this
174 174
      */
175 175
     public function matchesFormat($format): self {
176
-        $this->startStep('matches format "' . $format . '"')
176
+        $this->startStep('matches format "'.$format.'"')
177 177
              ->assertStringMatchesFormat($format);
178 178
 
179 179
         return $this;
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      * @return $this
184 184
      */
185 185
     public function doesNotMatchFormat($format): self {
186
-        $this->startStep('does not match format "' . $format . '"')
186
+        $this->startStep('does not match format "'.$format.'"')
187 187
              ->assertStringNotMatchesFormat($format);
188 188
 
189 189
         return $this;
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      * @return $this
194 194
      */
195 195
     public function matchesFormatFromFile($formatFile): self {
196
-        $this->startStep('matches format from file "' . $formatFile . '"')
196
+        $this->startStep('matches format from file "'.$formatFile.'"')
197 197
              ->assertStringMatchesFormatFile($formatFile);
198 198
 
199 199
         return $this;
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * @return $this
204 204
      */
205 205
     public function doesNotMatchFormatFromFile($formatFile): self {
206
-        $this->startStep('does not match format from file "' . $formatFile . '"')
206
+        $this->startStep('does not match format from file "'.$formatFile.'"')
207 207
              ->assertStringNotMatchesFormatFile($formatFile);
208 208
 
209 209
         return $this;
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      * @return $this
214 214
      */
215 215
     public function contains($needle): self {
216
-        $this->startStep('contains "' . $needle . '"')
216
+        $this->startStep('contains "'.$needle.'"')
217 217
              ->assertContains($needle);
218 218
 
219 219
         return $this;
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * @return $this
224 224
      */
225 225
     public function doesNotContain($needle): self {
226
-        $this->startStep('does not contain "' . $needle . '"')
226
+        $this->startStep('does not contain "'.$needle.'"')
227 227
              ->assertNotContains($needle);
228 228
 
229 229
         return $this;
Please login to merge, or discard this patch.
src/Expectation/Matcher/ArrayMatcher.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function hasKey($key) {
16 16
         $this->startStep('has key "' . $key . '"')
17
-             ->assertArrayHasKey($key);
17
+                ->assertArrayHasKey($key);
18 18
 
19 19
         return $this;
20 20
     }
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function doesNotHaveKey($key) {
29 29
         $this->startStep('does not have key "' . $key . '"')
30
-             ->assertArrayNotHasKey($key);
30
+                ->assertArrayNotHasKey($key);
31 31
 
32 32
         return $this;
33 33
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public function hasSubset($subset, $subsetName = '') {
39 39
         $stepName = $subsetName ? "has subset \"{$subsetName}\"" : 'has expected subset';
40 40
         $this->startStep($stepName)
41
-             ->assertArraySubset($subset, false);
41
+                ->assertArraySubset($subset, false);
42 42
 
43 43
         return $this;
44 44
     }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $stepName = $subsetName ? "has exactly the same subset \"{$subsetName}\"" : 'has exactly the same expected subset';
58 58
 
59 59
         $this->startStep($stepName)
60
-             ->assertArraySubset($subset, true);
60
+                ->assertArraySubset($subset, true);
61 61
 
62 62
         return $this;
63 63
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $stepName = $expectedValueName ? "has same size as {$expectedValueName}" : "has same size as expected";
70 70
 
71 71
         $this->startStep($stepName)
72
-             ->assertSameSize($expected);
72
+                ->assertSameSize($expected);
73 73
 
74 74
         return $this;
75 75
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         $stepName = $expectedValueName ? "does not have same size as {$expectedValueName}" : "does not have same size as expected";
82 82
 
83 83
         $this->startStep($stepName)
84
-             ->assertNotSameSize($expected);
84
+                ->assertNotSameSize($expected);
85 85
 
86 86
         return $this;
87 87
     }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $stepName = $needleName ? "contains {$needleName}" : "contains expected needle";
94 94
 
95 95
         $this->startStep($stepName)
96
-             ->assertContains($needle);
96
+                ->assertContains($needle);
97 97
 
98 98
         return $this;
99 99
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $stepName = $needleName ? "does not contain {$needleName}" : "does not contain expected needle";
106 106
 
107 107
         $this->startStep($stepName)
108
-             ->assertNotContains($needle);
108
+                ->assertNotContains($needle);
109 109
 
110 110
         return $this;
111 111
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function containsOnlyValuesOfType($type) {
117 117
         $this->startStep('contains only values of type "' . $type . '"')
118
-             ->assertContainsOnly($type);
118
+                ->assertContainsOnly($type);
119 119
 
120 120
         return $this;
121 121
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function containsOnlyValuesOfNativeType($type) {
127 127
         $this->startStep('contains only values of native type "' . $type . '"')
128
-             ->assertContainsOnly($type, true);
128
+                ->assertContainsOnly($type, true);
129 129
 
130 130
         return $this;
131 131
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function containsOnlyInstancesOf($class) {
137 137
         $this->startStep('contains only instances of "' . $class . '"')
138
-             ->assertContainsOnlyInstancesOf($class);
138
+                ->assertContainsOnlyInstancesOf($class);
139 139
 
140 140
         return $this;
141 141
     }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function doesNotContainOnlyValuesOfType($type) {
147 147
         $this->startStep('does not contain only values of type "' . $type . '"')
148
-             ->assertNotContainsOnly($type, null);
148
+                ->assertNotContainsOnly($type, null);
149 149
 
150 150
         return $this;
151 151
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function doesNotContainOnlyValuesOfNativeType($type) {
157 157
         $this->startStep('does not contain only values of native type "' . $type . '"')
158
-             ->assertNotContainsOnly($type, true);
158
+                ->assertNotContainsOnly($type, true);
159 159
 
160 160
         return $this;
161 161
     }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         $stepName = $expectedValueName ? "has count equal to count of {$expectedValueName}" : "has count equal to count of expected";
168 168
 
169 169
         $this->startStep($stepName)
170
-             ->assertCount($this->convertToCount($countOrCountable));
170
+                ->assertCount($this->convertToCount($countOrCountable));
171 171
 
172 172
         return $this;
173 173
     }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         $stepName = $expectedValueName ? "does not have count equal count of {$expectedValueName}" : "does not have count equal count of expected";
180 180
 
181 181
         $this->startStep($stepName)
182
-             ->assertNotCount($this->convertToCount($countOrCountable));
182
+                ->assertNotCount($this->convertToCount($countOrCountable));
183 183
 
184 184
         return $this;
185 185
     }
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      * @return $this
14 14
      */
15 15
     public function hasKey($key) {
16
-        $this->startStep('has key "' . $key . '"')
16
+        $this->startStep('has key "'.$key.'"')
17 17
              ->assertArrayHasKey($key);
18 18
 
19 19
         return $this;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @return $this
27 27
      */
28 28
     public function doesNotHaveKey($key) {
29
-        $this->startStep('does not have key "' . $key . '"')
29
+        $this->startStep('does not have key "'.$key.'"')
30 30
              ->assertArrayNotHasKey($key);
31 31
 
32 32
         return $this;
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @return $this
115 115
      */
116 116
     public function containsOnlyValuesOfType($type) {
117
-        $this->startStep('contains only values of type "' . $type . '"')
117
+        $this->startStep('contains only values of type "'.$type.'"')
118 118
              ->assertContainsOnly($type);
119 119
 
120 120
         return $this;
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * @return $this
125 125
      */
126 126
     public function containsOnlyValuesOfNativeType($type) {
127
-        $this->startStep('contains only values of native type "' . $type . '"')
127
+        $this->startStep('contains only values of native type "'.$type.'"')
128 128
              ->assertContainsOnly($type, true);
129 129
 
130 130
         return $this;
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @return $this
135 135
      */
136 136
     public function containsOnlyInstancesOf($class) {
137
-        $this->startStep('contains only instances of "' . $class . '"')
137
+        $this->startStep('contains only instances of "'.$class.'"')
138 138
              ->assertContainsOnlyInstancesOf($class);
139 139
 
140 140
         return $this;
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @return $this
145 145
      */
146 146
     public function doesNotContainOnlyValuesOfType($type) {
147
-        $this->startStep('does not contain only values of type "' . $type . '"')
147
+        $this->startStep('does not contain only values of type "'.$type.'"')
148 148
              ->assertNotContainsOnly($type, null);
149 149
 
150 150
         return $this;
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * @return $this
155 155
      */
156 156
     public function doesNotContainOnlyValuesOfNativeType($type) {
157
-        $this->startStep('does not contain only values of native type "' . $type . '"')
157
+        $this->startStep('does not contain only values of native type "'.$type.'"')
158 158
              ->assertNotContainsOnly($type, true);
159 159
 
160 160
         return $this;
Please login to merge, or discard this patch.
src/Expectation/Matcher/ValueMatcher.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function isInternalType($type): self {
18 18
         $this->startStep('is internal type "' . $type . '"')
19
-             ->assertInternalType($type);
19
+                ->assertInternalType($type);
20 20
 
21 21
         return $this;
22 22
     }
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function isNotInternalType($type): self {
28 28
         $this->startStep('is not internal type "' . $type . '"')
29
-             ->assertNotInternalType($type);
29
+                ->assertNotInternalType($type);
30 30
 
31 31
         return $this;
32 32
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $stepName = $expectedValueName ? "is equal to {$expectedValueName}" : "is equal to expected";
39 39
 
40 40
         $this->startStep($stepName)
41
-             ->assertEquals($expected);
41
+                ->assertEquals($expected);
42 42
 
43 43
         return $this;
44 44
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     public function isNotEqualTo($expected, $expectedValueName = '') {
50 50
         $stepName = $expectedValueName ? "is not equal to {$expectedValueName}" : "is not equal to expected";
51 51
         $this->startStep($stepName)
52
-             ->assertNotEquals($expected);
52
+                ->assertNotEquals($expected);
53 53
 
54 54
         return $this;
55 55
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function isGreaterThan($expected): self {
61 61
         $this->startStep('is greater than "' . $expected . '"')
62
-             ->assertGreaterThan($expected);
62
+                ->assertGreaterThan($expected);
63 63
 
64 64
         return $this;
65 65
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function isLessThan($expected): self {
71 71
         $this->startStep('is less than "' . $expected . '"')
72
-             ->assertLessThan($expected);
72
+                ->assertLessThan($expected);
73 73
 
74 74
         return $this;
75 75
     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function isGreaterOrEqualTo($expected): self {
81 81
         $this->startStep('is greater or equal to "' . $expected . '"')
82
-             ->assertGreaterThanOrEqual($expected);
82
+                ->assertGreaterThanOrEqual($expected);
83 83
 
84 84
         return $this;
85 85
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function isLessOrEqualTo($expected): self {
91 91
         $this->startStep('is less or equal to "' . $expected . '"')
92
-             ->assertLessThanOrEqual($expected);
92
+                ->assertLessThanOrEqual($expected);
93 93
 
94 94
         return $this;
95 95
     }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function isNull(): self {
101 101
         $this->startStep('is null')
102
-             ->assertNull();
102
+                ->assertNull();
103 103
 
104 104
         return $this;
105 105
     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function isNotNull(): self {
111 111
         $this->startStep('is not null')
112
-             ->assertNotNull();
112
+                ->assertNotNull();
113 113
 
114 114
         return $this;
115 115
     }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function isEmpty(): self {
121 121
         $this->startStep('is empty')
122
-             ->assertEmpty();
122
+                ->assertEmpty();
123 123
 
124 124
         return $this;
125 125
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function isNotEmpty(): self {
131 131
         $this->startStep('is not empty')
132
-             ->assertNotEmpty();
132
+                ->assertNotEmpty();
133 133
 
134 134
         return $this;
135 135
     }
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     public function isTheSameAs($expected, $expectedValueName = '') {
141 141
         $stepName = $expectedValueName ? "is the same as {$expectedValueName}" : "is the same as expected";
142 142
         $this->startStep($stepName)
143
-             ->assertSame($expected);
143
+                ->assertSame($expected);
144 144
 
145 145
         return $this;
146 146
     }
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         $stepName = $expectedValueName ? "is not the same as {$expectedValueName}" : "is not the same as expected";
153 153
 
154 154
         $this->startStep($stepName)
155
-             ->assertNotSame($expected);
155
+                ->assertNotSame($expected);
156 156
 
157 157
         return $this;
158 158
     }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      * @return $this
16 16
      */
17 17
     public function isInternalType($type): self {
18
-        $this->startStep('is internal type "' . $type . '"')
18
+        $this->startStep('is internal type "'.$type.'"')
19 19
              ->assertInternalType($type);
20 20
 
21 21
         return $this;
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @return $this
26 26
      */
27 27
     public function isNotInternalType($type): self {
28
-        $this->startStep('is not internal type "' . $type . '"')
28
+        $this->startStep('is not internal type "'.$type.'"')
29 29
              ->assertNotInternalType($type);
30 30
 
31 31
         return $this;
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @return $this
59 59
      */
60 60
     public function isGreaterThan($expected): self {
61
-        $this->startStep('is greater than "' . $expected . '"')
61
+        $this->startStep('is greater than "'.$expected.'"')
62 62
              ->assertGreaterThan($expected);
63 63
 
64 64
         return $this;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @return $this
69 69
      */
70 70
     public function isLessThan($expected): self {
71
-        $this->startStep('is less than "' . $expected . '"')
71
+        $this->startStep('is less than "'.$expected.'"')
72 72
              ->assertLessThan($expected);
73 73
 
74 74
         return $this;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @return $this
79 79
      */
80 80
     public function isGreaterOrEqualTo($expected): self {
81
-        $this->startStep('is greater or equal to "' . $expected . '"')
81
+        $this->startStep('is greater or equal to "'.$expected.'"')
82 82
              ->assertGreaterThanOrEqual($expected);
83 83
 
84 84
         return $this;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @return $this
89 89
      */
90 90
     public function isLessOrEqualTo($expected): self {
91
-        $this->startStep('is less or equal to "' . $expected . '"')
91
+        $this->startStep('is less or equal to "'.$expected.'"')
92 92
              ->assertLessThanOrEqual($expected);
93 93
 
94 94
         return $this;
Please login to merge, or discard this patch.
src/Expectation/Matcher/BooleanMatcher.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function isTrue() {
16 16
         $this->startStep('is true')
17
-             ->assertTrue();
17
+                ->assertTrue();
18 18
 
19 19
         return $this;
20 20
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function isNotTrue() {
26 26
         $this->startStep('is not true')
27
-             ->assertNotTrue();
27
+                ->assertNotTrue();
28 28
 
29 29
         return $this;
30 30
     }
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function isFalse() {
36 36
         $this->startStep('is false')
37
-             ->assertFalse();
37
+                ->assertFalse();
38 38
 
39 39
         return $this;
40 40
     }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function isNotFalse() {
46 46
         $this->startStep('is not false')
47
-             ->assertNotFalse();
47
+                ->assertNotFalse();
48 48
 
49 49
         return $this;
50 50
     }
Please login to merge, or discard this patch.