mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit 1ec5e2d35bb93bc7554c799b169c6a4d41223e22
1ec5e2d35b
restore links
This commit is contained in:
parent
99edeb9629
commit
cd95eb3dcc
@ -53,7 +53,7 @@ final class PregMatchTypeCorrector
|
||||
}
|
||||
/**
|
||||
* Special case for "preg_match(), preg_match_all()" - with 3rd argument
|
||||
* @changelog https://github.com/rectorphp/rector/issues/786
|
||||
* @see https://github.com/rectorphp/rector/issues/786
|
||||
*/
|
||||
public function correct(\PhpParser\Node $node, \PHPStan\Type\Type $originalType) : \PHPStan\Type\Type
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ final class AddPregQuoteDelimiterRector extends \Rector\Core\Rector\AbstractRect
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
* @changelog https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
|
||||
* @see https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
|
||||
*/
|
||||
private const ALL_MODIFIERS = 'imsxeADSUXJu';
|
||||
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
|
||||
|
@ -33,7 +33,7 @@ use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
final class DowngradePregUnmatchedAsNullConstantRector extends \Rector\Core\Rector\AbstractRector
|
||||
{
|
||||
/**
|
||||
* @changelog https://www.php.net/manual/en/function.preg-match.php
|
||||
* @see https://www.php.net/manual/en/function.preg-match.php
|
||||
* @var string
|
||||
*/
|
||||
private const UNMATCHED_NULL_FLAG = 'PREG_UNMATCHED_AS_NULL';
|
||||
|
@ -193,7 +193,7 @@ CODE_SAMPLE
|
||||
if ($parentReflectionMethodParam->getName() === $paramName) {
|
||||
/**
|
||||
* Getting a ReflectionNamedType works from PHP 7.1 onwards
|
||||
* @changelog https://www.php.net/manual/en/reflectionparameter.gettype.php#125334
|
||||
* @see https://www.php.net/manual/en/reflectionparameter.gettype.php#125334
|
||||
*/
|
||||
$reflectionParamType = $parentReflectionMethodParam->getType();
|
||||
/**
|
||||
|
@ -131,7 +131,7 @@ final class PropertyNaming
|
||||
return $this->prolongIfTooShort($variableName, $className);
|
||||
}
|
||||
/**
|
||||
* @changelog https://stackoverflow.com/a/2792045/1348344
|
||||
* @see https://stackoverflow.com/a/2792045/1348344
|
||||
*/
|
||||
public function underscoreToName(string $underscoreName) : string
|
||||
{
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '52ea41240ecfb6f0a8310082419b1e61feecd0c3';
|
||||
public const PACKAGE_VERSION = '1ec5e2d35bb93bc7554c799b169c6a4d41223e22';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-05-12 21:10:39';
|
||||
public const RELEASE_DATE = '2022-05-12 21:13:03';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ final class RenameClassNonPhpRector implements \Rector\Core\Contract\Rector\NonP
|
||||
private const STANDALONE_CLASS_PREFIX_REGEX = '#((?<!(\\\\|"|\\>|\\.|\'))|(?<extra_space>\\s+\\\\))';
|
||||
/**
|
||||
* @see https://regex101.com/r/HKUFJD/5
|
||||
* @changelog https://stackoverflow.com/a/3926546/1348344
|
||||
* @see https://stackoverflow.com/a/3926546/1348344
|
||||
* @var string
|
||||
*/
|
||||
private const STANDALONE_CLASS_SUFFIX_REGEX = '(?=::)#';
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2::getLoader();
|
||||
return ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9::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 ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2
|
||||
class ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequirea7cb7ce1479289fc347d8409dc6a05d2($fileIdentifier, $file);
|
||||
composerRequire7718bb1a9342aa47f506f9c9726386c9($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequirea7cb7ce1479289fc347d8409dc6a05d2($fileIdentifier, $file)
|
||||
function composerRequire7718bb1a9342aa47f506f9c9726386c9($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 ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2
|
||||
class ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3896,9 +3896,9 @@ class ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInita7cb7ce1479289fc347d8409dc6a05d2::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit7718bb1a9342aa47f506f9c9726386c9::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
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('RectorPrefix20220512\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2', false) && !interface_exists('ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2', false) && !trait_exists('ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2', false)) {
|
||||
spl_autoload_call('RectorPrefix20220512\ComposerAutoloaderInita7cb7ce1479289fc347d8409dc6a05d2');
|
||||
if (!class_exists('ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9', false) && !interface_exists('ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9', false) && !trait_exists('ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9', false)) {
|
||||
spl_autoload_call('RectorPrefix20220512\ComposerAutoloaderInit7718bb1a9342aa47f506f9c9726386c9');
|
||||
}
|
||||
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('RectorPrefix20220512\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220512\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequirea7cb7ce1479289fc347d8409dc6a05d2')) {
|
||||
function composerRequirea7cb7ce1479289fc347d8409dc6a05d2() {
|
||||
return \RectorPrefix20220512\composerRequirea7cb7ce1479289fc347d8409dc6a05d2(...func_get_args());
|
||||
if (!function_exists('composerRequire7718bb1a9342aa47f506f9c9726386c9')) {
|
||||
function composerRequire7718bb1a9342aa47f506f9c9726386c9() {
|
||||
return \RectorPrefix20220512\composerRequire7718bb1a9342aa47f506f9c9726386c9(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user