Updated Rector to commit 47d25befa5ca7aa348e9a27125edebc6e62eaf68

47d25befa5 [Php73] Skip escaped Dash on RegexDashEscapeRector (#2753)
This commit is contained in:
Tomas Votruba 2022-08-12 17:18:44 +00:00
parent d30de9efe0
commit 4100d6e660
8 changed files with 22 additions and 22 deletions

View File

@ -36,9 +36,9 @@ final class RegexDashEscapeRector extends AbstractRector implements MinPhpVersio
private const LEFT_HAND_UNESCAPED_DASH_REGEX = '#(\\[.*?\\\\(w|s|d))-(?!\\])#i';
/**
* @var string
* @see https://regex101.com/r/TBVme9/8
* @see https://regex101.com/r/TBVme9/9
*/
private const RIGHT_HAND_UNESCAPED_DASH_REGEX = '#(?<!\\[)-(\\\\(w|s|d)[.*]?)\\]#i';
private const RIGHT_HAND_UNESCAPED_DASH_REGEX = '#(?<!\\[)(?<!\\\\)-(\\\\(w|s|d)[.*]?)\\]#i';
/**
* @var bool
*/

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'da9fab1810dd4985b2071b3ffc34c88f665856cb';
public const PACKAGE_VERSION = '47d25befa5ca7aa348e9a27125edebc6e62eaf68';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-08-12 14:37:18';
public const RELEASE_DATE = '2022-08-12 19:14:03';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit94e05952573ac5e4eab3504e42815fed
class ComposerAutoloaderInitbf7211a76892736b7bc0faf709ade205
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit94e05952573ac5e4eab3504e42815fed
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit94e05952573ac5e4eab3504e42815fed', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitbf7211a76892736b7bc0faf709ade205', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit94e05952573ac5e4eab3504e42815fed', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitbf7211a76892736b7bc0faf709ade205', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit94e05952573ac5e4eab3504e42815fed::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitbf7211a76892736b7bc0faf709ade205::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit94e05952573ac5e4eab3504e42815fed::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInitbf7211a76892736b7bc0faf709ade205::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire94e05952573ac5e4eab3504e42815fed($fileIdentifier, $file);
composerRequirebf7211a76892736b7bc0faf709ade205($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit94e05952573ac5e4eab3504e42815fed
* @param string $file
* @return void
*/
function composerRequire94e05952573ac5e4eab3504e42815fed($fileIdentifier, $file)
function composerRequirebf7211a76892736b7bc0faf709ade205($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 ComposerStaticInit94e05952573ac5e4eab3504e42815fed
class ComposerStaticInitbf7211a76892736b7bc0faf709ade205
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@ -3250,9 +3250,9 @@ class ComposerStaticInit94e05952573ac5e4eab3504e42815fed
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit94e05952573ac5e4eab3504e42815fed::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit94e05952573ac5e4eab3504e42815fed::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit94e05952573ac5e4eab3504e42815fed::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitbf7211a76892736b7bc0faf709ade205::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitbf7211a76892736b7bc0faf709ade205::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitbf7211a76892736b7bc0faf709ade205::$classMap;
}, null, ClassLoader::class);
}

View File

@ -1920,12 +1920,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
"reference": "c5e04ca5255452f1f9fdab28b8a6bcb7676f24a0"
"reference": "efc7ddff907a92e57135e6eec8da17957423acfd"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/c5e04ca5255452f1f9fdab28b8a6bcb7676f24a0",
"reference": "c5e04ca5255452f1f9fdab28b8a6bcb7676f24a0",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/efc7ddff907a92e57135e6eec8da17957423acfd",
"reference": "efc7ddff907a92e57135e6eec8da17957423acfd",
"shasum": ""
},
"require": {
@ -1949,7 +1949,7 @@
"symplify\/rule-doc-generator": "^11.0",
"symplify\/vendor-patches": "^11.0"
},
"time": "2022-08-11T14:37:01+00:00",
"time": "2022-08-12T12:38:20+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-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main c2ec06c'), '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 9781e77'), '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 c5e04ca'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 38440b9'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 20edb95'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 3638a66'), '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 528d313'), '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 f88fb13'));
public const EXTENSIONS = array('rector/rector-cakephp' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-cakephp', 'relative_install_path' => '../../rector-cakephp', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main c2ec06c'), '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 9781e77'), '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 efc7ddf'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 38440b9'), 'rector/rector-laravel' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-laravel', 'relative_install_path' => '../../rector-laravel', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 20edb95'), 'rector/rector-phpoffice' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpoffice', 'relative_install_path' => '../../rector-phpoffice', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 3638a66'), '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 528d313'), '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 f88fb13'));
private function __construct()
{
}