Skip to content

Commit

Permalink
Fix: Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 18, 2023
1 parent 7b06113 commit f5067b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/Unit/RuleSetTest.php
Expand Up @@ -96,16 +96,14 @@ public function testWithHeaderReturnsRuleSetWithEnabledHeaderCommentFixer(string
self::assertEquals($ruleSet->name(), $mutated->name());
self::assertEquals($ruleSet->phpVersion(), $mutated->phpVersion());

$expected = Rules::fromArray([
'foo' => false,
$expected = $ruleSet->rules()->merge(Rules::fromArray([
'header_comment' => [
'comment_type' => 'PHPDoc',
'header' => \trim($header),
'location' => 'after_declare_strict',
'separate' => 'both',
],
'quz' => true,
]);
]));

self::assertEquals($expected, $mutated->rules());
}
Expand Down

0 comments on commit f5067b4

Please sign in to comment.