mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit a76ec2921c0202da145386cb2052f82952c34900
a76ec2921c
Fix missing / suffix on VendorMissAnalyseGuard (#5571)
This commit is contained in:
parent
9d4b461bdb
commit
4483663a95
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '5bf03c420e523f365ccc67eebb3f045e854caf55';
|
||||
public const PACKAGE_VERSION = 'a76ec2921c0202da145386cb2052f82952c34900';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-02-07 07:20:04';
|
||||
public const RELEASE_DATE = '2024-02-07 00:42:27';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@ final class VendorMissAnalyseGuard
|
|||
$cwd = PathNormalizer::normalize(\getcwd());
|
||||
foreach ($filePaths as $filePath) {
|
||||
$normalizedPath = PathNormalizer::normalize(\realpath($filePath));
|
||||
if (\strncmp(\substr($normalizedPath, \strlen($cwd)), '/vendor', \strlen('/vendor')) === 0) {
|
||||
if (\strncmp(\substr($normalizedPath, \strlen($cwd)), '/vendor/', \strlen('/vendor/')) === 0) {
|
||||
return \true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user