mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 18:00:50 +00:00
Updated Rector to commit ab670b487796369245cef17254d310b56805633c
ab670b4877
note
This commit is contained in:
parent
116d294510
commit
105da345bb
|
@ -8,6 +8,9 @@ use PhpParser\Node\Stmt\ClassMethod;
|
|||
use Rector\Core\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
/**
|
||||
* @deprecated Use specific rules working with strict type declarations instead.
|
||||
*/
|
||||
final class AddArrayParamDocTypeRector extends AbstractRector
|
||||
{
|
||||
public function getRuleDefinition() : RuleDefinition
|
||||
|
@ -57,7 +60,7 @@ CODE_SAMPLE
|
|||
*/
|
||||
public function refactor(Node $node) : ?Node
|
||||
{
|
||||
\trigger_error('The AddArrayParamDocTypeRector rule is deprecated, as it works with doc block types that are not reliable and might infer incorrect types');
|
||||
\trigger_error('The AddArrayParamDocTypeRector rule is deprecated, as it works with doc block types that are not reliable and might infer incorrect types', \E_ERROR);
|
||||
\sleep(3);
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -17,12 +17,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '5eff14fcc51da2ba72b763be5cd60183b9db46bc';
|
||||
public const PACKAGE_VERSION = 'ab670b487796369245cef17254d310b56805633c';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-11-28 01:00:06';
|
||||
public const RELEASE_DATE = '2022-11-28 01:17:09';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
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 ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4::getLoader();
|
||||
return ComposerAutoloaderInit50d7777f5af574beb95d5748b83b2071::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 ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4
|
||||
class ComposerAutoloaderInit50d7777f5af574beb95d5748b83b2071
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,19 +22,19 @@ class ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit50d7777f5af574beb95d5748b83b2071', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit50d7777f5af574beb95d5748b83b2071', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit50d7777f5af574beb95d5748b83b2071::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit50d7777f5af574beb95d5748b83b2071::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequiredeabdb668d51c2a3139a808880e68bd4($fileIdentifier, $file);
|
||||
composerRequire50d7777f5af574beb95d5748b83b2071($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
|
@ -46,7 +46,7 @@ class ComposerAutoloaderInitdeabdb668d51c2a3139a808880e68bd4
|
|||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequiredeabdb668d51c2a3139a808880e68bd4($fileIdentifier, $file)
|
||||
function composerRequire50d7777f5af574beb95d5748b83b2071($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 ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4
|
||||
class ComposerStaticInit50d7777f5af574beb95d5748b83b2071
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
|
@ -3029,9 +3029,9 @@ class ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitdeabdb668d51c2a3139a808880e68bd4::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit50d7777f5af574beb95d5748b83b2071::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit50d7777f5af574beb95d5748b83b2071::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit50d7777f5af574beb95d5748b83b2071::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
13
vendor/composer/installed.json
vendored
13
vendor/composer/installed.json
vendored
|
@ -2061,12 +2061,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "6442e66b7bb6bd3058107a8dfe7ed4d2ce747d97"
|
||||
"reference": "fae05419e57f51cfd387475fc8f2524d253351fb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/6442e66b7bb6bd3058107a8dfe7ed4d2ce747d97",
|
||||
"reference": "6442e66b7bb6bd3058107a8dfe7ed4d2ce747d97",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/fae05419e57f51cfd387475fc8f2524d253351fb",
|
||||
"reference": "fae05419e57f51cfd387475fc8f2524d253351fb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2078,9 +2078,8 @@
|
|||
"rector\/rector": "<0.13"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan\/extension-installer": "^1.1",
|
||||
"phpstan\/phpstan": "^1.8.2",
|
||||
"phpstan\/phpstan-strict-rules": "^1.3",
|
||||
"phpstan\/extension-installer": "^1.2",
|
||||
"phpstan\/phpstan": "^1.9.2",
|
||||
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
||||
"phpunit\/phpunit": "^9.5",
|
||||
"rector\/phpstan-rules": "^0.6",
|
||||
|
@ -2097,7 +2096,7 @@
|
|||
"symplify\/rule-doc-generator": "^11.1",
|
||||
"symplify\/vendor-patches": "^11.1"
|
||||
},
|
||||
"time": "2022-11-27T23:59:59+00:00",
|
||||
"time": "2022-11-28T00:02:49+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-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 bf394ee'), '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 4a09528'), '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 e646c56'), '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 6442e66'));
|
||||
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 bf394ee'), '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 4a09528'), '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 e646c56'), '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 fae0541'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
5
vendor/rector/rector-symfony/composer.json
vendored
5
vendor/rector/rector-symfony/composer.json
vendored
|
@ -9,9 +9,8 @@
|
|||
"symfony\/string": "^6.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan\/extension-installer": "^1.1",
|
||||
"phpstan\/phpstan": "^1.8.2",
|
||||
"phpstan\/phpstan-strict-rules": "^1.3",
|
||||
"phpstan\/extension-installer": "^1.2",
|
||||
"phpstan\/phpstan": "^1.9.2",
|
||||
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
||||
"phpunit\/phpunit": "^9.5",
|
||||
"rector\/rector-debugging": "dev-main",
|
||||
|
|
Loading…
Reference in New Issue
Block a user