Skip to content

Commit

Permalink
Dynamic sets should be configured after sets (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
zghosts committed Mar 21, 2024
1 parent c80f90c commit 5002568
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Configuration/ECSConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public function __invoke(ECSConfig $ecsConfig): void
$ecsConfig->sets($this->sets);
}

if ($this->dynamicSets !== []) {
$ecsConfig->dynamicSets($this->dynamicSets);
}

if ($this->paths !== []) {
$ecsConfig->paths($this->paths);
}
Expand Down Expand Up @@ -113,10 +117,6 @@ public function __invoke(ECSConfig $ecsConfig): void
$ecsConfig->lineEnding($this->lineEnding);
}

if ($this->dynamicSets !== []) {
$ecsConfig->dynamicSets($this->dynamicSets);
}

if ($this->parallel !== null) {
if ($this->parallel) {
$ecsConfig->parallel(
Expand Down

0 comments on commit 5002568

Please sign in to comment.