Updated Rector to commit 25817175d71dd62ec8007bfc7b6353d568a2b6de

25817175d7 [PHP 8.0] Add lcfirst annotation to attribute support (#6577)
This commit is contained in:
Tomas Votruba 2024-12-13 10:43:42 +00:00
parent 6b92e01e7d
commit 1061e30ae8
6 changed files with 15 additions and 14 deletions

View File

@ -43,6 +43,7 @@ use RectorPrefix202412\Webmozart\Assert\Assert;
/**
* @see \Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\AnnotationToAttributeRectorTest
* @see \Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Php81NestedAttributesRectorTest
* @see \Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\MultipleCallAnnotationToAttributeRectorTest
*/
final class AnnotationToAttributeRector extends AbstractRector implements ConfigurableRectorInterface, MinPhpVersionInterface
{
@ -193,7 +194,7 @@ CODE_SAMPLE
}
foreach ($this->annotationsToAttributes as $annotationToAttribute) {
$desiredTag = $annotationToAttribute->getTag();
if ($desiredTag !== $tag) {
if (\strtolower($desiredTag) !== \strtolower($tag)) {
continue;
}
// make sure the attribute class really exists to avoid error on early upgrade

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '362e9b59543957bd64c3ac8b84574116ccc7f47d';
public const PACKAGE_VERSION = '25817175d71dd62ec8007bfc7b6353d568a2b6de';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-12-13 05:55:32';
public const RELEASE_DATE = '2024-12-13 10:41:14';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a::getLoader();
return ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a
class ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit43a144ea3a889e7564ca86040a3795ff::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit43a144ea3a889e7564ca86040a3795ff::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a
class ComposerStaticInit43a144ea3a889e7564ca86040a3795ff
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2838,9 +2838,9 @@ class ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit43a144ea3a889e7564ca86040a3795ff::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit43a144ea3a889e7564ca86040a3795ff::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit43a144ea3a889e7564ca86040a3795ff::$classMap;
}, null, ClassLoader::class);
}

View File

@ -30,7 +30,7 @@ if (!function_exists('humbug_phpscoper_expose_class')) {
}
}
humbug_phpscoper_expose_class('AutoloadIncluder', 'RectorPrefix202412\AutoloadIncluder');
humbug_phpscoper_expose_class('ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a', 'RectorPrefix202412\ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a');
humbug_phpscoper_expose_class('ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff', 'RectorPrefix202412\ComposerAutoloaderInit43a144ea3a889e7564ca86040a3795ff');
humbug_phpscoper_expose_class('Product', 'RectorPrefix202412\Product');
humbug_phpscoper_expose_class('SomeTest', 'RectorPrefix202412\SomeTest');