Updated Rector to commit 67b0d0be7189576af6b74ade6011bdad6a230cb0

67b0d0be71 Fixes Typo in how_to_add_test_for_rector_rule.md (#2788)
This commit is contained in:
Tomas Votruba 2022-08-19 06:45:19 +00:00
parent b3c5fe1dcc
commit 100b519996
5 changed files with 15 additions and 15 deletions

View File

@ -37,7 +37,7 @@ This rule's job is to add `final` to every class that has no children and is not
Usually, the Rector diff output is long and contains many other errors related to other rules. It's a mess; we can't use that for a test fixture. We need to find **1 responsible line**.
The best way is to copy the file to local code, e.g. `app/SomeFile.php` a put only the broken line there.
The best way is to copy the file to local code, e.g. `app/SomeFile.php` and put only the broken line there.
In our case, all we need is:

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '7a609a6f2ee04d55907de7a3e09b1242a176a85a';
public const PACKAGE_VERSION = '67b0d0be7189576af6b74ade6011bdad6a230cb0';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-08-18 22:39:40';
public const RELEASE_DATE = '2022-08-19 08:41: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 ComposerAutoloaderInit0c1ca8c1ff7a79ebc4d3e90c917bed88::getLoader();
return ComposerAutoloaderInit670fedfcd52b654273c3dc80a621b704::getLoader();

View File

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