Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8

bdad8bd4a5 [Experiment] Try running doc node traverser just once (#4822)
This commit is contained in:
Tomas Votruba 2023-08-20 12:44:53 +00:00
parent 55f14a766b
commit 98e671cd4d
7 changed files with 17 additions and 17 deletions

2
vendor/autoload.php vendored
View File

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

View File

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

View File

@ -1956,12 +1956,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "9106fbaf0b056a1cda0555212f473cc3e28cce47"
"reference": "ef9424adb90d2254c41b0f77925c93aca064701a"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/9106fbaf0b056a1cda0555212f473cc3e28cce47",
"reference": "9106fbaf0b056a1cda0555212f473cc3e28cce47",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/ef9424adb90d2254c41b0f77925c93aca064701a",
"reference": "ef9424adb90d2254c41b0f77925c93aca064701a",
"shasum": ""
},
"require": {
@ -1992,7 +1992,7 @@
"tomasvotruba\/unused-public": "^0.2",
"tracy\/tracy": "^2.10"
},
"time": "2023-08-20T09:47:48+00:00",
"time": "2023-08-20T12:40:49+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main c0ab738'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ae6d18d'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e6dd6a0'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9106fba'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main c0ab738'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ae6d18d'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e6dd6a0'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main ef9424a'));
private function __construct()
{
}

View File

@ -93,7 +93,7 @@ CODE_SAMPLE
}
private function camelToSnake(string $content) : string
{
return \strtolower(Strings::replace($content, '#([a-z])([A-Z])#', '$1_$2'));
return \mb_strtolower(Strings::replace($content, '#([a-z])([A-Z])#', '$1_$2'));
}
/**
* return <$thisValue>;