/** * @dataProvider provideFixersDescriptionConsistencyCases */ public function testFixersDescriptionConsistency(FixerInterface $fixer) { $this->assertRegExp('/^[A-Z@].*\\.$/', $fixer->getDescription(), 'Description must start with capital letter or an @ and end with dot.'); }