[ ' [], 'error_levels' => [ 'MixedAssignment', 'UndefinedThisPropertyAssignment', ], ], ]; } /** * @return array */ public function providerFileCheckerInvalidCodeParse() { return [ 'continueOutsideLoop' => [ ' 'ContinueOutsideLoop', ], 'invalidIterator' => [ ' 'InvalidIterator', ], 'rawObjectIteration' => [ ' 5) { $arr[] = new A; } else { $arr = new B; } foreach ($arr as $a) { bar($a); }', 'error_message' => 'RawObjectIteration', ], ]; } }