Updated Rector to commit fe326cb516b16c678b3d31cef2b014fbbd384351

fe326cb516 [NodeDecorator] Improve MixPhpHtmlDecorator::decorateNextNodesInlineHTML() performance: stop loop on found InlineHTML (#3305)
This commit is contained in:
Tomas Votruba 2023-01-25 22:17:54 +00:00
parent bbb27b399f
commit c466aa15a9
5 changed files with 14 additions and 13 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '828ec4e66ed7118e0cc6315df0190941d7db1c72';
public const PACKAGE_VERSION = 'fe326cb516b16c678b3d31cef2b014fbbd384351';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-01-26 02:17:15';
public const RELEASE_DATE = '2023-01-26 05:12:34';
/**
* @var int
*/

View File

@ -45,7 +45,7 @@ final class MixPhpHtmlDecorator
}
$endTokenPost = $subNode->getEndTokenPos();
if (isset($oldTokens[$endTokenPost])) {
continue;
return;
}
if (!isset($nodes[$key + 1])) {
// already last one, nothing to do
@ -54,6 +54,7 @@ final class MixPhpHtmlDecorator
if ($nodes[$key + 1] instanceof InlineHTML) {
// No token end? Just added
$nodes[$key + 1]->setAttribute(AttributeKey::ORIGINAL_NODE, null);
break;
}
}
}

2
vendor/autoload.php vendored
View File

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

View File

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