Updated Rector to commit 1c231db5520a71dbaec34574fdafe69bcb002ff3

1c231db552 [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute is different (#3434)
This commit is contained in:
Tomas Votruba 2023-03-02 00:22:02 +00:00
parent da8b1801b0
commit 9d8b966f01
5 changed files with 17 additions and 12 deletions

View File

@ -86,6 +86,11 @@ CODE_SAMPLE
if (!$nextNode instanceof Node) {
return null;
}
$parentCurrentNode = $node->getAttribute(AttributeKey::PARENT_NODE);
$parentNextNode = $nextNode->getAttribute(AttributeKey::PARENT_NODE);
if ($parentNextNode !== $parentCurrentNode) {
return null;
}
if ($this->shouldSkip($nextNode)) {
return null;
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4bd93ba93ddde14444c7635b77007ee523a760f3';
public const PACKAGE_VERSION = '1c231db5520a71dbaec34574fdafe69bcb002ff3';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-03-01 22:17:15';
public const RELEASE_DATE = '2023-03-02 00:17:26';
/**
* @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 ComposerAutoloaderInit26ad315690cbd9f44d8bb798dcd0359e::getLoader();
return ComposerAutoloaderInit8d006a05d119d57889fc2a58f2ea44bf::getLoader();

View File

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