Updated Rector to commit 1adea7295ddcdf79c0ee5c2859e42cbabb32f26b

1adea7295d [automated] Re-Generate Nodes/Rectors Documentation (#3909)
This commit is contained in:
Tomas Votruba 2023-05-21 00:34:59 +00:00
parent d41cd2c891
commit 1eed4009a2
5 changed files with 17 additions and 17 deletions

View File

@ -51,16 +51,16 @@ final class BoolReturnTypeFromStrictScalarReturnsRector extends AbstractRector i
}
public function getRuleDefinition() : RuleDefinition
{
return new RuleDefinition('Change funcCall type based on strict returns type operations', [new CodeSample(<<<'CODE_SAMPLE'
return new RuleDefinition('Change return type based on strict returns type operations', [new CodeSample(<<<'CODE_SAMPLE'
class SomeClass
{
public function resolve($first, $second)
{
if ($first) {
funcCall false;
return false;
}
funcCall $first > $second;
return $first > $second;
}
}
CODE_SAMPLE
@ -70,10 +70,10 @@ class SomeClass
public function resolve($first, $second): bool
{
if ($first) {
funcCall false;
return false;
}
funcCall $first > $second;
return $first > $second;
}
}
CODE_SAMPLE

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '6e9310b65c1139a8102ed7aab73b658ba5f97c83';
public const PACKAGE_VERSION = '1adea7295ddcdf79c0ee5c2859e42cbabb32f26b';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-05-21 00:29:44';
public const RELEASE_DATE = '2023-05-21 00:31:01';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit56407fdb83096e9cd02a72d22bd7a5a5::getLoader();
return ComposerAutoloaderInitcb0614cf0fdb9102c45fe08c297c9273::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit56407fdb83096e9cd02a72d22bd7a5a5
class ComposerAutoloaderInitcb0614cf0fdb9102c45fe08c297c9273
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit56407fdb83096e9cd02a72d22bd7a5a5
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit56407fdb83096e9cd02a72d22bd7a5a5', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitcb0614cf0fdb9102c45fe08c297c9273', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit56407fdb83096e9cd02a72d22bd7a5a5', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitcb0614cf0fdb9102c45fe08c297c9273', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5
class ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3115,9 +3115,9 @@ class ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit56407fdb83096e9cd02a72d22bd7a5a5::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitcb0614cf0fdb9102c45fe08c297c9273::$classMap;
}, null, ClassLoader::class);
}