mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
Updated Rector to commit dcabd2dad1f6b8e2731cfa873e8d15d8612e4a80
dcabd2dad1
drepcate more configure constants (#1446)
This commit is contained in:
parent
a774c0815a
commit
1fcfcc2a92
@ -23,6 +23,7 @@ final class PreferThisOrSelfMethodCallRector extends \Rector\Core\Rector\Abstrac
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const TYPE_TO_PREFERENCE = 'type_to_preference';
|
||||
|
@ -28,6 +28,7 @@ final class StringClassNameToClassConstantRector extends \Rector\Core\Rector\Abs
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const CLASSES_TO_SKIP = 'classes_to_skip';
|
||||
|
@ -20,6 +20,7 @@ final class RemoveParentRector extends \Rector\Core\Rector\AbstractRector implem
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const PARENT_TYPES_TO_REMOVE = 'parents_types_to_remove';
|
||||
|
@ -20,6 +20,7 @@ final class RemoveFuncCallRector extends \Rector\Core\Rector\AbstractRector impl
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const REMOVE_FUNC_CALLS = 'remove_func_calls';
|
||||
|
@ -23,6 +23,7 @@ final class CompleteImportForPartialAnnotationRector extends \Rector\Core\Rector
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const USE_IMPORTS_TO_RESTORE = '$useImportsToRestore';
|
||||
|
@ -24,6 +24,7 @@ final class SingleToManyMethodRector extends \Rector\Core\Rector\AbstractRector
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const SINGLES_TO_MANY_METHODS = 'singles_to_many_methods';
|
||||
|
@ -22,6 +22,7 @@ final class MergeInterfacesRector extends \Rector\Core\Rector\AbstractRector imp
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const OLD_TO_NEW_INTERFACES = 'old_to_new_interfaces';
|
||||
|
@ -23,6 +23,7 @@ final class ReservedFnFunctionRector extends \Rector\Core\Rector\AbstractRector
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const RESERVED_NAMES_TO_NEW_ONES = '$reservedNamesToNewOnes';
|
||||
|
@ -17,6 +17,7 @@ final class MethodCallToPropertyFetchRector extends \Rector\Core\Rector\Abstract
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const METHOD_CALL_TO_PROPERTY_FETCHES = 'method_call_to_property_fetch_collection';
|
||||
|
@ -25,6 +25,7 @@ final class StaticCallToMethodCallRector extends \Rector\Core\Rector\AbstractRec
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const STATIC_CALLS_TO_METHOD_CALLS = 'static_calls_to_method_calls';
|
||||
|
@ -20,6 +20,7 @@ final class ToStringToMethodCallRector extends \Rector\Core\Rector\AbstractRecto
|
||||
{
|
||||
/**
|
||||
* @api
|
||||
* @deprecated
|
||||
* @var string
|
||||
*/
|
||||
public const METHOD_NAMES_BY_TYPE = 'method_names_by_type';
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '9f8b48003f85f9cd873c0c674808955005e74f55';
|
||||
public const PACKAGE_VERSION = 'dcabd2dad1f6b8e2731cfa873e8d15d8612e4a80';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2021-12-10 08:43:16';
|
||||
public const RELEASE_DATE = '2021-12-10 09:31:49';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20211210\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitb615f9bf422b7941090047369af82b89::getLoader();
|
||||
return ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075::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 ComposerAutoloaderInitb615f9bf422b7941090047369af82b89
|
||||
class ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInitb615f9bf422b7941090047369af82b89
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb615f9bf422b7941090047369af82b89', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb615f9bf422b7941090047369af82b89', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075', '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\ComposerStaticInitb615f9bf422b7941090047369af82b89::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit5b95b9935bf71870ed295f9acb37b075::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInitb615f9bf422b7941090047369af82b89
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitb615f9bf422b7941090047369af82b89::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit5b95b9935bf71870ed295f9acb37b075::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequireb615f9bf422b7941090047369af82b89($fileIdentifier, $file);
|
||||
composerRequire5b95b9935bf71870ed295f9acb37b075($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequireb615f9bf422b7941090047369af82b89($fileIdentifier, $file)
|
||||
function composerRequire5b95b9935bf71870ed295f9acb37b075($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 ComposerStaticInitb615f9bf422b7941090047369af82b89
|
||||
class ComposerStaticInit5b95b9935bf71870ed295f9acb37b075
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3795,9 +3795,9 @@ class ComposerStaticInitb615f9bf422b7941090047369af82b89
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb615f9bf422b7941090047369af82b89::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb615f9bf422b7941090047369af82b89::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb615f9bf422b7941090047369af82b89::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit5b95b9935bf71870ed295f9acb37b075::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit5b95b9935bf71870ed295f9acb37b075::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit5b95b9935bf71870ed295f9acb37b075::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
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('RectorPrefix20211210\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInitb615f9bf422b7941090047369af82b89', false) && !interface_exists('ComposerAutoloaderInitb615f9bf422b7941090047369af82b89', false) && !trait_exists('ComposerAutoloaderInitb615f9bf422b7941090047369af82b89', false)) {
|
||||
spl_autoload_call('RectorPrefix20211210\ComposerAutoloaderInitb615f9bf422b7941090047369af82b89');
|
||||
if (!class_exists('ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075', false) && !interface_exists('ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075', false) && !trait_exists('ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075', false)) {
|
||||
spl_autoload_call('RectorPrefix20211210\ComposerAutoloaderInit5b95b9935bf71870ed295f9acb37b075');
|
||||
}
|
||||
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('RectorPrefix20211210\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -81,9 +81,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20211210\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequireb615f9bf422b7941090047369af82b89')) {
|
||||
function composerRequireb615f9bf422b7941090047369af82b89() {
|
||||
return \RectorPrefix20211210\composerRequireb615f9bf422b7941090047369af82b89(...func_get_args());
|
||||
if (!function_exists('composerRequire5b95b9935bf71870ed295f9acb37b075')) {
|
||||
function composerRequire5b95b9935bf71870ed295f9acb37b075() {
|
||||
return \RectorPrefix20211210\composerRequire5b95b9935bf71870ed295f9acb37b075(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user