Skip to content

Commit

Permalink
Add numeric_literal_separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Jan 22, 2024
1 parent ad9cf00 commit 7c4bb7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Rules/AbstractRuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ abstract class AbstractRuleProvider implements RulesProviderInterface
'3.32.0' => ['no_unneeded_braces'],
'3.33.0' => ['native_type_declaration_casing'],
'3.42.0' => ['class_keyword'],
'3.47.0' => ['numeric_literal_separator'],
];

/**
Expand Down
1 change: 1 addition & 0 deletions src/Rules/DefaultRulesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public function getRules(): array
'not_operator_with_successor_space' => true,
'normalize_index_brace' => true,
'nullable_type_declaration' => true,
'numeric_literal_separator' => true,
'object_operator_without_whitespace' => true,
'octal_notation' => true,
'operator_linebreak' => true,
Expand Down

0 comments on commit 7c4bb7a

Please sign in to comment.