mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 20:39:43 +01:00
Rector 0.12.6
This commit is contained in:
parent
b7d9e5b849
commit
21b47be5bd
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a::getLoader();
|
||||
return ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a
|
||||
class ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire3d2450221259eafd1a9d0ae2da49955a($fileIdentifier, $file);
|
||||
composerRequireea6be250a9b3ddb5ee7f07c3b6239625($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire3d2450221259eafd1a9d0ae2da49955a($fileIdentifier, $file)
|
||||
function composerRequireea6be250a9b3ddb5ee7f07c3b6239625($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a
|
||||
class ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3793,9 +3793,9 @@ class ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit3d2450221259eafd1a9d0ae2da49955a::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitea6be250a9b3ddb5ee7f07c3b6239625::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -2520,12 +2520,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "5d446e6aeecfd485c2a14fc28f3cf11bfb8167d4"
|
||||
"reference": "0a50dc442e0adfd354c1fe1d9ca9c0de83651609"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/5d446e6aeecfd485c2a14fc28f3cf11bfb8167d4",
|
||||
"reference": "5d446e6aeecfd485c2a14fc28f3cf11bfb8167d4",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/0a50dc442e0adfd354c1fe1d9ca9c0de83651609",
|
||||
"reference": "0a50dc442e0adfd354c1fe1d9ca9c0de83651609",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2553,7 +2553,7 @@
|
||||
"symplify\/rule-doc-generator": "^10.0",
|
||||
"symplify\/vendor-patches": "^10.0"
|
||||
},
|
||||
"time": "2021-12-09T14:43:04+00:00",
|
||||
"time": "2021-12-09T15:49:42+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-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 584d84b'), '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 16548a2'), '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 4fb1137'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 1e3b3ab'), '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 5b6de7c'), '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 ed23e61'), '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 5d446e6'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 107492c'));
|
||||
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 584d84b'), '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 16548a2'), '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 4fb1137'), 'rector/rector-nette' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-nette', 'relative_install_path' => '../../rector-nette', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 1e3b3ab'), '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 5b6de7c'), '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 ed23e61'), '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 0a50dc4'), 'ssch/typo3-rector' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/ssch/typo3-rector', 'relative_install_path' => '../../../ssch/typo3-rector', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 107492c'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
@ -105,31 +105,11 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\HttpKernel\\HttpKernelBrowser', 'getScript', new \PHPStan\Type\StringType()),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\HttpKernel\\Log\\DebugLoggerInterface', 'getLogs', $arrayType),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\HttpKernel\\Log\\DebugLoggerInterface', 'countErrors', new \PHPStan\Type\IntegerType()),
|
||||
// new AddReturnTypeDeclaration(
|
||||
// 'Symfony\Component\OptionsResolver\OptionsResolver',
|
||||
// 'setNormalizer',
|
||||
// new StaticType()
|
||||
// ),
|
||||
// new AddReturnTypeDeclaration(
|
||||
// 'Symfony\Component\OptionsResolver\OptionsResolver',
|
||||
// 'setAllowedValues',
|
||||
// new StaticType()
|
||||
// ),
|
||||
// new AddReturnTypeDeclaration(
|
||||
// 'Symfony\Component\OptionsResolver\OptionsResolver',
|
||||
// 'addAllowedValues',
|
||||
// new StaticType()
|
||||
// ),
|
||||
// new AddReturnTypeDeclaration(
|
||||
// 'Symfony\Component\OptionsResolver\OptionsResolver',
|
||||
// 'setAllowedTypes',
|
||||
// new StaticType()
|
||||
// ),
|
||||
// new AddReturnTypeDeclaration(
|
||||
// 'Symfony\Component\OptionsResolver\OptionsResolver',
|
||||
// 'addAllowedTypes',
|
||||
// new StaticType()
|
||||
// ),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\OptionsResolver\\OptionsResolver', 'setNormalizer', new \Rector\StaticTypeMapper\ValueObject\Type\SimpleStaticType('Symfony\\Component\\OptionsResolver\\OptionsResolver')),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\OptionsResolver\\OptionsResolver', 'setAllowedValues', new \Rector\StaticTypeMapper\ValueObject\Type\SimpleStaticType('Symfony\\Component\\OptionsResolver\\OptionsResolver')),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\OptionsResolver\\OptionsResolver', 'addAllowedValues', new \Rector\StaticTypeMapper\ValueObject\Type\SimpleStaticType('Symfony\\Component\\OptionsResolver\\OptionsResolver')),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\OptionsResolver\\OptionsResolver', 'setAllowedTypes', new \Rector\StaticTypeMapper\ValueObject\Type\SimpleStaticType('Symfony\\Component\\OptionsResolver\\OptionsResolver')),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\OptionsResolver\\OptionsResolver', 'addAllowedTypes', new \Rector\StaticTypeMapper\ValueObject\Type\SimpleStaticType('Symfony\\Component\\OptionsResolver\\OptionsResolver')),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\PropertyAccess\\PropertyPathInterface', 'getLength', new \PHPStan\Type\IntegerType()),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\PropertyAccess\\PropertyPathInterface', 'getParent', new \PHPStan\Type\UnionType([new \PHPStan\Type\NullType(), new \PHPStan\Type\ObjectType('Symfony\\Component\\PropertyAccess\\PropertyPathInterface')])),
|
||||
new \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration('Symfony\\Component\\PropertyAccess\\PropertyPathInterface', 'getElements', $arrayType),
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -12,8 +12,8 @@ if (!class_exists('GenerateChangelogCommand', false) && !interface_exists('Gener
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20211209\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a', false) && !interface_exists('ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a', false) && !trait_exists('ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a', false)) {
|
||||
spl_autoload_call('RectorPrefix20211209\ComposerAutoloaderInit3d2450221259eafd1a9d0ae2da49955a');
|
||||
if (!class_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false) && !interface_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false) && !trait_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false)) {
|
||||
spl_autoload_call('RectorPrefix20211209\ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625');
|
||||
}
|
||||
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
|
||||
spl_autoload_call('RectorPrefix20211209\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -81,9 +81,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20211209\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire3d2450221259eafd1a9d0ae2da49955a')) {
|
||||
function composerRequire3d2450221259eafd1a9d0ae2da49955a() {
|
||||
return \RectorPrefix20211209\composerRequire3d2450221259eafd1a9d0ae2da49955a(...func_get_args());
|
||||
if (!function_exists('composerRequireea6be250a9b3ddb5ee7f07c3b6239625')) {
|
||||
function composerRequireea6be250a9b3ddb5ee7f07c3b6239625() {
|
||||
return \RectorPrefix20211209\composerRequireea6be250a9b3ddb5ee7f07c3b6239625(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user