Skip to content

Commit

Permalink
Turn off IssetToArrayKeyExistsFixer rule (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Dec 7, 2024
1 parent 3c26b42 commit 6e09e30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev/Builder/Modifier/UnwantedRulesFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
final class UnwantedRulesFilter
{
private const UNWANTED_RULES = [
'PhpCsFixerCustomFixers/isset_to_array_key_exists',
'blank_line_after_opening_tag',
'blank_line_between_import_groups',
'combine_consecutive_issets',
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/LibraryRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function getRules(): array
Fixer\ConstructorEmptyBracesFixer::name() => true,
Fixer\DeclareAfterOpeningTagFixer::name() => true,
Fixer\EmptyFunctionBodyFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => false,
Fixer\MultilineCommentOpeningClosingAloneFixer::name() => true,
Fixer\MultilinePromotedPropertiesFixer::name() => true,
Fixer\NoCommentedOutCodeFixer::name() => true,
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/ProjectRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public function getRules(): array
Fixer\ConstructorEmptyBracesFixer::name() => true,
Fixer\DeclareAfterOpeningTagFixer::name() => true,
Fixer\EmptyFunctionBodyFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => false,
Fixer\MultilineCommentOpeningClosingAloneFixer::name() => true,
Fixer\MultilinePromotedPropertiesFixer::name() => true,
Fixer\NoCommentedOutCodeFixer::name() => true,
Expand Down

0 comments on commit 6e09e30

Please sign in to comment.