ensure_override_attribute = true; return $config; } public function providerValidCodeParse(): iterable { return [ 'constructor' => [ 'code' => ' [], 'ignored_issues' => [], 'php_version' => '8.3', ], 'overrideClass' => [ 'code' => ' [], 'ignored_issues' => [], 'php_version' => '8.3', ], 'overrideInterface' => [ 'code' => ' [], 'ignored_issues' => [], 'php_version' => '8.3', ], ]; } public function providerInvalidCodeParse(): iterable { return [ 'noParent' => [ 'code' => ' 'InvalidOverride', 'error_levels' => [], 'php_version' => '8.3', ], 'classMissingAttribute' => [ 'code' => ' 'MissingOverrideAttribute', 'error_levels' => [], 'php_version' => '8.3', ], 'classUsingTrait' => [ 'code' => ' 'MissingOverrideAttribute', 'error_levels' => [], 'php_version' => '8.3', ], 'constructor' => [ 'code' => ' 'InvalidOverride', 'error_levels' => [], 'php_version' => '8.3', ], 'interfaceMissingAttribute' => [ 'code' => ' 'MissingOverrideAttribute', 'error_levels' => [], 'php_version' => '8.3', ], 'privateMethod' => [ 'code' => ' 'InvalidOverride', 'error_levels' => [], 'php_version' => '8.3', ], 'interfaceWithNoParent' => [ 'code' => ' 'InvalidOverride', 'error_levels' => [], 'php_version' => '8.3', ], ]; } }