Skip to content

Commit

Permalink
Add method RectorConfigBuilder::withSkipPath() (#5626)
Browse files Browse the repository at this point in the history
  • Loading branch information
integer committed Feb 16, 2024
1 parent 7cd56d8 commit f347c73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Configuration/RectorConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ public function withSkip(array $skip): self
return $this;
}

public function withSkipPath(string $skipPath): self
{
return $this->withSkip([$skipPath]);
}

/**
* Include PHP files from the root directory,
* typically ecs.php, rector.php etc.
Expand Down

0 comments on commit f347c73

Please sign in to comment.