Updated Rector to commit a76ec2921c0202da145386cb2052f82952c34900

a76ec2921c Fix missing / suffix on VendorMissAnalyseGuard (#5571)
This commit is contained in:
Tomas Votruba 2024-02-07 00:44:34 +00:00
parent 9d4b461bdb
commit 4483663a95
2 changed files with 3 additions and 3 deletions

View File

@ -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
*/

View File

@ -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;
}
}