fix fnmatch order

This commit is contained in:
Tomas Votruba 2018-09-21 06:56:48 +02:00
parent b640e75e4e
commit 1ab794a3b9

View File

@ -111,7 +111,7 @@ final class FilesFinder
return false;
}
if (fnmatch($splFileInfo->getRealPath(), $excludePath)) {
if (fnmatch($excludePath, $splFileInfo->getRealPath())) {
return false;
}
}