mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 21:08:19 +01:00
Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
77167c7a10
[Php52] Use instanceof check instead of compare object $newStmt === $caseStmt on ContinueToBreakInSwitchRector (#4494)
This commit is contained in:
parent
31e06fa816
commit
5df86ccec2
@ -76,7 +76,7 @@ CODE_SAMPLE
|
||||
continue;
|
||||
}
|
||||
$newStmt = $this->processContinueStatement($caseStmt);
|
||||
if ($newStmt === $caseStmt) {
|
||||
if ($newStmt instanceof Continue_) {
|
||||
continue;
|
||||
}
|
||||
$case->stmts[$key] = $newStmt;
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '293913662e1372aae24a5069a753e38475116b8e';
|
||||
public const PACKAGE_VERSION = '77167c7a1047f430b68f7b1063b5f2cb8dfa9830';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-07-12 21:16:11';
|
||||
public const RELEASE_DATE = '2023-07-12 22:10:54';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
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 ComposerAutoloaderInitbd1db12b1200bfe4d09e15788f0f07b8::getLoader();
|
||||
return ComposerAutoloaderInit41ecb44af5f2ae87a3c2b6c0019cb623::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 ComposerAutoloaderInitbd1db12b1200bfe4d09e15788f0f07b8
|
||||
class ComposerAutoloaderInit41ecb44af5f2ae87a3c2b6c0019cb623
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInitbd1db12b1200bfe4d09e15788f0f07b8
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitbd1db12b1200bfe4d09e15788f0f07b8', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit41ecb44af5f2ae87a3c2b6c0019cb623', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitbd1db12b1200bfe4d09e15788f0f07b8', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit41ecb44af5f2ae87a3c2b6c0019cb623', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623::$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 ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8
|
||||
class ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3066,9 +3066,9 @@ class ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitbd1db12b1200bfe4d09e15788f0f07b8::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit41ecb44af5f2ae87a3c2b6c0019cb623::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user