mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit 628260708ccc40d17e1ef2147774170ac030597f
628260708c
[Performance] Only map comment to php_doc_info for Stmt and Param on BetterStandardPrinter (#4250)
This commit is contained in:
parent
17b9256239
commit
455a66f4b6
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '1d262193e2c28acd5e61733de4a067e30eb51936';
|
||||
public const PACKAGE_VERSION = '628260708ccc40d17e1ef2147774170ac030597f';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-06-17 13:16:44';
|
||||
public const RELEASE_DATE = '2023-06-17 14:41:44';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Core\PhpParser\Printer;
|
||||
|
||||
use PhpParser\Node\Stmt;
|
||||
use RectorPrefix202306\Nette\Utils\Strings;
|
||||
use PhpParser\Comment;
|
||||
use PhpParser\Node;
|
||||
@ -433,7 +434,7 @@ final class BetterStandardPrinter extends Standard
|
||||
{
|
||||
// move phpdoc from node to "comment" attribute
|
||||
foreach ($nodes as $node) {
|
||||
if (!$node instanceof Node) {
|
||||
if (!$node instanceof Stmt && !$node instanceof Param) {
|
||||
continue;
|
||||
}
|
||||
$this->docBlockUpdater->updateNodeWithPhpDocInfo($node);
|
||||
|
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 ComposerAutoloaderInit3125a7387f933c54b227753c08ffa384::getLoader();
|
||||
return ComposerAutoloaderInit6d42e8b0ef15f7135414b7766c2104e1::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 ComposerAutoloaderInit3125a7387f933c54b227753c08ffa384
|
||||
class ComposerAutoloaderInit6d42e8b0ef15f7135414b7766c2104e1
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit3125a7387f933c54b227753c08ffa384
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit3125a7387f933c54b227753c08ffa384', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit6d42e8b0ef15f7135414b7766c2104e1', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit3125a7387f933c54b227753c08ffa384', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit6d42e8b0ef15f7135414b7766c2104e1', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit3125a7387f933c54b227753c08ffa384::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit3125a7387f933c54b227753c08ffa384::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1::$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 ComposerStaticInit3125a7387f933c54b227753c08ffa384
|
||||
class ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3094,9 +3094,9 @@ class ComposerStaticInit3125a7387f933c54b227753c08ffa384
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit3125a7387f933c54b227753c08ffa384::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit3125a7387f933c54b227753c08ffa384::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit3125a7387f933c54b227753c08ffa384::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit6d42e8b0ef15f7135414b7766c2104e1::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user