mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
Updated Rector to commit 796b097e9b0d150e535bfb1eb89b55becc39da51
796b097e9b
[PHPStan] Clean up ignore phpstan error (#1680)
This commit is contained in:
parent
c502187b4d
commit
7f26c24826
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '303ecc342da1484619c4f875ad67850feeb4b52b';
|
||||
public const PACKAGE_VERSION = '796b097e9b0d150e535bfb1eb89b55becc39da51';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-01-15 10:24:51';
|
||||
public const RELEASE_DATE = '2022-01-15 10:51:26';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20220115\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 ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863::getLoader();
|
||||
return ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea::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 ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863
|
||||
class ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea', '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\ComposerStaticInit6db77e0c70828492f435d65f76a77863::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit5c79a02ec22578645e4fe4df99930fea::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,12 +42,12 @@ class ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit6db77e0c70828492f435d65f76a77863::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit5c79a02ec22578645e4fe4df99930fea::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire6db77e0c70828492f435d65f76a77863($fileIdentifier, $file);
|
||||
composerRequire5c79a02ec22578645e4fe4df99930fea($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -59,7 +59,7 @@ class ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire6db77e0c70828492f435d65f76a77863($fileIdentifier, $file)
|
||||
function composerRequire5c79a02ec22578645e4fe4df99930fea($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 ComposerStaticInit6db77e0c70828492f435d65f76a77863
|
||||
class ComposerStaticInit5c79a02ec22578645e4fe4df99930fea
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3865,9 +3865,9 @@ class ComposerStaticInit6db77e0c70828492f435d65f76a77863
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit6db77e0c70828492f435d65f76a77863::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit6db77e0c70828492f435d65f76a77863::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit6db77e0c70828492f435d65f76a77863::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit5c79a02ec22578645e4fe4df99930fea::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit5c79a02ec22578645e4fe4df99930fea::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit5c79a02ec22578645e4fe4df99930fea::$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('RectorPrefix20220115\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863', false) && !interface_exists('ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863', false) && !trait_exists('ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863', false)) {
|
||||
spl_autoload_call('RectorPrefix20220115\ComposerAutoloaderInit6db77e0c70828492f435d65f76a77863');
|
||||
if (!class_exists('ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea', false) && !interface_exists('ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea', false) && !trait_exists('ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea', false)) {
|
||||
spl_autoload_call('RectorPrefix20220115\ComposerAutoloaderInit5c79a02ec22578645e4fe4df99930fea');
|
||||
}
|
||||
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('RectorPrefix20220115\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -71,9 +71,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220115\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire6db77e0c70828492f435d65f76a77863')) {
|
||||
function composerRequire6db77e0c70828492f435d65f76a77863() {
|
||||
return \RectorPrefix20220115\composerRequire6db77e0c70828492f435d65f76a77863(...func_get_args());
|
||||
if (!function_exists('composerRequire5c79a02ec22578645e4fe4df99930fea')) {
|
||||
function composerRequire5c79a02ec22578645e4fe4df99930fea() {
|
||||
return \RectorPrefix20220115\composerRequire5c79a02ec22578645e4fe4df99930fea(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user