mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
Updated Rector to commit b5d553fe9474cd3fde2cbeb1f526c5c5ae459313
b5d553fe94
add one more
This commit is contained in:
parent
8883574049
commit
e219401909
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '6f1f047087a496a41745c1ea994273e3bc8dcdb4';
|
||||
public const PACKAGE_VERSION = 'b5d553fe9474cd3fde2cbeb1f526c5c5ae459313';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2021-07-10 00:51:10';
|
||||
public const RELEASE_DATE = '2021-07-10 00:59:27';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20210709\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 ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff::getLoader();
|
||||
return ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3::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 ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff
|
||||
class ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3', '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\ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInite1cbe74865acc71811db87f31e055ec3::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInite1cbe74865acc71811db87f31e055ec3::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire1063acc42936ed9fdd696fd33fb403ff($fileIdentifier, $file);
|
||||
composerRequiree1cbe74865acc71811db87f31e055ec3($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire1063acc42936ed9fdd696fd33fb403ff($fileIdentifier, $file)
|
||||
function composerRequiree1cbe74865acc71811db87f31e055ec3($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 ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff
|
||||
class ComposerStaticInite1cbe74865acc71811db87f31e055ec3
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
@ -3847,9 +3847,9 @@ class ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit1063acc42936ed9fdd696fd33fb403ff::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite1cbe74865acc71811db87f31e055ec3::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite1cbe74865acc71811db87f31e055ec3::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInite1cbe74865acc71811db87f31e055ec3::$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('RectorPrefix20210709\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff', false) && !interface_exists('ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff', false) && !trait_exists('ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff', false)) {
|
||||
spl_autoload_call('RectorPrefix20210709\ComposerAutoloaderInit1063acc42936ed9fdd696fd33fb403ff');
|
||||
if (!class_exists('ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3', false) && !interface_exists('ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3', false) && !trait_exists('ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3', false)) {
|
||||
spl_autoload_call('RectorPrefix20210709\ComposerAutoloaderInite1cbe74865acc71811db87f31e055ec3');
|
||||
}
|
||||
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
|
||||
spl_autoload_call('RectorPrefix20210709\Doctrine\Inflector\Inflector');
|
||||
@ -3308,9 +3308,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20210709\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire1063acc42936ed9fdd696fd33fb403ff')) {
|
||||
function composerRequire1063acc42936ed9fdd696fd33fb403ff() {
|
||||
return \RectorPrefix20210709\composerRequire1063acc42936ed9fdd696fd33fb403ff(...func_get_args());
|
||||
if (!function_exists('composerRequiree1cbe74865acc71811db87f31e055ec3')) {
|
||||
function composerRequiree1cbe74865acc71811db87f31e055ec3() {
|
||||
return \RectorPrefix20210709\composerRequiree1cbe74865acc71811db87f31e055ec3(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('parseArgs')) {
|
||||
|
@ -6,14 +6,9 @@ namespace Symplify\RuleDocGenerator\Contract;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
interface RuleCodeSamplePrinterInterface
|
||||
{
|
||||
/**
|
||||
* @param string $class
|
||||
*/
|
||||
public function isMatch($class) : bool;
|
||||
public function isMatch(string $class) : bool;
|
||||
/**
|
||||
* @return string[]
|
||||
* @param \Symplify\RuleDocGenerator\Contract\CodeSampleInterface $codeSample
|
||||
* @param \Symplify\RuleDocGenerator\ValueObject\RuleDefinition $ruleDefinition
|
||||
*/
|
||||
public function print($codeSample, $ruleDefinition) : array;
|
||||
public function print(\Symplify\RuleDocGenerator\Contract\CodeSampleInterface $codeSample, \Symplify\RuleDocGenerator\ValueObject\RuleDefinition $ruleDefinition) : array;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user