mirror of https://github.com/rectorphp/rector.git
Rector 0.15.12
This commit is contained in:
parent
98e08867dc
commit
fff74c77ab
|
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit1a1a24f14476c75866cb9edf4d4bf91b::getLoader();
|
||||
return ComposerAutoloaderInit086e0aa601ffeef02aa1eb7b947ce70e::getLoader();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit1a1a24f14476c75866cb9edf4d4bf91b
|
||||
class ComposerAutoloaderInit086e0aa601ffeef02aa1eb7b947ce70e
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,17 +22,17 @@ class ComposerAutoloaderInit1a1a24f14476c75866cb9edf4d4bf91b
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit1a1a24f14476c75866cb9edf4d4bf91b', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit086e0aa601ffeef02aa1eb7b947ce70e', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit1a1a24f14476c75866cb9edf4d4bf91b', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit086e0aa601ffeef02aa1eb7b947ce70e', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e::$files;
|
||||
$requireFile = static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b
|
||||
class ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
|
@ -3083,9 +3083,9 @@ class ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit1a1a24f14476c75866cb9edf4d4bf91b::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit086e0aa601ffeef02aa1eb7b947ce70e::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
|
@ -2128,12 +2128,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "a1ae37da4dd0501d8d601c612cf7c7d366f1f98d"
|
||||
"reference": "dabd988a91b3d0f40386468166a8d6aee55ac859"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/a1ae37da4dd0501d8d601c612cf7c7d366f1f98d",
|
||||
"reference": "a1ae37da4dd0501d8d601c612cf7c7d366f1f98d",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/dabd988a91b3d0f40386468166a8d6aee55ac859",
|
||||
"reference": "dabd988a91b3d0f40386468166a8d6aee55ac859",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2164,7 +2164,7 @@
|
|||
"tomasvotruba\/type-coverage": "^0.0.9",
|
||||
"tomasvotruba\/unused-public": "^0.0.34"
|
||||
},
|
||||
"time": "2023-02-04T13:32:06+00:00",
|
||||
"time": "2023-02-04T13:47:16+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
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 ea9cf46'), '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 46346e2'), '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 9639ef9'), '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 512ed85'), '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 a1ae37d'));
|
||||
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 ea9cf46'), '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 46346e2'), '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 9639ef9'), '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 512ed85'), '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 dabd988'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -155,7 +155,10 @@ CODE_SAMPLE
|
|||
if (!$arrayItem->key instanceof Expr) {
|
||||
return null;
|
||||
}
|
||||
if (!$this->valueResolver->isValue($arrayItem->key, 'cascade_validation')) {
|
||||
if (!$arrayItem->key instanceof String_) {
|
||||
return null;
|
||||
}
|
||||
if ($arrayItem->key->value !== 'cascade_validation') {
|
||||
return null;
|
||||
}
|
||||
if (!$this->valueResolver->isValue($arrayItem->value, \true)) {
|
||||
|
|
Loading…
Reference in New Issue