Updated Rector to commit ed8e26eb3bb471b93c20b3b10c431f13a543cbaa

ed8e26eb3b rebuild docs
This commit is contained in:
Tomas Votruba 2022-07-01 07:44:56 +00:00
parent 8c4e269a9d
commit 9b93bb7c42
5 changed files with 16 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# 411 Rules Overview
# 410 Rules Overview
<br>
@ -6,7 +6,7 @@
- [Arguments](#arguments) (5)
- [CodeQuality](#codequality) (73)
- [CodeQuality](#codequality) (72)
- [CodingStyle](#codingstyle) (35)
@ -581,27 +581,6 @@ Change multiple null compares to ?? queue
<br>
### DateTimeToDateTimeInterfaceRector
Changes DateTime type-hint to DateTimeInterface
- class: [`Rector\CodeQuality\Rector\ClassMethod\DateTimeToDateTimeInterfaceRector`](../rules/CodeQuality/Rector/ClassMethod/DateTimeToDateTimeInterfaceRector.php)
```diff
class SomeClass {
- public function methodWithDateTime(\DateTime $dateTime)
+ /**
+ * @param \DateTime|\DateTimeImmutable $dateTime
+ */
+ public function methodWithDateTime(\DateTimeInterface $dateTime)
{
return true;
}
}
```
<br>
### DoWhileBreakFalseToIfElseRector
Replace do (...} while (false); with more readable if/else conditions

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '6be87763cbe27e0c20d3923df0efe629e5cae6f8';
public const PACKAGE_VERSION = 'ed8e26eb3bb471b93c20b3b10c431f13a543cbaa';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-07-01 07:37:29';
public const RELEASE_DATE = '2022-07-01 09:40:14';
/**
* @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 ComposerAutoloaderInit82f72a9cc0a0e7a903cbec60470ab38d::getLoader();
return ComposerAutoloaderInit7bbf720ae03560a20dbf34403ab1583e::getLoader();

View File

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