Updated Rector to commit 1a98723aebf1bdf9462b785d49f75d914b569779

1a98723aeb [Naming] Skip all kinds of generators (#5187)
This commit is contained in:
Tomas Votruba 2023-10-18 09:38:53 +00:00
parent d260adfd2b
commit 65b387953a
2 changed files with 5 additions and 2 deletions

View File

@ -194,6 +194,9 @@ final class BreakingVariableRenameGuard
if (!$paramType instanceof ObjectType) {
return \false;
}
if (\substr_compare($paramType->getClassName(), 'Generator', -\strlen('Generator')) === 0 || \substr_compare($paramType->getClassName(), 'Iterator', -\strlen('Iterator')) === 0) {
return \true;
}
return $paramType->isInstanceOf('Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator')->yes();
}
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '96fae07575c6c64ac7e2950388cbe07d18cbcfc5';
public const PACKAGE_VERSION = '1a98723aebf1bdf9462b785d49f75d914b569779';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-10-18 09:24:02';
public const RELEASE_DATE = '2023-10-18 09:35:59';
/**
* @var int
*/