mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
fix fnmatch order
This commit is contained in:
parent
b640e75e4e
commit
1ab794a3b9
@ -111,7 +111,7 @@ final class FilesFinder
|
||||
return false;
|
||||
}
|
||||
|
||||
if (fnmatch($splFileInfo->getRealPath(), $excludePath)) {
|
||||
if (fnmatch($excludePath, $splFileInfo->getRealPath())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user