mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
295156cba1
[Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841)
This commit is contained in:
parent
44c00ca135
commit
6da4ac4e2a
|
@ -2,6 +2,7 @@ parameters:
|
|||
# see https://github.com/rectorphp/rector/issues/3490#issue-634342324
|
||||
featureToggles:
|
||||
disableRuntimeReflectionProvider: false
|
||||
nodeConnectingVisitorCompatibility: false
|
||||
|
||||
services:
|
||||
- Rector\NodeTypeResolver\Reflection\BetterReflection\RectorBetterReflectionSourceLocatorFactory
|
||||
|
|
|
@ -56,6 +56,7 @@ final class AttributeKey
|
|||
*
|
||||
* The parent node can be still enabled by using custom PHPStan configuration,
|
||||
* @see https://github.com/rectorphp/rector-src/pull/4458#discussion_r1257478146
|
||||
* @see https://github.com/rectorphp/rector-src/pull/4841
|
||||
*/
|
||||
public const PARENT_NODE = 'parent';
|
||||
/**
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '75f2cbcae34c7c50fee8d4c3860d9a70e45438bd';
|
||||
public const PACKAGE_VERSION = '295156cba171ce9685cd26e73490fd7d7b2001b1';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-08-23 17:32:21';
|
||||
public const RELEASE_DATE = '2023-08-24 14:15:31';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInita5b52a0a536ec7b3bfee6c4acb7c3e6c::getLoader();
|
||||
return ComposerAutoloaderInit8671783b2c46a0862733c9e04557a6cf::getLoader();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInita5b52a0a536ec7b3bfee6c4acb7c3e6c
|
||||
class ComposerAutoloaderInit8671783b2c46a0862733c9e04557a6cf
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,17 +22,17 @@ class ComposerAutoloaderInita5b52a0a536ec7b3bfee6c4acb7c3e6c
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInita5b52a0a536ec7b3bfee6c4acb7c3e6c', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit8671783b2c46a0862733c9e04557a6cf', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInita5b52a0a536ec7b3bfee6c4acb7c3e6c', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit8671783b2c46a0862733c9e04557a6cf', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit8671783b2c46a0862733c9e04557a6cf::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit8671783b2c46a0862733c9e04557a6cf::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c
|
||||
class ComposerStaticInit8671783b2c46a0862733c9e04557a6cf
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
|
@ -2609,9 +2609,9 @@ class ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInita5b52a0a536ec7b3bfee6c4acb7c3e6c::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit8671783b2c46a0862733c9e04557a6cf::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit8671783b2c46a0862733c9e04557a6cf::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit8671783b2c46a0862733c9e04557a6cf::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
|
@ -1812,12 +1812,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
|
||||
"reference": "ae6d18d67bdcafe9bdc02693c2f18afe3149322e"
|
||||
"reference": "9a58a849b3cc586c1a1654bfe1df9541cd2f4fd7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/ae6d18d67bdcafe9bdc02693c2f18afe3149322e",
|
||||
"reference": "ae6d18d67bdcafe9bdc02693c2f18afe3149322e",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/9a58a849b3cc586c1a1654bfe1df9541cd2f4fd7",
|
||||
"reference": "9a58a849b3cc586c1a1654bfe1df9541cd2f4fd7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1831,7 +1831,7 @@
|
|||
"phpunit\/phpunit": "^10.1",
|
||||
"rector\/phpstan-rules": "^0.6",
|
||||
"rector\/rector-generator": "^0.6",
|
||||
"rector\/rector-src": "dev-main",
|
||||
"rector\/rector-src": "dev-phpstan-config",
|
||||
"symplify\/easy-ci": "^11.2",
|
||||
"symplify\/easy-coding-standard": "^11.2",
|
||||
"symplify\/phpstan-extensions": "^11.2",
|
||||
|
@ -1843,7 +1843,7 @@
|
|||
"tomasvotruba\/type-coverage": "^0.2",
|
||||
"tomasvotruba\/unused-public": "^0.1"
|
||||
},
|
||||
"time": "2023-08-15T22:06:44+00:00",
|
||||
"time": "2023-08-24T07:10:27+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
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 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'));
|
||||
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 9a58a84'), '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()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"phpunit\/phpunit": "^10.1",
|
||||
"rector\/phpstan-rules": "^0.6",
|
||||
"rector\/rector-generator": "^0.6",
|
||||
"rector\/rector-src": "dev-main",
|
||||
"rector\/rector-src": "dev-phpstan-config",
|
||||
"symplify\/easy-ci": "^11.2",
|
||||
"symplify\/easy-coding-standard": "^11.2",
|
||||
"symplify\/phpstan-extensions": "^11.2",
|
||||
|
|
Loading…
Reference in New Issue