Skip to content

Commit

Permalink
Merge pull request #228 from andreaswolf/fnmatch
Browse files Browse the repository at this point in the history
[TASK] Rename FnMatchMatcher class
  • Loading branch information
simonschaufi authored Sep 5, 2024
2 parents 068253d + ca162ff commit 9843b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/fractor/src/FileSystem/Skipper/FileInfoMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
final readonly class FileInfoMatcher
{
public function __construct(
private FnmatchMatcher $fnmatcher,
private FnMatchMatcher $fnMatcher,
private RealpathMatcher $realpathMatcher
) {
}
Expand Down Expand Up @@ -50,7 +50,7 @@ private function doesFilePathMatchPattern(string $filePath, string $ignoredPath)
return true;
}

if ($this->fnmatcher->match($ignoredPath, $filePath)) {
if ($this->fnMatcher->match($ignoredPath, $filePath)) {
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace a9f\Fractor\FileSystem\Skipper;

final class FnmatchMatcher
final class FnMatchMatcher
{
public function match(string $matchingPath, string $filePath): bool
{
Expand Down

0 comments on commit 9843b09

Please sign in to comment.