mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c
[scoper] unprefix SmartFileInfo
This commit is contained in:
parent
41129d129c
commit
dbb408c5c9
@ -7,7 +7,7 @@ use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use Rector\Caching\Cache;
|
||||
use Rector\Caching\Config\FileHashComputer;
|
||||
use Rector\Caching\Enum\CacheKey;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* Inspired by https://github.com/symplify/symplify/pull/90/files#diff-72041b2e1029a08930e13d79d298ef11
|
||||
*
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace Rector\Caching;
|
||||
|
||||
use Rector\Caching\Detector\ChangedFilesDetector;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class UnchangedFilesFilter
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\ChangesReporting\ValueObjectFactory;
|
||||
use PHPStan\AnalysedCodeException;
|
||||
use Rector\Core\Error\ExceptionCorrector;
|
||||
use Rector\Core\ValueObject\Error\SystemError;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ErrorFactory
|
||||
{
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@ use Rector\Core\PhpParser\NodeTraverser\FileWithoutNamespaceNodeTraverser;
|
||||
use Rector\Core\PhpParser\Parser\RectorParser;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class FileInfoParser
|
||||
{
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ use Rector\Core\Contract\Rector\RectorInterface;
|
||||
use Rector\Core\Exception\ShouldNotHappenException;
|
||||
use Rector\Core\Provider\CurrentFileProvider;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class InvalidNameNodeReporter
|
||||
{
|
||||
/**
|
||||
|
@ -51,7 +51,7 @@ use Rector\NodeNameResolver\NodeNameResolver;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\RemoveDeepChainMethodCallNodeVisitor;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @inspired by https://github.com/silverstripe/silverstripe-upgrader/blob/532182b23e854d02e0b27e68ebc394f436de0682/src/UpgradeRule/PHP/Visitor/PHPStanScopeVisitor.php
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\NodeTypeResolver\PHPStan\Scope;
|
||||
use PHPStan\Analyser\MutatingScope;
|
||||
use PHPStan\Analyser\ScopeContext;
|
||||
use PHPStan\Analyser\ScopeFactory as PHPStanScopeFactory;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ScopeFactory
|
||||
{
|
||||
/**
|
||||
|
@ -11,7 +11,7 @@ use PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLo
|
||||
use PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedSingleFileSourceLocator;
|
||||
use Rector\NodeTypeResolver\Contract\SourceLocatorProviderInterface;
|
||||
use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class DynamicSourceLocatorProvider implements SourceLocatorProviderInterface
|
||||
{
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@ use RectorPrefix202208\Symplify\EasyParallel\Enum\Action;
|
||||
use RectorPrefix202208\Symplify\EasyParallel\Enum\ReactCommand;
|
||||
use RectorPrefix202208\Symplify\EasyParallel\Enum\ReactEvent;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Yaml\ParametersMerger;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Throwable;
|
||||
final class WorkerRunner
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Rector\Core\Provider\CurrentFileProvider;
|
||||
use Rector\NodeRemoval\BreakingRemovalGuard;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Rector\PostRector\Contract\Collector\NodeCollectorInterface;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class NodesToRemoveCollector implements NodeCollectorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -11,7 +11,7 @@ use Rector\Naming\Naming\UseImportsResolver;
|
||||
use Rector\PostRector\Contract\Collector\NodeCollectorInterface;
|
||||
use Rector\StaticTypeMapper\ValueObject\Type\AliasedObjectType;
|
||||
use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class UseNodesToAddCollector implements NodeCollectorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -22,7 +22,7 @@ use RectorPrefix202208\Symplify\EasyTesting\DataProvider\StaticFixtureFinder;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\StaticFixtureSplitter;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTestCase implements RectorTestInterface
|
||||
{
|
||||
use MovingFilesTrait;
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\Testing\PHPUnit\Behavior;
|
||||
|
||||
use RectorPrefix202208\Nette\Utils\FileSystem;
|
||||
use Rector\Core\Exception\ShouldNotHappenException;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
trait MultipleFilesChangedTrait
|
||||
{
|
||||
protected function doTestFileInfoWithAdditionalChanges(SmartFileInfo $fixtureFileInfo, bool $allowMatches = \true) : void
|
||||
|
@ -9,7 +9,7 @@ use Rector\Core\PhpParser\Parser\RectorParser;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ use Rector\Parallel\ValueObject\Bridge;
|
||||
use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\ComposerJsonFactory;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ComposerFileProcessor implements FileProcessorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -7,7 +7,7 @@ use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Rector\Tests\PSR4\Composer\PSR4NamespaceMatcherTest
|
||||
*/
|
||||
|
@ -23,7 +23,7 @@ use RectorPrefix202208\Symplify\EasyParallel\FileSystem\FilePathNormalizer;
|
||||
use RectorPrefix202208\Symplify\EasyParallel\ScheduleFactory;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Yaml\ParametersMerger;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
use RectorPrefix202208\Webmozart\Assert\Assert;
|
||||
final class ApplicationFileProcessor
|
||||
|
@ -32,7 +32,7 @@ use Rector\Core\Provider\CurrentFileProvider;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Rector\NodeTypeResolver\PHPStan\Scope\PHPStanNodeScopeResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* In case of changed node, we need to re-traverse the PHPStan Scope to make all the new nodes aware of what is going on.
|
||||
*/
|
||||
|
@ -8,7 +8,7 @@ use Rector\Core\ValueObject\Application\MovedFile;
|
||||
use Rector\FileSystemRector\Contract\AddedFileInterface;
|
||||
use Rector\FileSystemRector\ValueObject\AddedFileWithContent;
|
||||
use Rector\FileSystemRector\ValueObject\AddedFileWithNodes;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class RemovedAndAddedFilesCollector
|
||||
{
|
||||
/**
|
||||
|
@ -17,12 +17,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e';
|
||||
public const PACKAGE_VERSION = 'c579c2873c4511eb29e337a12b62cadd3978f1e7';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-08-28 00:33:38';
|
||||
public const RELEASE_DATE = '2022-08-29 15:59:03';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\Core\Bootstrap;
|
||||
|
||||
use Rector\RectorInstaller\GeneratedConfig;
|
||||
use ReflectionClass;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ExtensionConfigResolver
|
||||
{
|
||||
/**
|
||||
|
@ -22,7 +22,7 @@ use RectorPrefix202208\Symfony\Component\Console\Application;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Input\InputInterface;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Output\OutputInterface;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessCommand
|
||||
{
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ use RectorPrefix202208\Symfony\Component\Finder\SplFileInfo;
|
||||
use RectorPrefix202208\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\FileSystemFilter;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Rector\Core\Tests\FileSystem\FilesFinder\FilesFinderTest
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\Core\FileSystem;
|
||||
use Rector\Caching\UnchangedFilesFilter;
|
||||
use Rector\Core\Util\StringUtils;
|
||||
use Rector\Core\ValueObject\StaticNonPhpFileSuffixes;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class PhpFilesFinder
|
||||
{
|
||||
/**
|
||||
|
@ -11,7 +11,7 @@ use PhpParser\Node\Param;
|
||||
use PHPStan\Analyser\MutatingScope;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Rector\NodeTypeResolver\PHPStan\Scope\ScopeFactory;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ScopeAnalyzer
|
||||
{
|
||||
/**
|
||||
|
@ -33,7 +33,7 @@ use Rector\NodeNameResolver\NodeNameResolver;
|
||||
use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator;
|
||||
use Rector\NodeTypeResolver\NodeTypeResolver;
|
||||
use RectorPrefix202208\Symplify\Astral\PhpParser\SmartPhpParser;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* The nodes provided by this resolver is for read-only analysis only!
|
||||
* They are not part of node tree processed by Rector, so any changes will not make effect in final printed file.
|
||||
|
@ -7,7 +7,7 @@ use PhpParser\Lexer;
|
||||
use PhpParser\Node\Stmt;
|
||||
use PHPStan\Parser\Parser;
|
||||
use Rector\Core\PhpParser\ValueObject\StmtsAndTokens;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class RectorParser
|
||||
{
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@ use PhpParser\Node\Stmt;
|
||||
use PhpParser\Node\Stmt\Namespace_;
|
||||
use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
/**
|
||||
* @see \Rector\Core\Tests\PhpParser\Printer\FormatPerservingPrinterTest
|
||||
|
@ -8,7 +8,7 @@ use Rector\Core\Contract\Rector\RectorInterface;
|
||||
use Rector\Core\PhpParser\Comparing\NodeComparator;
|
||||
use Rector\Core\ValueObject\RectifiedNode;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* This service verify if the Node already rectified with same Rector rule before current Rector rule with condition
|
||||
*
|
||||
|
@ -7,7 +7,7 @@ use PhpParser\Node\Stmt;
|
||||
use Rector\ChangesReporting\ValueObject\RectorWithLineChange;
|
||||
use Rector\Core\Exception\ShouldNotHappenException;
|
||||
use Rector\Core\ValueObject\Reporting\FileDiff;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Rector\Core\ValueObjectFactory\Application\FileFactory
|
||||
*/
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\Core\ValueObject;
|
||||
|
||||
use Rector\Core\ValueObject\Error\SystemError;
|
||||
use Rector\Core\ValueObject\Reporting\FileDiff;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Core\ValueObjectFactory\ProcessResultFactory
|
||||
|
@ -8,7 +8,7 @@ use Rector\Core\Contract\Processor\FileProcessorInterface;
|
||||
use Rector\Core\FileSystem\FilesFinder;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\Core\ValueObject\Configuration;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Rector\Core\ValueObject\Application\File
|
||||
*/
|
||||
|
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 ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1::getLoader();
|
||||
return ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076::getLoader();
|
||||
|
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 ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1
|
||||
class ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitfdb93740501731efe70b8ac8c10612a1::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit22b648b0f8ff73f9840667a95df87076::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitfdb93740501731efe70b8ac8c10612a1::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequirefdb93740501731efe70b8ac8c10612a1($fileIdentifier, $file);
|
||||
composerRequire22b648b0f8ff73f9840667a95df87076($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInitfdb93740501731efe70b8ac8c10612a1
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequirefdb93740501731efe70b8ac8c10612a1($fileIdentifier, $file)
|
||||
function composerRequire22b648b0f8ff73f9840667a95df87076($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitfdb93740501731efe70b8ac8c10612a1
|
||||
class ComposerStaticInit22b648b0f8ff73f9840667a95df87076
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3256,9 +3256,9 @@ class ComposerStaticInitfdb93740501731efe70b8ac8c10612a1
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitfdb93740501731efe70b8ac8c10612a1::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitfdb93740501731efe70b8ac8c10612a1::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitfdb93740501731efe70b8ac8c10612a1::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ use RectorPrefix202208\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Input\InputInterface;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Output\OutputInterface;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Rector\RectorGenerator\Tests\RectorGenerator\GenerateCommandInteractiveModeTest
|
||||
*/
|
||||
|
@ -8,7 +8,7 @@ use Rector\RectorGenerator\Enum\Packages;
|
||||
use Rector\RectorGenerator\Finder\TemplateFinder;
|
||||
use Rector\RectorGenerator\TemplateFactory;
|
||||
use Rector\RectorGenerator\ValueObject\RectorRecipe;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class TemplateFileSystem
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\RectorGenerator\Finder;
|
||||
use Rector\RectorGenerator\ValueObject\RectorRecipe;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\FileSystemGuard;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class TemplateFinder
|
||||
{
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@ use Rector\RectorGenerator\Enum\Packages;
|
||||
use Rector\RectorGenerator\FileSystem\TemplateFileSystem;
|
||||
use Rector\RectorGenerator\TemplateFactory;
|
||||
use Rector\RectorGenerator\ValueObject\RectorRecipe;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
final class FileGenerator
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\RectorGenerator\Guard;
|
||||
use Rector\RectorGenerator\FileSystem\TemplateFileSystem;
|
||||
use Rector\RectorGenerator\ValueObject\RectorRecipe;
|
||||
use RectorPrefix202208\Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class OverrideGuard
|
||||
{
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@ use Rector\Laravel\NodeFactory\RouterRegisterNodeAnalyzer;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://laravel.com/docs/8.x/upgrade#automatic-controller-namespace-prefixing
|
||||
|
@ -11,7 +11,7 @@ use PHPStan\Reflection\ReflectionProvider;
|
||||
use Rector\Core\PhpParser\Node\BetterNodeFinder;
|
||||
use Rector\Core\PhpParser\Parser\RectorParser;
|
||||
use Rector\NodeNameResolver\NodeNameResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class BundleClassResolver
|
||||
{
|
||||
/**
|
||||
|
@ -12,7 +12,7 @@ use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace;
|
||||
use Rector\Core\PhpParser\Printer\BetterStandardPrinter;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
use Rector\FileSystemRector\ValueObject\AddedFileWithContent;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @todo re-use in https://github.com/rectorphp/rector-src/blob/main/rules/PSR4/Rector/Namespace_/MultipleClassFileToPsr4ClassesRector.php
|
||||
*
|
||||
|
@ -7,7 +7,7 @@ use RectorPrefix202208\Nette\Utils\Json;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\FileSystem\JsonFileManager;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
* @see \Symplify\ComposerJsonManipulator\Tests\ComposerJsonFactory\ComposerJsonFactoryTest
|
||||
|
@ -8,7 +8,7 @@ use RectorPrefix202208\Symplify\ComposerJsonManipulator\Json\JsonCleaner;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\Json\JsonInliner;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson;
|
||||
use RectorPrefix202208\Symplify\PackageBuilder\Configuration\StaticEolConfiguration;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
/**
|
||||
* @see \Symplify\MonorepoBuilder\Tests\FileSystem\JsonFileManager\JsonFileManagerTest
|
||||
|
@ -5,7 +5,7 @@ namespace RectorPrefix202208\Symplify\ComposerJsonManipulator\Printer;
|
||||
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\FileSystem\JsonFileManager;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\ComposerJsonManipulator\ValueObject;
|
||||
use RectorPrefix202208\Nette\Utils\Arrays;
|
||||
use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use RectorPrefix202208\Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SymplifyKernel\Exception\ShouldNotHappenException;
|
||||
/**
|
||||
* @api
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyParallel\FileSystem;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class FilePathNormalizer
|
||||
{
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@ use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use RectorPrefix202208\Symfony\Component\Finder\Finder;
|
||||
use RectorPrefix202208\Symfony\Component\Finder\SplFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\Exception\FileNotFoundException;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SymplifyKernel\Exception\ShouldNotHappenException;
|
||||
/**
|
||||
* @api
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyTesting\DataProvider;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
/**
|
||||
* @api
|
||||
|
@ -5,7 +5,7 @@ namespace RectorPrefix202208\Symplify\EasyTesting\Finder;
|
||||
|
||||
use RectorPrefix202208\Symfony\Component\Finder\Finder;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class FixtureFinder
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\EasyTesting\FixtureSplitter;
|
||||
use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\FixtureSplit\TrioContent;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\SplitLine;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SymplifyKernel\Exception\ShouldNotHappenException;
|
||||
/**
|
||||
* @api
|
||||
|
@ -7,7 +7,7 @@ use RectorPrefix202208\Nette\Utils\Strings;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\IncorrectAndMissingSkips;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\Prefix;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\SplitLine;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Symplify\EasyTesting\Tests\MissingSkipPrefixResolver\MissingSkipPrefixResolverTest
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\EasyTesting\PHPUnit\Behavior;
|
||||
use RectorPrefix202208\Symfony\Component\Finder\Finder;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\ExpectedAndOutputFileInfoPair;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* Use only in "\PHPUnit\Framework\TestCase"
|
||||
*
|
||||
|
@ -8,7 +8,7 @@ use RectorPrefix202208\Symplify\EasyTesting\ValueObject\InputAndExpected;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo;
|
||||
use RectorPrefix202208\Symplify\EasyTesting\ValueObject\SplitLine;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
/**
|
||||
* @api
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyTesting\ValueObject;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix202208\Symplify\SymplifyKernel\Exception\ShouldNotHappenException;
|
||||
final class ExpectedAndOutputFileInfoPair
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyTesting\ValueObject;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class IncorrectAndMissingSkips
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyTesting\ValueObject;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\EasyTesting\ValueObject;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\Skipper\Contract;
|
||||
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
interface SkipVoterInterface
|
||||
{
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\Skipper\Matcher;
|
||||
|
||||
use RectorPrefix202208\Symplify\Skipper\FileSystem\FnMatchPathNormalizer;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class FileInfoMatcher
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\Skipper\SkipVoter;
|
||||
use RectorPrefix202208\Symplify\Skipper\Contract\SkipVoterInterface;
|
||||
use RectorPrefix202208\Symplify\Skipper\Matcher\FileInfoMatcher;
|
||||
use RectorPrefix202208\Symplify\Skipper\SkipCriteriaResolver\SkippedClassAndCodesResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* Matching class and code, e.g. App\Category\ArraySniff.SomeCode
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@ use RectorPrefix202208\Symplify\Skipper\SkipCriteriaResolver\SkippedClassResolve
|
||||
use RectorPrefix202208\Symplify\Skipper\Skipper\OnlySkipper;
|
||||
use RectorPrefix202208\Symplify\Skipper\Skipper\SkipSkipper;
|
||||
use RectorPrefix202208\Symplify\Skipper\ValueObject\Option;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class ClassSkipVoter implements SkipVoterInterface
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\Skipper\SkipVoter;
|
||||
use RectorPrefix202208\Symplify\Skipper\Contract\SkipVoterInterface;
|
||||
use RectorPrefix202208\Symplify\Skipper\Matcher\FileInfoMatcher;
|
||||
use RectorPrefix202208\Symplify\Skipper\SkipCriteriaResolver\SkippedMessagesResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class MessageSkipVoter implements SkipVoterInterface
|
||||
{
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ namespace RectorPrefix202208\Symplify\Skipper\SkipVoter;
|
||||
use RectorPrefix202208\Symplify\Skipper\Contract\SkipVoterInterface;
|
||||
use RectorPrefix202208\Symplify\Skipper\Matcher\FileInfoMatcher;
|
||||
use RectorPrefix202208\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class PathSkipVoter implements SkipVoterInterface
|
||||
{
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\Skipper\Skipper;
|
||||
|
||||
use RectorPrefix202208\Symplify\Skipper\Matcher\FileInfoMatcher;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Symplify\Skipper\Tests\Skipper\Only\OnlySkipperTest
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\Skipper\Skipper;
|
||||
|
||||
use RectorPrefix202208\Symplify\Skipper\Matcher\FileInfoMatcher;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Symplify\Skipper\Tests\Skipper\Skip\SkipSkipperTest
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace RectorPrefix202208\Symplify\Skipper\Skipper;
|
||||
|
||||
use RectorPrefix202208\Symplify\Skipper\Contract\SkipVoterInterface;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
* @see \Symplify\Skipper\Tests\Skipper\Skipper\SkipperTest
|
||||
|
@ -7,7 +7,7 @@ use RectorPrefix202208\Nette\Utils\Finder as NetteFinder;
|
||||
use SplFileInfo;
|
||||
use RectorPrefix202208\Symfony\Component\Finder\Finder as SymfonyFinder;
|
||||
use RectorPrefix202208\Symfony\Component\Finder\SplFileInfo as SymfonySplFileInfo;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @see \Symplify\SmartFileSystem\Tests\Finder\FinderSanitizer\FinderSanitizerTest
|
||||
*/
|
||||
|
@ -5,7 +5,7 @@ namespace RectorPrefix202208\Symplify\SmartFileSystem\Finder;
|
||||
|
||||
use RectorPrefix202208\Symfony\Component\Finder\Finder;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\FileSystemFilter;
|
||||
use RectorPrefix202208\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
/**
|
||||
* @api
|
||||
* @see \Symplify\SmartFileSystem\Tests\Finder\SmartFinder\SmartFinderTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user