Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function testProcessFile() |
||
30 | { |
||
31 | $file = $this->codeSniffer->processFile(__DIR__ . '/SniffSource/SomeAbstractClass.php'); |
||
32 | $this->assertSame(1, $file->getErrorCount()); |
||
33 | |||
34 | $error = $file->getErrors()[5][10][0]; |
||
35 | $this->assertSame('SymplifyCodingStandard.Naming.AbstractClassName', $error['source']); |
||
36 | } |
||
37 | |||
45 |