mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-30 03:47:53 +01:00
Updated Rector to commit 84691d5a2eb99a8794ac8c02f3fe8daf411361fe
84691d5a2e
Remove self-serving FileDiffFileDecorator interface (#2835)
This commit is contained in:
parent
12fa9feb17
commit
1bb085831c
@ -4,9 +4,8 @@ declare (strict_types=1);
|
||||
namespace Rector\Core\Application\FileDecorator;
|
||||
|
||||
use Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory;
|
||||
use Rector\Core\Contract\Application\FileDecoratorInterface;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
final class FileDiffFileDecorator implements FileDecoratorInterface
|
||||
final class FileDiffFileDecorator
|
||||
{
|
||||
/**
|
||||
* @readonly
|
||||
|
@ -17,12 +17,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '21c4d378a5a054aecff8d114d34a25771a519ebe';
|
||||
public const PACKAGE_VERSION = '84691d5a2eb99a8794ac8c02f3fe8daf411361fe';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-08-24 11:47:29';
|
||||
public const RELEASE_DATE = '2022-08-24 13:54:04';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Core\Contract\Application;
|
||||
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
interface FileDecoratorInterface
|
||||
{
|
||||
/**
|
||||
* @param File[] $files
|
||||
*/
|
||||
public function decorate(array $files) : void;
|
||||
}
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46::getLoader();
|
||||
return ComposerAutoloaderInit96fd2e3d523e948c0cd5771c2604fef3::getLoader();
|
||||
|
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
@ -1483,7 +1483,6 @@ return array(
|
||||
'Rector\\Core\\Console\\Output\\RectorOutputStyle' => $baseDir . '/src/Console/Output/RectorOutputStyle.php',
|
||||
'Rector\\Core\\Console\\Style\\RectorConsoleOutputStyle' => $baseDir . '/src/Console/Style/RectorConsoleOutputStyle.php',
|
||||
'Rector\\Core\\Console\\Style\\RectorConsoleOutputStyleFactory' => $baseDir . '/src/Console/Style/RectorConsoleOutputStyleFactory.php',
|
||||
'Rector\\Core\\Contract\\Application\\FileDecoratorInterface' => $baseDir . '/src/Contract/Application/FileDecoratorInterface.php',
|
||||
'Rector\\Core\\Contract\\Console\\OutputStyleInterface' => $baseDir . '/src/Contract/Console/OutputStyleInterface.php',
|
||||
'Rector\\Core\\Contract\\PHPStan\\Reflection\\TypeToCallReflectionResolver\\TypeToCallReflectionResolverInterface' => $baseDir . '/src/Contract/PHPStan/Reflection/TypeToCallReflectionResolver/TypeToCallReflectionResolverInterface.php',
|
||||
'Rector\\Core\\Contract\\PhpParser\\NodePrinterInterface' => $baseDir . '/src/Contract/PhpParser/NodePrinterInterface.php',
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
class ComposerAutoloaderInit96fd2e3d523e948c0cd5771c2604fef3
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit96fd2e3d523e948c0cd5771c2604fef3', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit96fd2e3d523e948c0cd5771c2604fef3', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire0bf5a8d2faf2a4360c9c5747c0a3dc46($fileIdentifier, $file);
|
||||
composerRequire96fd2e3d523e948c0cd5771c2604fef3($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire0bf5a8d2faf2a4360c9c5747c0a3dc46($fileIdentifier, $file)
|
||||
function composerRequire96fd2e3d523e948c0cd5771c2604fef3($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
9
vendor/composer/autoload_static.php
vendored
9
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
class ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -1780,7 +1780,6 @@ class ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
'Rector\\Core\\Console\\Output\\RectorOutputStyle' => __DIR__ . '/../..' . '/src/Console/Output/RectorOutputStyle.php',
|
||||
'Rector\\Core\\Console\\Style\\RectorConsoleOutputStyle' => __DIR__ . '/../..' . '/src/Console/Style/RectorConsoleOutputStyle.php',
|
||||
'Rector\\Core\\Console\\Style\\RectorConsoleOutputStyleFactory' => __DIR__ . '/../..' . '/src/Console/Style/RectorConsoleOutputStyleFactory.php',
|
||||
'Rector\\Core\\Contract\\Application\\FileDecoratorInterface' => __DIR__ . '/../..' . '/src/Contract/Application/FileDecoratorInterface.php',
|
||||
'Rector\\Core\\Contract\\Console\\OutputStyleInterface' => __DIR__ . '/../..' . '/src/Contract/Console/OutputStyleInterface.php',
|
||||
'Rector\\Core\\Contract\\PHPStan\\Reflection\\TypeToCallReflectionResolver\\TypeToCallReflectionResolverInterface' => __DIR__ . '/../..' . '/src/Contract/PHPStan/Reflection/TypeToCallReflectionResolver/TypeToCallReflectionResolverInterface.php',
|
||||
'Rector\\Core\\Contract\\PhpParser\\NodePrinterInterface' => __DIR__ . '/../..' . '/src/Contract/PhpParser/NodePrinterInterface.php',
|
||||
@ -3256,9 +3255,9 @@ class ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit0bf5a8d2faf2a4360c9c5747c0a3dc46::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit96fd2e3d523e948c0cd5771c2604fef3::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user