Passed
Pull Request — master (#5)
by
unknown
08:17
created
vendor/sebastian/comparator/tests/MockObjectComparatorTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     public function testAcceptsSucceeds($expected, $actual): void
127 127
     {
128 128
         $this->assertTrue(
129
-          $this->comparator->accepts($expected, $actual)
129
+            $this->comparator->accepts($expected, $actual)
130 130
         );
131 131
     }
132 132
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     public function testAcceptsFails($expected, $actual): void
137 137
     {
138 138
         $this->assertFalse(
139
-          $this->comparator->accepts($expected, $actual)
139
+            $this->comparator->accepts($expected, $actual)
140 140
         );
141 141
     }
142 142
 
Please login to merge, or discard this patch.
hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKey.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
     public function describeTo(Description $description)
56 56
     {
57 57
         $description
58
-                 ->appendText('array with key ')
59
-                 ->appendDescriptionOf($this->_keyMatcher)
60
-                 ;
58
+                    ->appendText('array with key ')
59
+                    ->appendDescriptionOf($this->_keyMatcher)
60
+                    ;
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/MatchingOnce.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
         }
32 32
 
33 33
         $this->_mismatchDescription
34
-                 ->appendText('No item matches: ')->appendList('', ', ', '', $this->_elementMatchers)
35
-                 ->appendText(' in ')->appendValueList('[', ', ', ']', $items)
36
-                 ;
34
+                    ->appendText('No item matches: ')->appendList('', ', ', '', $this->_elementMatchers)
35
+                    ->appendText(' in ')->appendValueList('[', ', ', ']', $items)
36
+                    ;
37 37
 
38 38
         return false;
39 39
     }
Please login to merge, or discard this patch.
vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContaining.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
     public function describeTo(Description $description)
44 44
     {
45 45
         $description
46
-                 ->appendText('an array containing ')
47
-                 ->appendDescriptionOf($this->_elementMatcher)
46
+                    ->appendText('an array containing ')
47
+                    ->appendDescriptionOf($this->_elementMatcher)
48 48
         ;
49 49
     }
50 50
 
Please login to merge, or discard this patch.
vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/FeatureMatcher.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
     {
63 63
         $description->appendText($this->_featureDescription)->appendText(' ')
64 64
                                 ->appendDescriptionOf($this->_subMatcher)
65
-                             ;
65
+                                ;
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php 1 patch
Indentation   +223 added lines, -223 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
 }
32 32
 
33 33
 if (!function_exists('anArray')) {    /**
34
-     * Evaluates to true only if each $matcher[$i] is satisfied by $array[$i].
35
-     */
34
+ * Evaluates to true only if each $matcher[$i] is satisfied by $array[$i].
35
+ */
36 36
     function anArray(/* args... */)
37 37
     {
38 38
         $args = func_get_args();
@@ -41,12 +41,12 @@  discard block
 block discarded – undo
41 41
 }
42 42
 
43 43
 if (!function_exists('hasItemInArray')) {    /**
44
-     * Evaluates to true if any item in an array satisfies the given matcher.
45
-     *
46
-     * @param mixed $item as a {@link Hamcrest\Matcher} or a value.
47
-     *
48
-     * @return \Hamcrest\Arrays\IsArrayContaining
49
-     */
44
+ * Evaluates to true if any item in an array satisfies the given matcher.
45
+ *
46
+ * @param mixed $item as a {@link Hamcrest\Matcher} or a value.
47
+ *
48
+ * @return \Hamcrest\Arrays\IsArrayContaining
49
+ */
50 50
     function hasItemInArray($item)
51 51
     {
52 52
         return \Hamcrest\Arrays\IsArrayContaining::hasItemInArray($item);
@@ -54,12 +54,12 @@  discard block
 block discarded – undo
54 54
 }
55 55
 
56 56
 if (!function_exists('hasValue')) {    /**
57
-     * Evaluates to true if any item in an array satisfies the given matcher.
58
-     *
59
-     * @param mixed $item as a {@link Hamcrest\Matcher} or a value.
60
-     *
61
-     * @return \Hamcrest\Arrays\IsArrayContaining
62
-     */
57
+ * Evaluates to true if any item in an array satisfies the given matcher.
58
+ *
59
+ * @param mixed $item as a {@link Hamcrest\Matcher} or a value.
60
+ *
61
+ * @return \Hamcrest\Arrays\IsArrayContaining
62
+ */
63 63
     function hasValue($item)
64 64
     {
65 65
         return \Hamcrest\Arrays\IsArrayContaining::hasItemInArray($item);
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
 }
68 68
 
69 69
 if (!function_exists('arrayContainingInAnyOrder')) {    /**
70
-     * An array with elements that match the given matchers.
71
-     */
70
+ * An array with elements that match the given matchers.
71
+ */
72 72
     function arrayContainingInAnyOrder(/* args... */)
73 73
     {
74 74
         $args = func_get_args();
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
 }
78 78
 
79 79
 if (!function_exists('containsInAnyOrder')) {    /**
80
-     * An array with elements that match the given matchers.
81
-     */
80
+ * An array with elements that match the given matchers.
81
+ */
82 82
     function containsInAnyOrder(/* args... */)
83 83
     {
84 84
         $args = func_get_args();
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
 }
88 88
 
89 89
 if (!function_exists('arrayContaining')) {    /**
90
-     * An array with elements that match the given matchers in the same order.
91
-     */
90
+ * An array with elements that match the given matchers in the same order.
91
+ */
92 92
     function arrayContaining(/* args... */)
93 93
     {
94 94
         $args = func_get_args();
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
 }
98 98
 
99 99
 if (!function_exists('contains')) {    /**
100
-     * An array with elements that match the given matchers in the same order.
101
-     */
100
+ * An array with elements that match the given matchers in the same order.
101
+ */
102 102
     function contains(/* args... */)
103 103
     {
104 104
         $args = func_get_args();
@@ -107,12 +107,12 @@  discard block
 block discarded – undo
107 107
 }
108 108
 
109 109
 if (!function_exists('hasKeyInArray')) {    /**
110
-     * Evaluates to true if any key in an array matches the given matcher.
111
-     *
112
-     * @param mixed $key as a {@link Hamcrest\Matcher} or a value.
113
-     *
114
-     * @return \Hamcrest\Arrays\IsArrayContainingKey
115
-     */
110
+ * Evaluates to true if any key in an array matches the given matcher.
111
+ *
112
+ * @param mixed $key as a {@link Hamcrest\Matcher} or a value.
113
+ *
114
+ * @return \Hamcrest\Arrays\IsArrayContainingKey
115
+ */
116 116
     function hasKeyInArray($key)
117 117
     {
118 118
         return \Hamcrest\Arrays\IsArrayContainingKey::hasKeyInArray($key);
@@ -120,12 +120,12 @@  discard block
 block discarded – undo
120 120
 }
121 121
 
122 122
 if (!function_exists('hasKey')) {    /**
123
-     * Evaluates to true if any key in an array matches the given matcher.
124
-     *
125
-     * @param mixed $key as a {@link Hamcrest\Matcher} or a value.
126
-     *
127
-     * @return \Hamcrest\Arrays\IsArrayContainingKey
128
-     */
123
+ * Evaluates to true if any key in an array matches the given matcher.
124
+ *
125
+ * @param mixed $key as a {@link Hamcrest\Matcher} or a value.
126
+ *
127
+ * @return \Hamcrest\Arrays\IsArrayContainingKey
128
+ */
129 129
     function hasKey($key)
130 130
     {
131 131
         return \Hamcrest\Arrays\IsArrayContainingKey::hasKeyInArray($key);
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
 }
134 134
 
135 135
 if (!function_exists('hasKeyValuePair')) {    /**
136
-     * Test if an array has both an key and value in parity with each other.
137
-     */
136
+ * Test if an array has both an key and value in parity with each other.
137
+ */
138 138
     function hasKeyValuePair($key, $value)
139 139
     {
140 140
         return \Hamcrest\Arrays\IsArrayContainingKeyValuePair::hasKeyValuePair($key, $value);
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
 }
143 143
 
144 144
 if (!function_exists('hasEntry')) {    /**
145
-     * Test if an array has both an key and value in parity with each other.
146
-     */
145
+ * Test if an array has both an key and value in parity with each other.
146
+ */
147 147
     function hasEntry($key, $value)
148 148
     {
149 149
         return \Hamcrest\Arrays\IsArrayContainingKeyValuePair::hasKeyValuePair($key, $value);
@@ -151,12 +151,12 @@  discard block
 block discarded – undo
151 151
 }
152 152
 
153 153
 if (!function_exists('arrayWithSize')) {    /**
154
-     * Does array size satisfy a given matcher?
155
-     *
156
-     * @param \Hamcrest\Matcher|int $size as a {@link Hamcrest\Matcher} or a value.
157
-     *
158
-     * @return \Hamcrest\Arrays\IsArrayWithSize
159
-     */
154
+ * Does array size satisfy a given matcher?
155
+ *
156
+ * @param \Hamcrest\Matcher|int $size as a {@link Hamcrest\Matcher} or a value.
157
+ *
158
+ * @return \Hamcrest\Arrays\IsArrayWithSize
159
+ */
160 160
     function arrayWithSize($size)
161 161
     {
162 162
         return \Hamcrest\Arrays\IsArrayWithSize::arrayWithSize($size);
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
 }
165 165
 
166 166
 if (!function_exists('emptyArray')) {    /**
167
-     * Matches an empty array.
168
-     */
167
+ * Matches an empty array.
168
+ */
169 169
     function emptyArray()
170 170
     {
171 171
         return \Hamcrest\Arrays\IsArrayWithSize::emptyArray();
@@ -173,8 +173,8 @@  discard block
 block discarded – undo
173 173
 }
174 174
 
175 175
 if (!function_exists('nonEmptyArray')) {    /**
176
-     * Matches an empty array.
177
-     */
176
+ * Matches an empty array.
177
+ */
178 178
     function nonEmptyArray()
179 179
     {
180 180
         return \Hamcrest\Arrays\IsArrayWithSize::nonEmptyArray();
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
 }
183 183
 
184 184
 if (!function_exists('emptyTraversable')) {    /**
185
-     * Returns true if traversable is empty.
186
-     */
185
+ * Returns true if traversable is empty.
186
+ */
187 187
     function emptyTraversable()
188 188
     {
189 189
         return \Hamcrest\Collection\IsEmptyTraversable::emptyTraversable();
@@ -191,8 +191,8 @@  discard block
 block discarded – undo
191 191
 }
192 192
 
193 193
 if (!function_exists('nonEmptyTraversable')) {    /**
194
-     * Returns true if traversable is not empty.
195
-     */
194
+ * Returns true if traversable is not empty.
195
+ */
196 196
     function nonEmptyTraversable()
197 197
     {
198 198
         return \Hamcrest\Collection\IsEmptyTraversable::nonEmptyTraversable();
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
 }
201 201
 
202 202
 if (!function_exists('traversableWithSize')) {    /**
203
-     * Does traversable size satisfy a given matcher?
204
-     */
203
+ * Does traversable size satisfy a given matcher?
204
+ */
205 205
     function traversableWithSize($size)
206 206
     {
207 207
         return \Hamcrest\Collection\IsTraversableWithSize::traversableWithSize($size);
@@ -209,8 +209,8 @@  discard block
 block discarded – undo
209 209
 }
210 210
 
211 211
 if (!function_exists('allOf')) {    /**
212
-     * Evaluates to true only if ALL of the passed in matchers evaluate to true.
213
-     */
212
+ * Evaluates to true only if ALL of the passed in matchers evaluate to true.
213
+ */
214 214
     function allOf(/* args... */)
215 215
     {
216 216
         $args = func_get_args();
@@ -219,8 +219,8 @@  discard block
 block discarded – undo
219 219
 }
220 220
 
221 221
 if (!function_exists('anyOf')) {    /**
222
-     * Evaluates to true if ANY of the passed in matchers evaluate to true.
223
-     */
222
+ * Evaluates to true if ANY of the passed in matchers evaluate to true.
223
+ */
224 224
     function anyOf(/* args... */)
225 225
     {
226 226
         $args = func_get_args();
@@ -229,8 +229,8 @@  discard block
 block discarded – undo
229 229
 }
230 230
 
231 231
 if (!function_exists('noneOf')) {    /**
232
-     * Evaluates to false if ANY of the passed in matchers evaluate to true.
233
-     */
232
+ * Evaluates to false if ANY of the passed in matchers evaluate to true.
233
+ */
234 234
     function noneOf(/* args... */)
235 235
     {
236 236
         $args = func_get_args();
@@ -239,12 +239,12 @@  discard block
 block discarded – undo
239 239
 }
240 240
 
241 241
 if (!function_exists('both')) {    /**
242
-     * This is useful for fluently combining matchers that must both pass.
243
-     * For example:
244
-     * <pre>
245
-     *   assertThat($string, both(containsString("a"))->andAlso(containsString("b")));
246
-     * </pre>
247
-     */
242
+ * This is useful for fluently combining matchers that must both pass.
243
+ * For example:
244
+ * <pre>
245
+ *   assertThat($string, both(containsString("a"))->andAlso(containsString("b")));
246
+ * </pre>
247
+ */
248 248
     function both(\Hamcrest\Matcher $matcher)
249 249
     {
250 250
         return \Hamcrest\Core\CombinableMatcher::both($matcher);
@@ -252,12 +252,12 @@  discard block
 block discarded – undo
252 252
 }
253 253
 
254 254
 if (!function_exists('either')) {    /**
255
-     * This is useful for fluently combining matchers where either may pass,
256
-     * for example:
257
-     * <pre>
258
-     *   assertThat($string, either(containsString("a"))->orElse(containsString("b")));
259
-     * </pre>
260
-     */
255
+ * This is useful for fluently combining matchers where either may pass,
256
+ * for example:
257
+ * <pre>
258
+ *   assertThat($string, either(containsString("a"))->orElse(containsString("b")));
259
+ * </pre>
260
+ */
261 261
     function either(\Hamcrest\Matcher $matcher)
262 262
     {
263 263
         return \Hamcrest\Core\CombinableMatcher::either($matcher);
@@ -265,8 +265,8 @@  discard block
 block discarded – undo
265 265
 }
266 266
 
267 267
 if (!function_exists('describedAs')) {    /**
268
-     * Wraps an existing matcher and overrides the description when it fails.
269
-     */
268
+ * Wraps an existing matcher and overrides the description when it fails.
269
+ */
270 270
     function describedAs(/* args... */)
271 271
     {
272 272
         $args = func_get_args();
@@ -275,12 +275,12 @@  discard block
 block discarded – undo
275 275
 }
276 276
 
277 277
 if (!function_exists('everyItem')) {    /**
278
-     * @param Matcher $itemMatcher
279
-     *   A matcher to apply to every element in an array.
280
-     *
281
-     * @return \Hamcrest\Core\Every
282
-     *   Evaluates to TRUE for a collection in which every item matches $itemMatcher
283
-     */
278
+ * @param Matcher $itemMatcher
279
+ *   A matcher to apply to every element in an array.
280
+ *
281
+ * @return \Hamcrest\Core\Every
282
+ *   Evaluates to TRUE for a collection in which every item matches $itemMatcher
283
+ */
284 284
     function everyItem(\Hamcrest\Matcher $itemMatcher)
285 285
     {
286 286
         return \Hamcrest\Core\Every::everyItem($itemMatcher);
@@ -288,8 +288,8 @@  discard block
 block discarded – undo
288 288
 }
289 289
 
290 290
 if (!function_exists('hasToString')) {    /**
291
-     * Does array size satisfy a given matcher?
292
-     */
291
+ * Does array size satisfy a given matcher?
292
+ */
293 293
     function hasToString($matcher)
294 294
     {
295 295
         return \Hamcrest\Core\HasToString::hasToString($matcher);
@@ -297,12 +297,12 @@  discard block
 block discarded – undo
297 297
 }
298 298
 
299 299
 if (!function_exists('is')) {    /**
300
-     * Decorates another Matcher, retaining the behavior but allowing tests
301
-     * to be slightly more expressive.
302
-     *
303
-     * For example:  assertThat($cheese, equalTo($smelly))
304
-     *          vs.  assertThat($cheese, is(equalTo($smelly)))
305
-     */
300
+ * Decorates another Matcher, retaining the behavior but allowing tests
301
+ * to be slightly more expressive.
302
+ *
303
+ * For example:  assertThat($cheese, equalTo($smelly))
304
+ *          vs.  assertThat($cheese, is(equalTo($smelly)))
305
+ */
306 306
     function is($value)
307 307
     {
308 308
         return \Hamcrest\Core\Is::is($value);
@@ -310,12 +310,12 @@  discard block
 block discarded – undo
310 310
 }
311 311
 
312 312
 if (!function_exists('anything')) {    /**
313
-     * This matcher always evaluates to true.
314
-     *
315
-     * @param string $description A meaningful string used when describing itself.
316
-     *
317
-     * @return \Hamcrest\Core\IsAnything
318
-     */
313
+ * This matcher always evaluates to true.
314
+ *
315
+ * @param string $description A meaningful string used when describing itself.
316
+ *
317
+ * @return \Hamcrest\Core\IsAnything
318
+ */
319 319
     function anything($description = 'ANYTHING')
320 320
     {
321 321
         return \Hamcrest\Core\IsAnything::anything($description);
@@ -323,15 +323,15 @@  discard block
 block discarded – undo
323 323
 }
324 324
 
325 325
 if (!function_exists('hasItem')) {    /**
326
-     * Test if the value is an array containing this matcher.
327
-     *
328
-     * Example:
329
-     * <pre>
330
-     * assertThat(array('a', 'b'), hasItem(equalTo('b')));
331
-     * //Convenience defaults to equalTo()
332
-     * assertThat(array('a', 'b'), hasItem('b'));
333
-     * </pre>
334
-     */
326
+ * Test if the value is an array containing this matcher.
327
+ *
328
+ * Example:
329
+ * <pre>
330
+ * assertThat(array('a', 'b'), hasItem(equalTo('b')));
331
+ * //Convenience defaults to equalTo()
332
+ * assertThat(array('a', 'b'), hasItem('b'));
333
+ * </pre>
334
+ */
335 335
     function hasItem(/* args... */)
336 336
     {
337 337
         $args = func_get_args();
@@ -340,14 +340,14 @@  discard block
 block discarded – undo
340 340
 }
341 341
 
342 342
 if (!function_exists('hasItems')) {    /**
343
-     * Test if the value is an array containing elements that match all of these
344
-     * matchers.
345
-     *
346
-     * Example:
347
-     * <pre>
348
-     * assertThat(array('a', 'b', 'c'), hasItems(equalTo('a'), equalTo('b')));
349
-     * </pre>
350
-     */
343
+ * Test if the value is an array containing elements that match all of these
344
+ * matchers.
345
+ *
346
+ * Example:
347
+ * <pre>
348
+ * assertThat(array('a', 'b', 'c'), hasItems(equalTo('a'), equalTo('b')));
349
+ * </pre>
350
+ */
351 351
     function hasItems(/* args... */)
352 352
     {
353 353
         $args = func_get_args();
@@ -356,9 +356,9 @@  discard block
 block discarded – undo
356 356
 }
357 357
 
358 358
 if (!function_exists('equalTo')) {    /**
359
-     * Is the value equal to another value, as tested by the use of the "=="
360
-     * comparison operator?
361
-     */
359
+ * Is the value equal to another value, as tested by the use of the "=="
360
+ * comparison operator?
361
+ */
362 362
     function equalTo($item)
363 363
     {
364 364
         return \Hamcrest\Core\IsEqual::equalTo($item);
@@ -366,8 +366,8 @@  discard block
 block discarded – undo
366 366
 }
367 367
 
368 368
 if (!function_exists('identicalTo')) {    /**
369
-     * Tests of the value is identical to $value as tested by the "===" operator.
370
-     */
369
+ * Tests of the value is identical to $value as tested by the "===" operator.
370
+ */
371 371
     function identicalTo($value)
372 372
     {
373 373
         return \Hamcrest\Core\IsIdentical::identicalTo($value);
@@ -375,11 +375,11 @@  discard block
 block discarded – undo
375 375
 }
376 376
 
377 377
 if (!function_exists('anInstanceOf')) {    /**
378
-     * Is the value an instance of a particular type?
379
-     * This version assumes no relationship between the required type and
380
-     * the signature of the method that sets it up, for example in
381
-     * <code>assertThat($anObject, anInstanceOf('Thing'));</code>
382
-     */
378
+ * Is the value an instance of a particular type?
379
+ * This version assumes no relationship between the required type and
380
+ * the signature of the method that sets it up, for example in
381
+ * <code>assertThat($anObject, anInstanceOf('Thing'));</code>
382
+ */
383 383
     function anInstanceOf($theClass)
384 384
     {
385 385
         return \Hamcrest\Core\IsInstanceOf::anInstanceOf($theClass);
@@ -387,11 +387,11 @@  discard block
 block discarded – undo
387 387
 }
388 388
 
389 389
 if (!function_exists('any')) {    /**
390
-     * Is the value an instance of a particular type?
391
-     * This version assumes no relationship between the required type and
392
-     * the signature of the method that sets it up, for example in
393
-     * <code>assertThat($anObject, anInstanceOf('Thing'));</code>
394
-     */
390
+ * Is the value an instance of a particular type?
391
+ * This version assumes no relationship between the required type and
392
+ * the signature of the method that sets it up, for example in
393
+ * <code>assertThat($anObject, anInstanceOf('Thing'));</code>
394
+ */
395 395
     function any($theClass)
396 396
     {
397 397
         return \Hamcrest\Core\IsInstanceOf::anInstanceOf($theClass);
@@ -399,8 +399,8 @@  discard block
 block discarded – undo
399 399
 }
400 400
 
401 401
 if (!function_exists('not')) {    /**
402
-     * Matches if value does not match $value.
403
-     */
402
+ * Matches if value does not match $value.
403
+ */
404 404
     function not($value)
405 405
     {
406 406
         return \Hamcrest\Core\IsNot::not($value);
@@ -408,8 +408,8 @@  discard block
 block discarded – undo
408 408
 }
409 409
 
410 410
 if (!function_exists('nullValue')) {    /**
411
-     * Matches if value is null.
412
-     */
411
+ * Matches if value is null.
412
+ */
413 413
     function nullValue()
414 414
     {
415 415
         return \Hamcrest\Core\IsNull::nullValue();
@@ -417,8 +417,8 @@  discard block
 block discarded – undo
417 417
 }
418 418
 
419 419
 if (!function_exists('notNullValue')) {    /**
420
-     * Matches if value is not null.
421
-     */
420
+ * Matches if value is not null.
421
+ */
422 422
     function notNullValue()
423 423
     {
424 424
         return \Hamcrest\Core\IsNull::notNullValue();
@@ -426,14 +426,14 @@  discard block
 block discarded – undo
426 426
 }
427 427
 
428 428
 if (!function_exists('sameInstance')) {    /**
429
-     * Creates a new instance of IsSame.
430
-     *
431
-     * @param mixed $object
432
-     *   The predicate evaluates to true only when the argument is
433
-     *   this object.
434
-     *
435
-     * @return \Hamcrest\Core\IsSame
436
-     */
429
+ * Creates a new instance of IsSame.
430
+ *
431
+ * @param mixed $object
432
+ *   The predicate evaluates to true only when the argument is
433
+ *   this object.
434
+ *
435
+ * @return \Hamcrest\Core\IsSame
436
+ */
437 437
     function sameInstance($object)
438 438
     {
439 439
         return \Hamcrest\Core\IsSame::sameInstance($object);
@@ -441,8 +441,8 @@  discard block
 block discarded – undo
441 441
 }
442 442
 
443 443
 if (!function_exists('typeOf')) {    /**
444
-     * Is the value a particular built-in type?
445
-     */
444
+ * Is the value a particular built-in type?
445
+ */
446 446
     function typeOf($theType)
447 447
     {
448 448
         return \Hamcrest\Core\IsTypeOf::typeOf($theType);
@@ -450,8 +450,8 @@  discard block
 block discarded – undo
450 450
 }
451 451
 
452 452
 if (!function_exists('set')) {    /**
453
-     * Matches if value (class, object, or array) has named $property.
454
-     */
453
+ * Matches if value (class, object, or array) has named $property.
454
+ */
455 455
     function set($property)
456 456
     {
457 457
         return \Hamcrest\Core\Set::set($property);
@@ -459,8 +459,8 @@  discard block
 block discarded – undo
459 459
 }
460 460
 
461 461
 if (!function_exists('notSet')) {    /**
462
-     * Matches if value (class, object, or array) does not have named $property.
463
-     */
462
+ * Matches if value (class, object, or array) does not have named $property.
463
+ */
464 464
     function notSet($property)
465 465
     {
466 466
         return \Hamcrest\Core\Set::notSet($property);
@@ -468,9 +468,9 @@  discard block
 block discarded – undo
468 468
 }
469 469
 
470 470
 if (!function_exists('closeTo')) {    /**
471
-     * Matches if value is a number equal to $value within some range of
472
-     * acceptable error $delta.
473
-     */
471
+ * Matches if value is a number equal to $value within some range of
472
+ * acceptable error $delta.
473
+ */
474 474
     function closeTo($value, $delta)
475 475
     {
476 476
         return \Hamcrest\Number\IsCloseTo::closeTo($value, $delta);
@@ -478,8 +478,8 @@  discard block
 block discarded – undo
478 478
 }
479 479
 
480 480
 if (!function_exists('comparesEqualTo')) {    /**
481
-     * The value is not > $value, nor < $value.
482
-     */
481
+ * The value is not > $value, nor < $value.
482
+ */
483 483
     function comparesEqualTo($value)
484 484
     {
485 485
         return \Hamcrest\Number\OrderingComparison::comparesEqualTo($value);
@@ -487,8 +487,8 @@  discard block
 block discarded – undo
487 487
 }
488 488
 
489 489
 if (!function_exists('greaterThan')) {    /**
490
-     * The value is > $value.
491
-     */
490
+ * The value is > $value.
491
+ */
492 492
     function greaterThan($value)
493 493
     {
494 494
         return \Hamcrest\Number\OrderingComparison::greaterThan($value);
@@ -496,8 +496,8 @@  discard block
 block discarded – undo
496 496
 }
497 497
 
498 498
 if (!function_exists('greaterThanOrEqualTo')) {    /**
499
-     * The value is >= $value.
500
-     */
499
+ * The value is >= $value.
500
+ */
501 501
     function greaterThanOrEqualTo($value)
502 502
     {
503 503
         return \Hamcrest\Number\OrderingComparison::greaterThanOrEqualTo($value);
@@ -505,8 +505,8 @@  discard block
 block discarded – undo
505 505
 }
506 506
 
507 507
 if (!function_exists('atLeast')) {    /**
508
-     * The value is >= $value.
509
-     */
508
+ * The value is >= $value.
509
+ */
510 510
     function atLeast($value)
511 511
     {
512 512
         return \Hamcrest\Number\OrderingComparison::greaterThanOrEqualTo($value);
@@ -514,8 +514,8 @@  discard block
 block discarded – undo
514 514
 }
515 515
 
516 516
 if (!function_exists('lessThan')) {    /**
517
-     * The value is < $value.
518
-     */
517
+ * The value is < $value.
518
+ */
519 519
     function lessThan($value)
520 520
     {
521 521
         return \Hamcrest\Number\OrderingComparison::lessThan($value);
@@ -523,8 +523,8 @@  discard block
 block discarded – undo
523 523
 }
524 524
 
525 525
 if (!function_exists('lessThanOrEqualTo')) {    /**
526
-     * The value is <= $value.
527
-     */
526
+ * The value is <= $value.
527
+ */
528 528
     function lessThanOrEqualTo($value)
529 529
     {
530 530
         return \Hamcrest\Number\OrderingComparison::lessThanOrEqualTo($value);
@@ -532,8 +532,8 @@  discard block
 block discarded – undo
532 532
 }
533 533
 
534 534
 if (!function_exists('atMost')) {    /**
535
-     * The value is <= $value.
536
-     */
535
+ * The value is <= $value.
536
+ */
537 537
     function atMost($value)
538 538
     {
539 539
         return \Hamcrest\Number\OrderingComparison::lessThanOrEqualTo($value);
@@ -541,8 +541,8 @@  discard block
 block discarded – undo
541 541
 }
542 542
 
543 543
 if (!function_exists('isEmptyString')) {    /**
544
-     * Matches if value is a zero-length string.
545
-     */
544
+ * Matches if value is a zero-length string.
545
+ */
546 546
     function isEmptyString()
547 547
     {
548 548
         return \Hamcrest\Text\IsEmptyString::isEmptyString();
@@ -550,8 +550,8 @@  discard block
 block discarded – undo
550 550
 }
551 551
 
552 552
 if (!function_exists('emptyString')) {    /**
553
-     * Matches if value is a zero-length string.
554
-     */
553
+ * Matches if value is a zero-length string.
554
+ */
555 555
     function emptyString()
556 556
     {
557 557
         return \Hamcrest\Text\IsEmptyString::isEmptyString();
@@ -559,8 +559,8 @@  discard block
 block discarded – undo
559 559
 }
560 560
 
561 561
 if (!function_exists('isEmptyOrNullString')) {    /**
562
-     * Matches if value is null or a zero-length string.
563
-     */
562
+ * Matches if value is null or a zero-length string.
563
+ */
564 564
     function isEmptyOrNullString()
565 565
     {
566 566
         return \Hamcrest\Text\IsEmptyString::isEmptyOrNullString();
@@ -568,8 +568,8 @@  discard block
 block discarded – undo
568 568
 }
569 569
 
570 570
 if (!function_exists('nullOrEmptyString')) {    /**
571
-     * Matches if value is null or a zero-length string.
572
-     */
571
+ * Matches if value is null or a zero-length string.
572
+ */
573 573
     function nullOrEmptyString()
574 574
     {
575 575
         return \Hamcrest\Text\IsEmptyString::isEmptyOrNullString();
@@ -577,8 +577,8 @@  discard block
 block discarded – undo
577 577
 }
578 578
 
579 579
 if (!function_exists('isNonEmptyString')) {    /**
580
-     * Matches if value is a non-zero-length string.
581
-     */
580
+ * Matches if value is a non-zero-length string.
581
+ */
582 582
     function isNonEmptyString()
583 583
     {
584 584
         return \Hamcrest\Text\IsEmptyString::isNonEmptyString();
@@ -586,8 +586,8 @@  discard block
 block discarded – undo
586 586
 }
587 587
 
588 588
 if (!function_exists('nonEmptyString')) {    /**
589
-     * Matches if value is a non-zero-length string.
590
-     */
589
+ * Matches if value is a non-zero-length string.
590
+ */
591 591
     function nonEmptyString()
592 592
     {
593 593
         return \Hamcrest\Text\IsEmptyString::isNonEmptyString();
@@ -595,8 +595,8 @@  discard block
 block discarded – undo
595 595
 }
596 596
 
597 597
 if (!function_exists('equalToIgnoringCase')) {    /**
598
-     * Matches if value is a string equal to $string, regardless of the case.
599
-     */
598
+ * Matches if value is a string equal to $string, regardless of the case.
599
+ */
600 600
     function equalToIgnoringCase($string)
601 601
     {
602 602
         return \Hamcrest\Text\IsEqualIgnoringCase::equalToIgnoringCase($string);
@@ -604,8 +604,8 @@  discard block
 block discarded – undo
604 604
 }
605 605
 
606 606
 if (!function_exists('equalToIgnoringWhiteSpace')) {    /**
607
-     * Matches if value is a string equal to $string, regardless of whitespace.
608
-     */
607
+ * Matches if value is a string equal to $string, regardless of whitespace.
608
+ */
609 609
     function equalToIgnoringWhiteSpace($string)
610 610
     {
611 611
         return \Hamcrest\Text\IsEqualIgnoringWhiteSpace::equalToIgnoringWhiteSpace($string);
@@ -613,8 +613,8 @@  discard block
 block discarded – undo
613 613
 }
614 614
 
615 615
 if (!function_exists('matchesPattern')) {    /**
616
-     * Matches if value is a string that matches regular expression $pattern.
617
-     */
616
+ * Matches if value is a string that matches regular expression $pattern.
617
+ */
618 618
     function matchesPattern($pattern)
619 619
     {
620 620
         return \Hamcrest\Text\MatchesPattern::matchesPattern($pattern);
@@ -622,8 +622,8 @@  discard block
 block discarded – undo
622 622
 }
623 623
 
624 624
 if (!function_exists('containsString')) {    /**
625
-     * Matches if value is a string that contains $substring.
626
-     */
625
+ * Matches if value is a string that contains $substring.
626
+ */
627 627
     function containsString($substring)
628 628
     {
629 629
         return \Hamcrest\Text\StringContains::containsString($substring);
@@ -631,8 +631,8 @@  discard block
 block discarded – undo
631 631
 }
632 632
 
633 633
 if (!function_exists('containsStringIgnoringCase')) {    /**
634
-     * Matches if value is a string that contains $substring regardless of the case.
635
-     */
634
+ * Matches if value is a string that contains $substring regardless of the case.
635
+ */
636 636
     function containsStringIgnoringCase($substring)
637 637
     {
638 638
         return \Hamcrest\Text\StringContainsIgnoringCase::containsStringIgnoringCase($substring);
@@ -640,8 +640,8 @@  discard block
 block discarded – undo
640 640
 }
641 641
 
642 642
 if (!function_exists('stringContainsInOrder')) {    /**
643
-     * Matches if value contains $substrings in a constrained order.
644
-     */
643
+ * Matches if value contains $substrings in a constrained order.
644
+ */
645 645
     function stringContainsInOrder(/* args... */)
646 646
     {
647 647
         $args = func_get_args();
@@ -650,8 +650,8 @@  discard block
 block discarded – undo
650 650
 }
651 651
 
652 652
 if (!function_exists('endsWith')) {    /**
653
-     * Matches if value is a string that ends with $substring.
654
-     */
653
+ * Matches if value is a string that ends with $substring.
654
+ */
655 655
     function endsWith($substring)
656 656
     {
657 657
         return \Hamcrest\Text\StringEndsWith::endsWith($substring);
@@ -659,8 +659,8 @@  discard block
 block discarded – undo
659 659
 }
660 660
 
661 661
 if (!function_exists('startsWith')) {    /**
662
-     * Matches if value is a string that starts with $substring.
663
-     */
662
+ * Matches if value is a string that starts with $substring.
663
+ */
664 664
     function startsWith($substring)
665 665
     {
666 666
         return \Hamcrest\Text\StringStartsWith::startsWith($substring);
@@ -668,8 +668,8 @@  discard block
 block discarded – undo
668 668
 }
669 669
 
670 670
 if (!function_exists('arrayValue')) {    /**
671
-     * Is the value an array?
672
-     */
671
+ * Is the value an array?
672
+ */
673 673
     function arrayValue()
674 674
     {
675 675
         return \Hamcrest\Type\IsArray::arrayValue();
@@ -677,8 +677,8 @@  discard block
 block discarded – undo
677 677
 }
678 678
 
679 679
 if (!function_exists('booleanValue')) {    /**
680
-     * Is the value a boolean?
681
-     */
680
+ * Is the value a boolean?
681
+ */
682 682
     function booleanValue()
683 683
     {
684 684
         return \Hamcrest\Type\IsBoolean::booleanValue();
@@ -686,8 +686,8 @@  discard block
 block discarded – undo
686 686
 }
687 687
 
688 688
 if (!function_exists('boolValue')) {    /**
689
-     * Is the value a boolean?
690
-     */
689
+ * Is the value a boolean?
690
+ */
691 691
     function boolValue()
692 692
     {
693 693
         return \Hamcrest\Type\IsBoolean::booleanValue();
@@ -695,8 +695,8 @@  discard block
 block discarded – undo
695 695
 }
696 696
 
697 697
 if (!function_exists('callableValue')) {    /**
698
-     * Is the value callable?
699
-     */
698
+ * Is the value callable?
699
+ */
700 700
     function callableValue()
701 701
     {
702 702
         return \Hamcrest\Type\IsCallable::callableValue();
@@ -704,8 +704,8 @@  discard block
 block discarded – undo
704 704
 }
705 705
 
706 706
 if (!function_exists('doubleValue')) {    /**
707
-     * Is the value a float/double?
708
-     */
707
+ * Is the value a float/double?
708
+ */
709 709
     function doubleValue()
710 710
     {
711 711
         return \Hamcrest\Type\IsDouble::doubleValue();
@@ -713,8 +713,8 @@  discard block
 block discarded – undo
713 713
 }
714 714
 
715 715
 if (!function_exists('floatValue')) {    /**
716
-     * Is the value a float/double?
717
-     */
716
+ * Is the value a float/double?
717
+ */
718 718
     function floatValue()
719 719
     {
720 720
         return \Hamcrest\Type\IsDouble::doubleValue();
@@ -722,8 +722,8 @@  discard block
 block discarded – undo
722 722
 }
723 723
 
724 724
 if (!function_exists('integerValue')) {    /**
725
-     * Is the value an integer?
726
-     */
725
+ * Is the value an integer?
726
+ */
727 727
     function integerValue()
728 728
     {
729 729
         return \Hamcrest\Type\IsInteger::integerValue();
@@ -731,8 +731,8 @@  discard block
 block discarded – undo
731 731
 }
732 732
 
733 733
 if (!function_exists('intValue')) {    /**
734
-     * Is the value an integer?
735
-     */
734
+ * Is the value an integer?
735
+ */
736 736
     function intValue()
737 737
     {
738 738
         return \Hamcrest\Type\IsInteger::integerValue();
@@ -740,8 +740,8 @@  discard block
 block discarded – undo
740 740
 }
741 741
 
742 742
 if (!function_exists('numericValue')) {    /**
743
-     * Is the value a numeric?
744
-     */
743
+ * Is the value a numeric?
744
+ */
745 745
     function numericValue()
746 746
     {
747 747
         return \Hamcrest\Type\IsNumeric::numericValue();
@@ -749,8 +749,8 @@  discard block
 block discarded – undo
749 749
 }
750 750
 
751 751
 if (!function_exists('objectValue')) {    /**
752
-     * Is the value an object?
753
-     */
752
+ * Is the value an object?
753
+ */
754 754
     function objectValue()
755 755
     {
756 756
         return \Hamcrest\Type\IsObject::objectValue();
@@ -758,8 +758,8 @@  discard block
 block discarded – undo
758 758
 }
759 759
 
760 760
 if (!function_exists('anObject')) {    /**
761
-     * Is the value an object?
762
-     */
761
+ * Is the value an object?
762
+ */
763 763
     function anObject()
764 764
     {
765 765
         return \Hamcrest\Type\IsObject::objectValue();
@@ -767,8 +767,8 @@  discard block
 block discarded – undo
767 767
 }
768 768
 
769 769
 if (!function_exists('resourceValue')) {    /**
770
-     * Is the value a resource?
771
-     */
770
+ * Is the value a resource?
771
+ */
772 772
     function resourceValue()
773 773
     {
774 774
         return \Hamcrest\Type\IsResource::resourceValue();
@@ -776,8 +776,8 @@  discard block
 block discarded – undo
776 776
 }
777 777
 
778 778
 if (!function_exists('scalarValue')) {    /**
779
-     * Is the value a scalar (boolean, integer, double, or string)?
780
-     */
779
+ * Is the value a scalar (boolean, integer, double, or string)?
780
+ */
781 781
     function scalarValue()
782 782
     {
783 783
         return \Hamcrest\Type\IsScalar::scalarValue();
@@ -785,8 +785,8 @@  discard block
 block discarded – undo
785 785
 }
786 786
 
787 787
 if (!function_exists('stringValue')) {    /**
788
-     * Is the value a string?
789
-     */
788
+ * Is the value a string?
789
+ */
790 790
     function stringValue()
791 791
     {
792 792
         return \Hamcrest\Type\IsString::stringValue();
@@ -794,10 +794,10 @@  discard block
 block discarded – undo
794 794
 }
795 795
 
796 796
 if (!function_exists('hasXPath')) {    /**
797
-     * Wraps <code>$matcher</code> with {@link Hamcrest\Core\IsEqual)
798
-     * if it's not a matcher and the XPath in <code>count()</code>
799
-     * if it's an integer.
800
-     */
797
+ * Wraps <code>$matcher</code> with {@link Hamcrest\Core\IsEqual)
798
+ * if it's not a matcher and the XPath in <code>count()</code>
799
+ * if it's an integer.
800
+ */
801 801
     function hasXPath($xpath, $matcher = null)
802 802
     {
803 803
         return \Hamcrest\Xml\HasXPath::hasXPath($xpath, $matcher);
Please login to merge, or discard this patch.
vendor/hamcrest/hamcrest-php/generator/FactoryMethod.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         }
151 151
         $params = array();
152 152
         foreach ($this->parameters as /** @var $parameter FactoryParameter */
153
-                 $parameter) {
153
+                    $parameter) {
154 154
             $params[] = $parameter->getDeclaration();
155 155
         }
156 156
         return implode(', ', $params);
Please login to merge, or discard this patch.
vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                     'array_type'=>'string',
153 153
                     'value'     =>'array<string>'
154 154
                 ]
155
-             ],
155
+                ],
156 156
         ],
157 157
         'Doctrine\Common\Annotations\Annotation\Attribute' => [
158 158
             'is_annotation'    => true,
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
                     'type'      =>'boolean',
182 182
                     'value'     =>'boolean'
183 183
                 ]
184
-             ],
184
+                ],
185 185
         ],
186 186
         'Doctrine\Common\Annotations\Annotation\Attributes' => [
187 187
             'is_annotation'    => true,
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
                     'array_type'=>'Doctrine\Common\Annotations\Annotation\Attribute',
200 200
                     'value'     =>'array<Doctrine\Common\Annotations\Annotation\Attribute>'
201 201
                 ]
202
-             ],
202
+                ],
203 203
         ],
204 204
         'Doctrine\Common\Annotations\Annotation\Enum' => [
205 205
             'is_annotation'    => true,
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                     'type'      => 'array',
220 220
                     'required'  => false,
221 221
                 ],
222
-             ],
222
+                ],
223 223
         ],
224 224
     ];
225 225
 
@@ -768,7 +768,7 @@  discard block
 block discarded – undo
768 768
         if (0 === (self::$annotationMetadata[$name]['targets'] & $target) && $target) {
769 769
             throw AnnotationException::semanticalError(
770 770
                 sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.',
771
-                     $originalName, $this->context, self::$annotationMetadata[$name]['targets_literal'])
771
+                        $originalName, $this->context, self::$annotationMetadata[$name]['targets_literal'])
772 772
             );
773 773
         }
774 774
 
@@ -937,9 +937,9 @@  discard block
 block discarded – undo
937 937
                 case !empty ($this->namespaces):
938 938
                     foreach ($this->namespaces as $ns) {
939 939
                         if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
940
-                             $className = $ns.'\\'.$className;
941
-                             $found = true;
942
-                             break;
940
+                                $className = $ns.'\\'.$className;
941
+                                $found = true;
942
+                                break;
943 943
                         }
944 944
                     }
945 945
                     break;
@@ -964,7 +964,7 @@  discard block
 block discarded – undo
964 964
             }
965 965
 
966 966
             if ($found) {
967
-                 $identifier = $className . '::' . $const;
967
+                    $identifier = $className . '::' . $const;
968 968
             }
969 969
         }
970 970
 
Please login to merge, or discard this patch.
src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@
 block discarded – undo
24 24
     public $indent = 4;
25 25
 
26 26
 
27
-     /**
28
-      * Returns an array of tokens this test wants to listen for.
29
-      *
30
-      * @return int[]
31
-      */
27
+        /**
28
+         * Returns an array of tokens this test wants to listen for.
29
+         *
30
+         * @return int[]
31
+         */
32 32
     public function register()
33 33
     {
34 34
         return Tokens::$scopeOpeners;
Please login to merge, or discard this patch.