| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function testFixing() |
||
| 28 | { |
||
| 29 | $codeSnifferRunner = new CodeSnifferRunner(ExclamationMarkSniff::NAME); |
||
| 30 | |||
| 31 | $fixedContent = $codeSnifferRunner->getFixedContent(__DIR__ . '/wrong.php'); |
||
| 32 | $this->assertSame(file_get_contents(__DIR__ . '/wrong-fixed.php'), $fixedContent); |
||
| 33 | |||
| 34 | $fixedContent = $codeSnifferRunner->getFixedContent(__DIR__ . '/wrong2.php'); |
||
| 35 | $this->assertSame(file_get_contents(__DIR__ . '/wrong-fixed.php'), $fixedContent); |
||
| 36 | |||
| 37 | $fixedContent = $codeSnifferRunner->getFixedContent(__DIR__ . '/wrong3.php'); |
||
| 38 | $this->assertSame(file_get_contents(__DIR__ . '/wrong-fixed.php'), $fixedContent); |
||
| 39 | } |
||
| 40 | |||
| 42 |