getErrorCount()); } public function testNoErrors(): void { $report = self::checkFile(__DIR__ . '/data/AbstractClass.php'); self::assertSame(0, $report->getErrorCount()); } }