Updated Rector to commit 38b3c20c5b36f1a821d3f38dfef63f547bb1b918

38b3c20c5b Faster FileInfoMatcher (#5830)
This commit is contained in:
Tomas Votruba 2024-04-19 11:48:23 +00:00
parent 61037dab6c
commit e01fd7276e
2 changed files with 6 additions and 2 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '25c1b437061df8d1361f457c603dcd17b10a29c4';
public const PACKAGE_VERSION = '38b3c20c5b36f1a821d3f38dfef63f547bb1b918';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-04-18 14:36:00';
public const RELEASE_DATE = '2024-04-19 18:46:00';
/**
* @var int
*/

View File

@ -66,6 +66,10 @@ final class FileInfoMatcher
if ($this->fnmatcher->match($ignoredPath, $filePath)) {
return \true;
}
// realpathMatcher cannot resolve wildcards -> return early to prevent unnecessary IO
if (\strpos($ignoredPath, '*') !== \false) {
return \false;
}
return $this->realpathMatcher->match($ignoredPath, $filePath);
}
}