mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-04 23:52:28 +02:00
Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d37
a808debdb2
[MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt (#4375)
This commit is contained in:
parent
2f38f6feed
commit
9c2b8f6963
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'f9d9f99f7ade07e3aa5fc40e6b6d3f2a17e9aa85';
|
||||
public const PACKAGE_VERSION = 'a808debdb28fa1dd32ed804c6276e9cac30f7d37';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-06-29 01:15:46';
|
||||
public const RELEASE_DATE = '2023-06-29 15:12:00';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -268,6 +268,9 @@ final class BetterNodeFinder
|
||||
return null;
|
||||
}
|
||||
if ($parentNode instanceof Node) {
|
||||
if ($parentNode instanceof FileWithoutNamespace || $parentNode instanceof Namespace_) {
|
||||
return null;
|
||||
}
|
||||
return $this->findFirstPrevious($parentNode, $filter);
|
||||
}
|
||||
return null;
|
||||
@ -292,6 +295,9 @@ final class BetterNodeFinder
|
||||
return null;
|
||||
}
|
||||
if ($parentNode instanceof Node) {
|
||||
if ($parentNode instanceof FileWithoutNamespace || $parentNode instanceof Namespace_) {
|
||||
return null;
|
||||
}
|
||||
return $this->findFirstNext($parentNode, $filter);
|
||||
}
|
||||
return null;
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba::getLoader();
|
||||
return ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba
|
||||
class ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba
|
||||
class ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3098,9 +3098,9 @@ class ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user