@@ -116,8 +116,8 @@ discard block |
||
| 116 | 116 | |
| 117 | 117 | if ($this->afterMatchBuilderId !== null) { |
| 118 | 118 | $matcher = $invocation->getObject() |
| 119 | - ->__phpunit_getInvocationHandler() |
|
| 120 | - ->lookupMatcher($this->afterMatchBuilderId); |
|
| 119 | + ->__phpunit_getInvocationHandler() |
|
| 120 | + ->lookupMatcher($this->afterMatchBuilderId); |
|
| 121 | 121 | |
| 122 | 122 | if (!$matcher) { |
| 123 | 123 | throw new MatchBuilderNotFoundException($this->afterMatchBuilderId); |
@@ -166,8 +166,8 @@ discard block |
||
| 166 | 166 | { |
| 167 | 167 | if ($this->afterMatchBuilderId !== null) { |
| 168 | 168 | $matcher = $invocation->getObject() |
| 169 | - ->__phpunit_getInvocationHandler() |
|
| 170 | - ->lookupMatcher($this->afterMatchBuilderId); |
|
| 169 | + ->__phpunit_getInvocationHandler() |
|
| 170 | + ->lookupMatcher($this->afterMatchBuilderId); |
|
| 171 | 171 | |
| 172 | 172 | if (!$matcher) { |
| 173 | 173 | throw new MatchBuilderNotFoundException($this->afterMatchBuilderId); |
@@ -902,7 +902,7 @@ |
||
| 902 | 902 | if ($className === '') { |
| 903 | 903 | do { |
| 904 | 904 | $className = $prefix . $type . '_' . |
| 905 | - substr(md5((string) mt_rand()), 0, 8); |
|
| 905 | + substr(md5((string) mt_rand()), 0, 8); |
|
| 906 | 906 | } while (class_exists($className, false)); |
| 907 | 907 | } |
| 908 | 908 | |
@@ -54,6 +54,6 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | return 'return result of user defined callback ' . $this->callback . |
| 57 | - ' with the passed arguments'; |
|
| 57 | + ' with the passed arguments'; |
|
| 58 | 58 | } |
| 59 | 59 | } |
@@ -671,8 +671,8 @@ |
||
| 671 | 671 | $formatter = self::getConfiguration()->getObjectFormatter($class, $defaultFormatter); |
| 672 | 672 | |
| 673 | 673 | $array = array( |
| 674 | - 'class' => $class, |
|
| 675 | - 'identity' => '#' . md5(spl_object_hash($object)) |
|
| 674 | + 'class' => $class, |
|
| 675 | + 'identity' => '#' . md5(spl_object_hash($object)) |
|
| 676 | 676 | ); |
| 677 | 677 | |
| 678 | 678 | $array = array_merge($array, $formatter($object, $nesting)); |
@@ -297,9 +297,9 @@ |
||
| 297 | 297 | private function getComparator(): Closure |
| 298 | 298 | { |
| 299 | 299 | return /** |
| 300 | - * @param T $a |
|
| 301 | - * @param T $b |
|
| 302 | - */ |
|
| 300 | + * @param T $a |
|
| 301 | + * @param T $b |
|
| 302 | + */ |
|
| 303 | 303 | function ($a, $b): int { |
| 304 | 304 | // If the two values are object, we convert them to unique scalars. |
| 305 | 305 | // If the collection contains mixed values (unlikely) where some are objects |
@@ -362,7 +362,7 @@ |
||
| 362 | 362 | $this->assertEquals(1, $numErrors); |
| 363 | 363 | $this->assertCount(1, $errors); |
| 364 | 364 | |
| 365 | - // Process with @ suppression on line before. |
|
| 365 | + // Process with @ suppression on line before. |
|
| 366 | 366 | $content = '<?php '.PHP_EOL.'// @phpcs:ignore'.PHP_EOL.'$var = FALSE;'.PHP_EOL.'$var = FALSE;'; |
| 367 | 367 | $file = new DummyFile($content, $ruleset, $config); |
| 368 | 368 | $file->process(); |
@@ -40,8 +40,8 @@ |
||
| 40 | 40 | , |
| 41 | 41 | <<<HERE |
| 42 | 42 | HERE |
| 43 | - , |
|
| 44 | - ); |
|
| 43 | + , |
|
| 44 | + ); |
|
| 45 | 45 | |
| 46 | 46 | /* testArrowFunctionValue */ |
| 47 | 47 | $foo = array( |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | |
| 136 | 136 | /* testInvalidInPHP8Whitespace */ |
| 137 | 137 | namespace \ Sublevel |
| 138 | - \ function_name(); |
|
| 138 | + \ function_name(); |
|
| 139 | 139 | |
| 140 | 140 | /* testInvalidInPHP8Comments */ |
| 141 | 141 | $value = \Fully |
@@ -145,8 +145,8 @@ |
||
| 145 | 145 | |
| 146 | 146 | /* testMultilineNamespaceType */ |
| 147 | 147 | public \MyNamespace /** comment *\/ comment */ |
| 148 | - \MyClass /* comment */ |
|
| 149 | - \Foo $foo; |
|
| 148 | + \MyClass /* comment */ |
|
| 149 | + \Foo $foo; |
|
| 150 | 150 | |
| 151 | 151 | } |
| 152 | 152 | |