mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee
[Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
This commit is contained in:
parent
3caa257b2c
commit
defe1882fe
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 ComposerAutoloaderInitc45e1662441b4c072df8d5fa9c42b3ae::getLoader();
|
||||
return ComposerAutoloaderInitd3e99a44e2f41de24fb096806517b50f::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 ComposerAutoloaderInitc45e1662441b4c072df8d5fa9c42b3ae
|
||||
class ComposerAutoloaderInitd3e99a44e2f41de24fb096806517b50f
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInitc45e1662441b4c072df8d5fa9c42b3ae
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc45e1662441b4c072df8d5fa9c42b3ae', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitd3e99a44e2f41de24fb096806517b50f', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc45e1662441b4c072df8d5fa9c42b3ae', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitd3e99a44e2f41de24fb096806517b50f', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitd3e99a44e2f41de24fb096806517b50f::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitd3e99a44e2f41de24fb096806517b50f::$files;
|
||||
$requireFile = 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 ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae
|
||||
class ComposerStaticInitd3e99a44e2f41de24fb096806517b50f
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3069,9 +3069,9 @@ class ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitc45e1662441b4c072df8d5fa9c42b3ae::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitd3e99a44e2f41de24fb096806517b50f::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitd3e99a44e2f41de24fb096806517b50f::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitd3e99a44e2f41de24fb096806517b50f::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
32
vendor/composer/installed.json
vendored
32
vendor/composer/installed.json
vendored
@ -798,17 +798,17 @@
|
||||
},
|
||||
{
|
||||
"name": "phpstan\/phpstan",
|
||||
"version": "1.9.12",
|
||||
"version_normalized": "1.9.12.0",
|
||||
"version": "1.9.14",
|
||||
"version_normalized": "1.9.14.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/phpstan\/phpstan.git",
|
||||
"reference": "44a338ff0d5572c13fd77dfd91addb96e48c29f8"
|
||||
"reference": "e5fcc96289cf737304286a9b505fbed091f02e58"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/44a338ff0d5572c13fd77dfd91addb96e48c29f8",
|
||||
"reference": "44a338ff0d5572c13fd77dfd91addb96e48c29f8",
|
||||
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/e5fcc96289cf737304286a9b505fbed091f02e58",
|
||||
"reference": "e5fcc96289cf737304286a9b505fbed091f02e58",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -817,7 +817,7 @@
|
||||
"conflict": {
|
||||
"phpstan\/phpstan-shim": "*"
|
||||
},
|
||||
"time": "2023-01-17T10:44:04+00:00",
|
||||
"time": "2023-01-19T10:47:09+00:00",
|
||||
"bin": [
|
||||
"phpstan",
|
||||
"phpstan.phar"
|
||||
@ -840,7 +840,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https:\/\/github.com\/phpstan\/phpstan\/issues",
|
||||
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.9.12"
|
||||
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.9.14"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1914,12 +1914,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
|
||||
"reference": "0f2153103f1a616d37e2976f6d6d0fa788429b46"
|
||||
"reference": "37bd454278c11b8e52676885d9b5580b89e9288a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/0f2153103f1a616d37e2976f6d6d0fa788429b46",
|
||||
"reference": "0f2153103f1a616d37e2976f6d6d0fa788429b46",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/37bd454278c11b8e52676885d9b5580b89e9288a",
|
||||
"reference": "37bd454278c11b8e52676885d9b5580b89e9288a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1948,7 +1948,7 @@
|
||||
"tomasvotruba\/type-coverage": "^0.0.9",
|
||||
"tomasvotruba\/unused-public": "^0.0.34"
|
||||
},
|
||||
"time": "2023-01-18T11:57:11+00:00",
|
||||
"time": "2023-01-18T12:07:51+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
@ -2126,12 +2126,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "3b132c15485836be4f16d9810a8390ce80ed553b"
|
||||
"reference": "65d1307213ea07e2e4012ccf147f62b9df88c866"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/3b132c15485836be4f16d9810a8390ce80ed553b",
|
||||
"reference": "3b132c15485836be4f16d9810a8390ce80ed553b",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/65d1307213ea07e2e4012ccf147f62b9df88c866",
|
||||
"reference": "65d1307213ea07e2e4012ccf147f62b9df88c866",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2162,7 +2162,7 @@
|
||||
"symplify\/rule-doc-generator": "^11.1",
|
||||
"symplify\/vendor-patches": "^11.1"
|
||||
},
|
||||
"time": "2023-01-10T10:35:17+00:00",
|
||||
"time": "2023-01-19T15:00:18+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
@ -2189,7 +2189,7 @@
|
||||
"description": "Rector upgrades rules for Symfony Framework",
|
||||
"support": {
|
||||
"issues": "https:\/\/github.com\/rectorphp\/rector-symfony\/issues",
|
||||
"source": "https:\/\/github.com\/rectorphp\/rector-symfony\/tree\/0.14.2"
|
||||
"source": "https:\/\/github.com\/rectorphp\/rector-symfony\/tree\/main"
|
||||
},
|
||||
"install-path": "..\/rector\/rector-symfony"
|
||||
},
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
BIN
vendor/phpstan/phpstan/phpstan.phar
vendored
BIN
vendor/phpstan/phpstan/phpstan.phar
vendored
Binary file not shown.
26
vendor/phpstan/phpstan/phpstan.phar.asc
vendored
26
vendor/phpstan/phpstan/phpstan.phar.asc
vendored
@ -1,16 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmPGe94ACgkQzxoQjQ56
|
||||
5yAFWBAAiKQpo3laFPZfDuXuOF5AdbJsIe9NZrVkr/dybtZhCrJeej1IWKXysR+1
|
||||
xy6XkpmHfRtlmq0qMmPoHMAilbzvQ7jL6IBEeVspejTY9sH9NXjUPzbqU5Oi7a7t
|
||||
Ou+RBGnoKNPq9Agrz9h8SYnpHvZwt3JhXbfXPeLR2mI9gvbQcRrO31rs/m/G4i8f
|
||||
CAysFjb41fvlzHDpwCwF5Wgoyh82Z1CUsMNVeMZ2/h8ngmFCm9/vtWNa+SYWFQX/
|
||||
YJaDceeLEEp0zGC8/U0Zpycyny2GYsyLWyA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Fw4d
|
||||
gU7t/v9e6u4bccZC9W8UO/TmWNRW2n1qFX6VurgsuYq8jRVMsVj1uEaKCJtOH5Lm
|
||||
Z8ca7D28Wckv31kUOR/XX2FypzJebG0I+K1cQJJjIjAlABj6RVSxuZWUakOoPnHy
|
||||
YZGpIQhyHUSTwppqkYMnpbOoOCmzX3p08qdXbKfgCU6WJQtiz7U=
|
||||
=70O7
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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 f0c3c11'), '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 0f21531'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), '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 2cfc0a5'), '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 3b132c1'));
|
||||
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 f0c3c11'), '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 37bd454'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), '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 2cfc0a5'), '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 65d1307'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ use Rector\Renaming\Rector\Name\RenameClassRector;
|
||||
use Rector\Renaming\ValueObject\MethodCallRename;
|
||||
use Rector\Symfony\Rector\ClassConstFetch\ConsoleExceptionToErrorEventConstantRector;
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
$rectorConfig->ruleWithConfiguration(ArgumentAdderRector::class, [new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'compile', 2, '__unknown__', 0), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'addCompilerPass', 2, 'priority', 0), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph', 'connect', 6, 'weak', \false)]);
|
||||
$rectorConfig->ruleWithConfiguration(ArgumentAdderRector::class, [new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'compile', 0, 'resolveEnvPlaceholders', \false), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'addCompilerPass', 2, 'priority', 0), new ArgumentAdder('Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph', 'connect', 6, 'weak', \false)]);
|
||||
$rectorConfig->rule(ConsoleExceptionToErrorEventConstantRector::class);
|
||||
$rectorConfig->ruleWithConfiguration(RenameClassRector::class, [
|
||||
# console
|
||||
|
1
vendor/rector/rector-symfony/easy-ci.php
vendored
1
vendor/rector/rector-symfony/easy-ci.php
vendored
@ -8,5 +8,6 @@ use Rector\Set\Contract\SetListInterface;
|
||||
use Rector\Symfony\Contract\Bridge\Symfony\Routing\SymfonyRoutesProviderInterface;
|
||||
use RectorPrefix202301\Symplify\EasyCI\Config\EasyCIConfig;
|
||||
return static function (EasyCIConfig $easyCIConfig) : void {
|
||||
$easyCIConfig->paths([__DIR__ . '/config', __DIR__ . '/src']);
|
||||
$easyCIConfig->typesToSkip([SymfonyRoutesProviderInterface::class, SetListInterface::class, RectorInterface::class]);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user