@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @inheritDoc |
21 | 21 | */ |
22 | - public function log($level, $message, array $context = []): void |
|
22 | + public function log($level, $message, array $context = [ ]): void |
|
23 | 23 | { |
24 | 24 | // Keep silence, *psst* |
25 | 25 | } |
@@ -31,8 +31,8 @@ |
||
31 | 31 | |
32 | 32 | // Check if the lines of code are silent. |
33 | 33 | $source = file($class->getFileName()); |
34 | - $this->assertRegExp('~^\s*{\s*$~', $source[$method->getStartLine()]); |
|
35 | - $this->assertRegExp('~^\s*//~', $source[$method->getStartLine() + 1]); |
|
36 | - $this->assertRegExp('~^\s*}\s*$~', $source[$method->getStartLine() + 2]); |
|
34 | + $this->assertRegExp('~^\s*{\s*$~', $source[ $method->getStartLine() ]); |
|
35 | + $this->assertRegExp('~^\s*//~', $source[ $method->getStartLine() + 1 ]); |
|
36 | + $this->assertRegExp('~^\s*}\s*$~', $source[ $method->getStartLine() + 2 ]); |
|
37 | 37 | } |
38 | 38 | } |