Updated Rector to commit 362044330457d02beb0a05c5240dbd6bb449e874

3620443304 Bump dev packages (#6568)
This commit is contained in:
Tomas Votruba 2024-12-12 16:43:40 +00:00
parent 3f27091368
commit d8f6c81134
14 changed files with 39 additions and 35 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '2.0.1';
public const PACKAGE_VERSION = '362044330457d02beb0a05c5240dbd6bb449e874';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-12-12 11:44:42';
public const RELEASE_DATE = '2024-12-12 16: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 ComposerAutoloaderInit81d4449d0aece43e495f19bed850e02c::getLoader();
return ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit81d4449d0aece43e495f19bed850e02c
class ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit81d4449d0aece43e495f19bed850e02c
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit81d4449d0aece43e495f19bed850e02c', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit81d4449d0aece43e495f19bed850e02c', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitfe9c9d678432c9dc11080b4472423d0a', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit81d4449d0aece43e495f19bed850e02c::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit81d4449d0aece43e495f19bed850e02c::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$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 ComposerStaticInit81d4449d0aece43e495f19bed850e02c
class ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2840,9 +2840,9 @@ class ComposerStaticInit81d4449d0aece43e495f19bed850e02c
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit81d4449d0aece43e495f19bed850e02c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit81d4449d0aece43e495f19bed850e02c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit81d4449d0aece43e495f19bed850e02c::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitfe9c9d678432c9dc11080b4472423d0a::$classMap;
}, null, ClassLoader::class);
}

View File

@ -1691,12 +1691,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
"reference": "a4cd22df620e449304f7cf8d341b02aa1e76be18"
"reference": "00ef1cd14df456b44f3e990a068ae1e188104eee"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/a4cd22df620e449304f7cf8d341b02aa1e76be18",
"reference": "a4cd22df620e449304f7cf8d341b02aa1e76be18",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/00ef1cd14df456b44f3e990a068ae1e188104eee",
"reference": "00ef1cd14df456b44f3e990a068ae1e188104eee",
"shasum": ""
},
"require": {
@ -1704,20 +1704,22 @@
"symfony\/yaml": "^7.1"
},
"require-dev": {
"doctrine\/doctrine-bundle": "^2.12",
"doctrine\/orm": "^2.19",
"doctrine\/doctrine-bundle": "^2.13",
"doctrine\/orm": "^2.20",
"phpstan\/extension-installer": "^1.4",
"phpstan\/phpstan": "^2.0",
"phpstan\/phpstan-deprecation-rules": "^2.0",
"phpstan\/phpstan-webmozart-assert": "^2.0",
"phpunit\/phpunit": "^11.4",
"phpunit\/phpunit": "^11.5",
"rector\/rector-src": "dev-main",
"symplify\/easy-coding-standard": "^12.3",
"rector\/type-perfect": "^2.0",
"symplify\/easy-coding-standard": "^12.5",
"symplify\/phpstan-rules": "^14.0",
"symplify\/vendor-patches": "^11.3",
"tomasvotruba\/class-leak": "^1.1",
"tomasvotruba\/class-leak": "^2.0",
"tracy\/tracy": "^2.10"
},
"time": "2024-12-03T17:34:54+00:00",
"time": "2024-12-12T16:28:27+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main a4cd22d'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 4a42815'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main 510a99d'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 29a1abf'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main 00ef1cd'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 4a42815'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main 510a99d'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 29a1abf'));
private function __construct()
{
}

View File

@ -8,17 +8,19 @@
"symfony\/yaml": "^7.1"
},
"require-dev": {
"doctrine\/doctrine-bundle": "^2.12",
"doctrine\/orm": "^2.19",
"doctrine\/doctrine-bundle": "^2.13",
"doctrine\/orm": "^2.20",
"phpstan\/extension-installer": "^1.4",
"phpstan\/phpstan": "^2.0",
"phpstan\/phpstan-deprecation-rules": "^2.0",
"phpstan\/phpstan-webmozart-assert": "^2.0",
"phpunit\/phpunit": "^11.4",
"phpunit\/phpunit": "^11.5",
"rector\/rector-src": "dev-main",
"symplify\/easy-coding-standard": "^12.3",
"rector\/type-perfect": "^2.0",
"symplify\/easy-coding-standard": "^12.5",
"symplify\/phpstan-rules": "^14.0",
"symplify\/vendor-patches": "^11.3",
"tomasvotruba\/class-leak": "^1.1",
"tomasvotruba\/class-leak": "^2.0",
"tracy\/tracy": "^2.10"
},
"autoload": {

View File

@ -3,9 +3,9 @@
declare (strict_types=1);
namespace Rector\Doctrine\Bundle210\Rector\Class_;
use PhpParser\Node\ArrayItem;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\ArrayItem;
use PhpParser\Node\Attribute;
use PhpParser\Node\AttributeGroup;
use PhpParser\Node\Expr;

View File

@ -3,14 +3,14 @@
declare (strict_types=1);
namespace Rector\Doctrine\CodeQuality\Rector\Property;
use PhpParser\Node\PropertyItem;
use PhpParser\Node\Scalar\Int_;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\ClassConstFetch;
use PhpParser\Node\Expr\ConstFetch;
use PhpParser\Node\Expr\UnaryMinus;
use PhpParser\Node\Expr\UnaryPlus;
use PhpParser\Node\PropertyItem;
use PhpParser\Node\Scalar\Int_;
use PhpParser\Node\Scalar\String_;
use PhpParser\Node\Stmt\Property;
use Rector\BetterPhpDocParser\PhpDoc\ArrayItemNode;

View File

@ -3,9 +3,9 @@
declare (strict_types=1);
namespace Rector\Doctrine\Collection22\Rector;
use PhpParser\Node\ArrayItem;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\ArrayItem;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\ClassConstFetch;

View File

@ -3,9 +3,9 @@
declare (strict_types=1);
namespace Rector\Doctrine\Dbal211\Rector\MethodCall;
use PhpParser\Node\ArrayItem;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\ArrayItem;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Type\ObjectType;

View File

@ -104,7 +104,7 @@ final class AttributeFinder
*/
public function hasAttributeByClasses($node, array $attributeClasses) : bool
{
return $this->findAttributeByClasses($node, $attributeClasses) !== [];
return $this->findAttributeByClasses($node, $attributeClasses) instanceof Attribute;
}
private function findArgByName(Attribute $attribute, string $argName) : ?\PhpParser\Node\Expr
{

View File

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