Updated Rector to commit ff1ba898a37496e467c64dc6428d0de8f097ef58

ff1ba898a3 [automated] Re-Generate Nodes/Rectors Documentation (#2724)
This commit is contained in:
Tomas Votruba 2022-07-31 00:37:06 +00:00
parent a6d8dc9700
commit ba5b70ed30
5 changed files with 37 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# 409 Rules Overview
# 410 Rules Overview
<br>
@ -48,7 +48,7 @@
- [Php74](#php74) (13)
- [Php80](#php80) (17)
- [Php80](#php80) (18)
- [Php81](#php81) (11)
@ -6058,6 +6058,27 @@ Change ternary type resolve to `get_debug_type()`
<br>
### MixedTypeRector
Change mixed docs type to mixed typed
- class: [`Rector\Php80\Rector\FunctionLike\MixedTypeRector`](../rules/Php80/Rector/FunctionLike/MixedTypeRector.php)
```diff
class SomeClass
{
- /**
- * @param mixed $param
- */
- public function run($param)
+ public function run(mixed $param)
{
}
}
```
<br>
### Php8ResourceReturnToObjectRector
Change `is_resource()` to instanceof Object

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '34cdbb73b4ba988dc143cc70eec766efa81f3345';
public const PACKAGE_VERSION = 'ff1ba898a37496e467c64dc6428d0de8f097ef58';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-07-30 07:38:16';
public const RELEASE_DATE = '2022-07-31 00:31:02';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit01674148983560959bd3558181c34cbd
class ComposerAutoloaderInit83e1d4fbffebc11ce23743b186239e72
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit01674148983560959bd3558181c34cbd
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit01674148983560959bd3558181c34cbd', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit83e1d4fbffebc11ce23743b186239e72', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit01674148983560959bd3558181c34cbd', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit83e1d4fbffebc11ce23743b186239e72', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit01674148983560959bd3558181c34cbd::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit83e1d4fbffebc11ce23743b186239e72::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit01674148983560959bd3558181c34cbd::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit83e1d4fbffebc11ce23743b186239e72::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire01674148983560959bd3558181c34cbd($fileIdentifier, $file);
composerRequire83e1d4fbffebc11ce23743b186239e72($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit01674148983560959bd3558181c34cbd
* @param string $file
* @return void
*/
function composerRequire01674148983560959bd3558181c34cbd($fileIdentifier, $file)
function composerRequire83e1d4fbffebc11ce23743b186239e72($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 ComposerStaticInit01674148983560959bd3558181c34cbd
class ComposerStaticInit83e1d4fbffebc11ce23743b186239e72
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@ -3407,9 +3407,9 @@ class ComposerStaticInit01674148983560959bd3558181c34cbd
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit01674148983560959bd3558181c34cbd::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit01674148983560959bd3558181c34cbd::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit01674148983560959bd3558181c34cbd::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit83e1d4fbffebc11ce23743b186239e72::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit83e1d4fbffebc11ce23743b186239e72::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit83e1d4fbffebc11ce23743b186239e72::$classMap;
}, null, ClassLoader::class);
}