File tree Expand file tree Collapse file tree
IxDFCodingStandard/PhpCsFixer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 */
1313final class Config
1414{
15- /** @param array<string, mixed> $ruleOverrides Rules to merge on top of the shared ruleset */
15+ // phpcs:ignore SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint
16+ /** @param array<string, array<string, mixed>|bool> $ruleOverrides Rules to merge on top of the shared ruleset */
1617 public static function create (string $ projectDir , array $ ruleOverrides = [], ?Finder $ finder = null ): BaseConfig
1718 {
1819 $ finder ??= self ::defaultFinder ($ projectDir );
Original file line number Diff line number Diff line change 88 */
99final class Rules
1010{
11- /** @var array<string, mixed>|null */
11+ // phpcs:ignore SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint
12+ /** @var array<string, array<string, mixed>|bool>|null */
1213 private static ?array $ rules = null ;
1314
14- /** @return array<string, mixed> */
15+ // phpcs:ignore SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint.DisallowedMixedTypeHint
16+ /** @return array<string, array<string, mixed>|bool> */
1517 public static function get (): array
1618 {
1719 return self ::$ rules ??= require dirname (__DIR__ , 2 ).'/.php-cs-fixer-rules.php ' ;
You can’t perform that action at this time.
0 commit comments