mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-13 12:02:09 +02:00
Updated Rector to commit a04101c5089e5043b7962316e3a1bb0802e453fc
a04101c508
[Php81] Skip re-assign with AssignOp on ReadOnlyPropertyRector (#4600)
This commit is contained in:
parent
f265ebd38b
commit
56035a3c99
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '3c82c6e9ac05760468a1b21f710da553efba70ad';
|
||||
public const PACKAGE_VERSION = 'a04101c5089e5043b7962316e3a1bb0802e453fc';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-07-25 16:40:45';
|
||||
public const RELEASE_DATE = '2023-07-25 17:02:10';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -53,7 +53,10 @@ final class AssignManipulator
|
||||
}
|
||||
public function isLeftPartOfAssign(Node $node) : bool
|
||||
{
|
||||
return $node->getAttribute(AttributeKey::IS_BEING_ASSIGNED) === \true;
|
||||
if ($node->getAttribute(AttributeKey::IS_BEING_ASSIGNED) === \true) {
|
||||
return \true;
|
||||
}
|
||||
return $node->getAttribute(AttributeKey::IS_ASSIGNED_TO) === \true;
|
||||
}
|
||||
/**
|
||||
* @api doctrine
|
||||
|
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 ComposerAutoloaderInit1049fadf63876890f84e2ca4596380f1::getLoader();
|
||||
return ComposerAutoloaderInitebfb55012d4bc7c83f4dfb47558dc123::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 ComposerAutoloaderInit1049fadf63876890f84e2ca4596380f1
|
||||
class ComposerAutoloaderInitebfb55012d4bc7c83f4dfb47558dc123
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit1049fadf63876890f84e2ca4596380f1
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit1049fadf63876890f84e2ca4596380f1', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitebfb55012d4bc7c83f4dfb47558dc123', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit1049fadf63876890f84e2ca4596380f1', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitebfb55012d4bc7c83f4dfb47558dc123', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit1049fadf63876890f84e2ca4596380f1::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit1049fadf63876890f84e2ca4596380f1::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123::$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 ComposerStaticInit1049fadf63876890f84e2ca4596380f1
|
||||
class ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3022,9 +3022,9 @@ class ComposerStaticInit1049fadf63876890f84e2ca4596380f1
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1049fadf63876890f84e2ca4596380f1::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit1049fadf63876890f84e2ca4596380f1::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit1049fadf63876890f84e2ca4596380f1::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitebfb55012d4bc7c83f4dfb47558dc123::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
10
vendor/composer/installed.json
vendored
10
vendor/composer/installed.json
vendored
@ -1986,12 +1986,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
|
||||
"reference": "f342945fa3854b84a140c4a39a7fb3cb51aaf8f4"
|
||||
"reference": "89173a280c66cba1d58a6a720cbaf933f8d56e71"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/f342945fa3854b84a140c4a39a7fb3cb51aaf8f4",
|
||||
"reference": "f342945fa3854b84a140c4a39a7fb3cb51aaf8f4",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/89173a280c66cba1d58a6a720cbaf933f8d56e71",
|
||||
"reference": "89173a280c66cba1d58a6a720cbaf933f8d56e71",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2004,7 +2004,7 @@
|
||||
"phpunit\/phpunit": "^10.1",
|
||||
"rector\/phpstan-rules": "^0.6",
|
||||
"rector\/rector-generator": "^0.6",
|
||||
"rector\/rector-src": "dev-main#84b3ea107c6d5b5d369358cdfd7fc6e69d390e9d",
|
||||
"rector\/rector-src": "dev-main",
|
||||
"symplify\/easy-ci": "^11.2",
|
||||
"symplify\/easy-coding-standard": "^11.2",
|
||||
"symplify\/phpstan-extensions": "^11.2",
|
||||
@ -2016,7 +2016,7 @@
|
||||
"tomasvotruba\/type-coverage": "^0.2",
|
||||
"tomasvotruba\/unused-public": "^0.1"
|
||||
},
|
||||
"time": "2023-07-25T09:38:17+00:00",
|
||||
"time": "2023-07-25T09:43:20+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
@ -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 1c50ebb'), '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 f342945'), '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 87b593f'), '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 a0af12a'));
|
||||
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 1c50ebb'), '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 89173a2'), '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 87b593f'), '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 a0af12a'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
"phpunit\/phpunit": "^10.1",
|
||||
"rector\/phpstan-rules": "^0.6",
|
||||
"rector\/rector-generator": "^0.6",
|
||||
"rector\/rector-src": "dev-main#84b3ea107c6d5b5d369358cdfd7fc6e69d390e9d",
|
||||
"rector\/rector-src": "dev-main",
|
||||
"symplify\/easy-ci": "^11.2",
|
||||
"symplify\/easy-coding-standard": "^11.2",
|
||||
"symplify\/phpstan-extensions": "^11.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user