Skip to content

Commit

Permalink
Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d37
Browse files Browse the repository at this point in the history
rectorphp/rector-src@a808deb [MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt (#4375)
  • Loading branch information
TomasVotruba committed Jun 29, 2023
1 parent 2f38f6f commit 9c2b8f6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 6 additions & 0 deletions src/PhpParser/Node/BetterNodeFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ public function findFirstPrevious(Node $node, callable $filter) : ?Node
return null;
}
if ($parentNode instanceof Node) {
if ($parentNode instanceof FileWithoutNamespace || $parentNode instanceof Namespace_) {
return null;
}
return $this->findFirstPrevious($parentNode, $filter);
}
return null;
Expand All @@ -292,6 +295,9 @@ public function findFirstNext(Node $node, callable $filter) : ?Node
return null;
}
if ($parentNode instanceof Node) {
if ($parentNode instanceof FileWithoutNamespace || $parentNode instanceof Namespace_) {
return null;
}
return $this->findFirstNext($parentNode, $filter);
}
return null;
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba::getLoader();
return ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f::getLoader();
10 changes: 5 additions & 5 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit8f470a1be91d9fb3d16449781cfeceba
class ComposerAutoloaderInitb6619cb9cfa3e4987bc69d90a7afb90f
{
private static $loader;

Expand All @@ -22,17 +22,17 @@ public static function getLoader()
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;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit8f470a1be91d9fb3d16449781cfeceba
class ComposerStaticInitb6619cb9cfa3e4987bc69d90a7afb90f
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 9c2b8f6

Please sign in to comment.