Skip to content

Commit

Permalink
Merge branch 'fix-disable-ignored'
Browse files Browse the repository at this point in the history
  • Loading branch information
lkrms committed Dec 22, 2023
2 parents bda6938 + 3b358fc commit 45b1c54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,13 @@ private function apply(): self
$this->PreferredFilters,
);

$disable = self::PSR12_DISABLE;
$disable = array_merge(
self::PSR12_DISABLE,
array_diff(
Arr::extend(self::DEFAULT_RULES, ...self::DEFAULT_FILTERS),
$enable,
),
);

$this->resolveExtensions($rules, $filters, $enable, $disable);
} else {
Expand Down

0 comments on commit 45b1c54

Please sign in to comment.