Updated Rector to commit ca02184695

ca02184695 [Scoped] Remove e2e/container-configurator on scoped build (#2463)
This commit is contained in:
Tomas Votruba 2022-06-09 11:08:44 +00:00
parent f188888181
commit eab02488bd
8 changed files with 14 additions and 51 deletions

View File

@ -18,7 +18,6 @@ jobs:
php_version: ['7.2', '7.3', '7.4', '8.0', '8.1']
directory:
- 'e2e/attributes'
- 'e2e/container-configurator'
name: End to end test with diff - ${{ matrix.directory }}

View File

@ -1,7 +0,0 @@
{
"autoload": {
"psr-4": {
"Rector\\e2e\\": "src"
}
}
}

View File

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
use Rector\Core\Configuration\Option;
use Rector\Php74\Rector\Property\TypedPropertyRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
/**
* This e2e test is to be removed after fully migrated to RectorConfig
*/
return static function (ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();
$parameters->set(Option::PATHS, [__DIR__ . '/src']);
$services = $containerConfigurator->services();
$services->set(TypedPropertyRector::class);
};

View File

@ -1,11 +0,0 @@
<?php
namespace Rector\e2e;
class SomeClass
{
/**
* @var string
*/
private $property;
}

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = 'bdf11c5968b1304f809781f9023dc7a2cf3642ad';
public const PACKAGE_VERSION = 'ca02184695d324e17480a2e4688028c0981792a2';
/**
* @var string
*/
public const RELEASE_DATE = '2022-06-09 12:14:06';
public const RELEASE_DATE = '2022-06-09 13:02:40';
/**
* @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 ComposerAutoloaderInit972f9cc9d371b6943612c276c0ae560a::getLoader();
return ComposerAutoloaderInit6a792b846a77137c123e5134b353c2e0::getLoader();

View File

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