mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-02 09:20:52 +00:00
Updated Rector to commit 5e213e66ed72dede6bb43315dbaa2c8d86d449c9
5e213e66ed
Revert "Faster FileInfoMatcher (#5830)" (#5831)
This commit is contained in:
parent
e01fd7276e
commit
24418026e3
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '38b3c20c5b36f1a821d3f38dfef63f547bb1b918';
|
public const PACKAGE_VERSION = '5e213e66ed72dede6bb43315dbaa2c8d86d449c9';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-04-19 18:46:00';
|
public const RELEASE_DATE = '2024-04-19 12:39:13';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -66,10 +66,6 @@ final class FileInfoMatcher
|
||||||
if ($this->fnmatcher->match($ignoredPath, $filePath)) {
|
if ($this->fnmatcher->match($ignoredPath, $filePath)) {
|
||||||
return \true;
|
return \true;
|
||||||
}
|
}
|
||||||
// realpathMatcher cannot resolve wildcards -> return early to prevent unnecessary IO
|
|
||||||
if (\strpos($ignoredPath, '*') !== \false) {
|
|
||||||
return \false;
|
|
||||||
}
|
|
||||||
return $this->realpathMatcher->match($ignoredPath, $filePath);
|
return $this->realpathMatcher->match($ignoredPath, $filePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user