mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Rector 0.12.20
This commit is contained in:
parent
1c3a355583
commit
cfa8d3e236
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841::getLoader();
|
||||
return ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595::getLoader();
|
||||
|
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
@ -2470,6 +2470,7 @@ return array(
|
||||
'Rector\\PHPStanStaticTypeMapper\\Utils\\TypeUnwrapper' => $baseDir . '/packages/PHPStanStaticTypeMapper/Utils/TypeUnwrapper.php',
|
||||
'Rector\\PHPStanStaticTypeMapper\\ValueObject\\UnionTypeAnalysis' => $baseDir . '/packages/PHPStanStaticTypeMapper/ValueObject/UnionTypeAnalysis.php',
|
||||
'Rector\\PHPUnit\\Naming\\TestClassNameResolver' => $vendorDir . '/rector/rector-phpunit/src/Naming/TestClassNameResolver.php',
|
||||
'Rector\\PHPUnit\\Naming\\TestClassNameResolverInterface' => $vendorDir . '/rector/rector-phpunit/src/Naming/TestClassNameResolverInterface.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\AssertCallAnalyzer' => $vendorDir . '/rector/rector-phpunit/src/NodeAnalyzer/AssertCallAnalyzer.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\IdentifierManipulator' => $vendorDir . '/rector/rector-phpunit/src/NodeAnalyzer/IdentifierManipulator.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\MockedVariableAnalyzer' => $vendorDir . '/rector/rector-phpunit/src/NodeAnalyzer/MockedVariableAnalyzer.php',
|
||||
|
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 ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841
|
||||
class ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
\Composer\Autoload\ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841::getInitializer($loader)();
|
||||
\Composer\Autoload\ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595::getInitializer($loader)();
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire9f23f3c4256bafc7f855abc9c6252841($fileIdentifier, $file);
|
||||
composerRequire30746bd244a3575ecb1b54b7f76ce595($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire9f23f3c4256bafc7f855abc9c6252841($fileIdentifier, $file)
|
||||
function composerRequire30746bd244a3575ecb1b54b7f76ce595($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
9
vendor/composer/autoload_static.php
vendored
9
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841
|
||||
class ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -2839,6 +2839,7 @@ class ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841
|
||||
'Rector\\PHPStanStaticTypeMapper\\Utils\\TypeUnwrapper' => __DIR__ . '/../..' . '/packages/PHPStanStaticTypeMapper/Utils/TypeUnwrapper.php',
|
||||
'Rector\\PHPStanStaticTypeMapper\\ValueObject\\UnionTypeAnalysis' => __DIR__ . '/../..' . '/packages/PHPStanStaticTypeMapper/ValueObject/UnionTypeAnalysis.php',
|
||||
'Rector\\PHPUnit\\Naming\\TestClassNameResolver' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Naming/TestClassNameResolver.php',
|
||||
'Rector\\PHPUnit\\Naming\\TestClassNameResolverInterface' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Naming/TestClassNameResolverInterface.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\AssertCallAnalyzer' => __DIR__ . '/..' . '/rector/rector-phpunit/src/NodeAnalyzer/AssertCallAnalyzer.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\IdentifierManipulator' => __DIR__ . '/..' . '/rector/rector-phpunit/src/NodeAnalyzer/IdentifierManipulator.php',
|
||||
'Rector\\PHPUnit\\NodeAnalyzer\\MockedVariableAnalyzer' => __DIR__ . '/..' . '/rector/rector-phpunit/src/NodeAnalyzer/MockedVariableAnalyzer.php',
|
||||
@ -3845,9 +3846,9 @@ class ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit9f23f3c4256bafc7f855abc9c6252841::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit30746bd244a3575ecb1b54b7f76ce595::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
9
vendor/composer/installed.json
vendored
9
vendor/composer/installed.json
vendored
@ -2559,12 +2559,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
|
||||
"reference": "7d2e4383a1e923d9c4d4783310a53fa38e5455bc"
|
||||
"reference": "9706d8b89c53e35b02dc5b72fc909117ae0b7aac"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/7d2e4383a1e923d9c4d4783310a53fa38e5455bc",
|
||||
"reference": "7d2e4383a1e923d9c4d4783310a53fa38e5455bc",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/9706d8b89c53e35b02dc5b72fc909117ae0b7aac",
|
||||
"reference": "9706d8b89c53e35b02dc5b72fc909117ae0b7aac",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2581,6 +2581,7 @@
|
||||
"phpunit\/phpunit": "^9.5",
|
||||
"rector\/phpstan-rules": "^0.4.21",
|
||||
"rector\/rector-src": "dev-main",
|
||||
"symplify\/easy-ci": "^10.1",
|
||||
"symplify\/easy-coding-standard": "^10.0",
|
||||
"symplify\/monorepo-builder": "^10.0",
|
||||
"symplify\/phpstan-extensions": "^10.0",
|
||||
@ -2588,7 +2589,7 @@
|
||||
"symplify\/rule-doc-generator": "^10.0",
|
||||
"symplify\/vendor-patches": "^10.0"
|
||||
},
|
||||
"time": "2022-03-24T13:07:05+00:00",
|
||||
"time": "2022-04-06T12:33:40+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 d1fa93d'), '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 07a8a64'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 68d30fe'), '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 31d9892'), '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 1c9a431'), '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 1e12437'), '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 7d2e438'), '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 d8dd122'), '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 4c5f019'));
|
||||
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 d1fa93d'), '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 07a8a64'), 'rector/rector-generator' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-generator', 'relative_install_path' => '../../rector-generator', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 68d30fe'), '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 31d9892'), '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 1c9a431'), '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 1e12437'), '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 9706d8b'), '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 d8dd122'), '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 4c5f019'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
3
vendor/rector/rector-phpunit/composer.json
vendored
3
vendor/rector/rector-phpunit/composer.json
vendored
@ -19,7 +19,8 @@
|
||||
"phpstan\/phpstan-strict-rules": "^1.1",
|
||||
"phpstan\/phpstan-webmozart-assert": "^1.0",
|
||||
"symplify\/vendor-patches": "^10.0",
|
||||
"symplify\/monorepo-builder": "^10.0"
|
||||
"symplify\/monorepo-builder": "^10.0",
|
||||
"symplify\/easy-ci": "^10.1"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
14
vendor/rector/rector-phpunit/easy-ci.php
vendored
Normal file
14
vendor/rector/rector-phpunit/easy-ci.php
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220406;
|
||||
|
||||
use Rector\Core\Contract\Rector\RectorInterface;
|
||||
use Rector\PHPUnit\Naming\TestClassNameResolverInterface;
|
||||
use Rector\Set\Contract\SetListInterface;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
use RectorPrefix20220406\Symplify\EasyCI\ValueObject\Option;
|
||||
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
||||
$parameters = $containerConfigurator->parameters();
|
||||
$parameters->set(\RectorPrefix20220406\Symplify\EasyCI\ValueObject\Option::TYPES_TO_SKIP, [\Rector\PHPUnit\Naming\TestClassNameResolverInterface::class, \Rector\Core\Contract\Rector\RectorInterface::class, \Rector\Set\Contract\SetListInterface::class]);
|
||||
};
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\PHPUnit\Naming;
|
||||
|
||||
final class TestClassNameResolver
|
||||
final class TestClassNameResolver implements \Rector\PHPUnit\Naming\TestClassNameResolverInterface
|
||||
{
|
||||
/**
|
||||
* @return string[]
|
||||
|
12
vendor/rector/rector-phpunit/src/Naming/TestClassNameResolverInterface.php
vendored
Normal file
12
vendor/rector/rector-phpunit/src/Naming/TestClassNameResolverInterface.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Rector\PHPUnit\Naming;
|
||||
|
||||
interface TestClassNameResolverInterface
|
||||
{
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function resolve(string $className) : array;
|
||||
}
|
@ -11,7 +11,7 @@ use PHPStan\Reflection\ReflectionProvider;
|
||||
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
|
||||
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
|
||||
use Rector\Core\Rector\AbstractRector;
|
||||
use Rector\PHPUnit\Naming\TestClassNameResolver;
|
||||
use Rector\PHPUnit\Naming\TestClassNameResolverInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
/**
|
||||
@ -35,10 +35,10 @@ final class AddSeeTestAnnotationRector extends \Rector\Core\Rector\AbstractRecto
|
||||
private $phpDocTagRemover;
|
||||
/**
|
||||
* @readonly
|
||||
* @var \Rector\PHPUnit\Naming\TestClassNameResolver
|
||||
* @var \Rector\PHPUnit\Naming\TestClassNameResolverInterface
|
||||
*/
|
||||
private $testClassNameResolver;
|
||||
public function __construct(\PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover $phpDocTagRemover, \Rector\PHPUnit\Naming\TestClassNameResolver $testClassNameResolver)
|
||||
public function __construct(\PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover $phpDocTagRemover, \Rector\PHPUnit\Naming\TestClassNameResolverInterface $testClassNameResolver)
|
||||
{
|
||||
$this->reflectionProvider = $reflectionProvider;
|
||||
$this->phpDocTagRemover = $phpDocTagRemover;
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20220406\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841', false) && !interface_exists('ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841', false) && !trait_exists('ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841', false)) {
|
||||
spl_autoload_call('RectorPrefix20220406\ComposerAutoloaderInit9f23f3c4256bafc7f855abc9c6252841');
|
||||
if (!class_exists('ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595', false) && !interface_exists('ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595', false) && !trait_exists('ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595', false)) {
|
||||
spl_autoload_call('RectorPrefix20220406\ComposerAutoloaderInit30746bd244a3575ecb1b54b7f76ce595');
|
||||
}
|
||||
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('RectorPrefix20220406\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220406\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire9f23f3c4256bafc7f855abc9c6252841')) {
|
||||
function composerRequire9f23f3c4256bafc7f855abc9c6252841() {
|
||||
return \RectorPrefix20220406\composerRequire9f23f3c4256bafc7f855abc9c6252841(...func_get_args());
|
||||
if (!function_exists('composerRequire30746bd244a3575ecb1b54b7f76ce595')) {
|
||||
function composerRequire30746bd244a3575ecb1b54b7f76ce595() {
|
||||
return \RectorPrefix20220406\composerRequire30746bd244a3575ecb1b54b7f76ce595(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user