Updated Rector to commit ce1c29184d

ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
This commit is contained in:
Tomas Votruba 2022-06-11 12:27:46 +00:00
parent 9cf6755b1b
commit dd31e833a9
1674 changed files with 5877 additions and 5877 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
require_once __DIR__ . '/rector.php';

View File

@ -1,9 +1,9 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use RectorPrefix20220611\Nette\Utils\Json;
use RectorPrefix202206\Nette\Utils\Json;
use Rector\ChangesReporting\Output\JsonOutputFormatter;
use Rector\Core\Bootstrap\RectorConfigsResolver;
use Rector\Core\Configuration\Option;
@ -11,9 +11,9 @@ use Rector\Core\Console\ConsoleApplication;
use Rector\Core\Console\Style\RectorConsoleOutputStyleFactory;
use Rector\Core\DependencyInjection\RectorContainerFactory;
use Rector\Core\Kernel\RectorKernel;
use RectorPrefix20220611\Symfony\Component\Console\Command\Command;
use RectorPrefix20220611\Symfony\Component\Console\Input\ArgvInput;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use RectorPrefix202206\Symfony\Component\Console\Command\Command;
use RectorPrefix202206\Symfony\Component\Console\Input\ArgvInput;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesCaller;
// @ intentionally: continue anyway
@\ini_set('memory_limit', '-1');
// Performance boost

View File

@ -1,12 +1,12 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use RectorPrefix20220611\Composer\Semver\VersionParser;
use RectorPrefix20220611\Doctrine\Inflector\Inflector;
use RectorPrefix20220611\Doctrine\Inflector\Rules\English\InflectorFactory;
use RectorPrefix20220611\OndraM\CiDetector\CiDetector;
use RectorPrefix202206\Composer\Semver\VersionParser;
use RectorPrefix202206\Doctrine\Inflector\Inflector;
use RectorPrefix202206\Doctrine\Inflector\Rules\English\InflectorFactory;
use RectorPrefix202206\OndraM\CiDetector\CiDetector;
use PhpParser\BuilderFactory;
use PhpParser\Lexer;
use PhpParser\NodeFinder;
@ -37,20 +37,20 @@ use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocator\Intermedia
use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider;
use Rector\PSR4\Composer\PSR4NamespaceMatcher;
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
use RectorPrefix20220611\Symfony\Component\Console\Application;
use function RectorPrefix20220611\Symfony\Component\DependencyInjection\Loader\Configurator\service;
use RectorPrefix20220611\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
use RectorPrefix20220611\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
use RectorPrefix20220611\Symplify\PackageBuilder\Parameter\ParameterProvider;
use RectorPrefix20220611\Symplify\PackageBuilder\Php\TypeChecker;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use RectorPrefix20220611\Symplify\PackageBuilder\Yaml\ParametersMerger;
use RectorPrefix20220611\Symplify\SmartFileSystem\FileSystemFilter;
use RectorPrefix20220611\Symplify\SmartFileSystem\FileSystemGuard;
use RectorPrefix20220611\Symplify\SmartFileSystem\Finder\FinderSanitizer;
use RectorPrefix20220611\Symplify\SmartFileSystem\Json\JsonFileSystem;
use RectorPrefix20220611\Symplify\SmartFileSystem\SmartFileSystem;
use RectorPrefix202206\Symfony\Component\Console\Application;
use function RectorPrefix202206\Symfony\Component\DependencyInjection\Loader\Configurator\service;
use RectorPrefix202206\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
use RectorPrefix202206\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
use RectorPrefix202206\Symplify\PackageBuilder\Parameter\ParameterProvider;
use RectorPrefix202206\Symplify\PackageBuilder\Php\TypeChecker;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use RectorPrefix202206\Symplify\PackageBuilder\Yaml\ParametersMerger;
use RectorPrefix202206\Symplify\SmartFileSystem\FileSystemFilter;
use RectorPrefix202206\Symplify\SmartFileSystem\FileSystemGuard;
use RectorPrefix202206\Symplify\SmartFileSystem\Finder\FinderSanitizer;
use RectorPrefix202206\Symplify\SmartFileSystem\Json\JsonFileSystem;
use RectorPrefix202206\Symplify\SmartFileSystem\SmartFileSystem;
return static function (RectorConfig $rectorConfig) : void {
// make use of https://github.com/symplify/easy-parallel
$rectorConfig->import(EasyParallelConfig::FILE_PATH);

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\CodeQuality\Rector\Array_\ArrayThisCallToThisMethodCallRector;
use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\CodingStyle\Rector\Assign\PHPStormVarAnnotationRector;
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
use Rector\Config\RectorConfig;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
// @see https://ocramius.github.io/blog/fluent-interfaces-are-evil/

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Symfony\Rector\ClassMethod\TemplateAnnotationToThisRenderRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeSetList;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector;
use Rector\Arguments\ValueObject\SwapFuncCallArguments;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php56\Rector\FuncCall\PowToExpRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php70\Rector\Assign\ListSplitStringRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php72\Rector\Assign\ListEachRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\Privatization\Rector\Class_\ChangeGlobalVariablesToPropertiesRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\DogFood\Rector\Closure\UpgradeRectorConfigRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddArrayParamDocTypeRector;

View File

@ -1,7 +1,7 @@
<?php
declare (strict_types=1);
namespace RectorPrefix20220611;
namespace RectorPrefix202206;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector;

View File

@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\Comment;
use PhpParser\Comment;
use PhpParser\Node;
use Rector\NodeTypeResolver\Node\AttributeKey;
use RectorPrefix20220611\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
use RectorPrefix202206\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class CommentsMerger
{
/**

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\Contract;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface;
interface BasePhpDocNodeVisitorInterface extends PhpDocNodeVisitorInterface
{
}

View File

@ -29,7 +29,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\ShortenedIdentifierTypeNode;
use Rector\ChangesReporting\Collector\RectorChangeCollector;
use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\StaticTypeMapper\StaticTypeMapper;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/**
* @template TNode as \PHPStan\PhpDocParser\Ast\Node
* @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfo\PhpDocInfoTest

View File

@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\PhpDocInfo;
use PHPStan\PhpDocParser\Lexer\Lexer;
use PHPStan\PhpDocParser\Parser\TokenIterator;
use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class TokenIteratorFactory
{
/**

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\PhpDocManipulator;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
use PhpParser\Node;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;

View File

@ -7,7 +7,7 @@ use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
final class PhpDocTagRemover
{
public function removeByName(PhpDocInfo $phpDocInfo, string $name) : void

View File

@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeFinder;
use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/**
* @template TNode as \PHPStan\PhpDocParser\Ast\Node
*/

View File

@ -7,9 +7,9 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider;
use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor;
/**
* @see \Rector\Tests\BetterPhpDocParser\PhpDocNodeMapperTest
*/

View File

@ -8,7 +8,7 @@ use PHPStan\PhpDocParser\Ast\Type\ArrayTypeNode;
use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class ArrayTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{
/**

View File

@ -8,7 +8,7 @@ use PHPStan\PhpDocParser\Ast\Type\CallableTypeNode;
use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class CallableTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{
/**

View File

@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor;
use PHPStan\PhpDocParser\Ast\Node;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class ChangedPhpDocNodeVisitor extends AbstractPhpDocNodeVisitor
{
/**

View File

@ -8,7 +8,7 @@ use PHPStan\PhpDocParser\Ast\Type\IntersectionTypeNode;
use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareIntersectionTypeNode;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class IntersectionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{
/**

View File

@ -14,7 +14,7 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDoc\SpacingAwareTemplateTagValueNod
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class TemplatePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{
/**

View File

@ -13,7 +13,7 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareUnionTypeNode;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class UnionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{
/**

View File

@ -21,7 +21,7 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesCaller;
/**
* @see \Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\TagValueNodeReprintTest
*/

View File

@ -11,7 +11,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode;
use Rector\BetterPhpDocParser\Contract\PhpDocParser\PhpDocNodeDecoratorInterface;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\StaticTypeMapper\Naming\NameScopeFactory;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/**
* Decorate node with fully qualified class name for const epxr,
* e.g. Direction::*

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\PhpDocParser;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
use PhpParser\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode;

View File

@ -17,7 +17,7 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220611\Symfony\Contracts\Service\Attribute\Required;
use RectorPrefix202206\Symfony\Contracts\Service\Attribute\Required;
final class PlainValueParser
{
/**

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\Printer;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
final class DocBlockInliner
{
/**

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\Printer;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
use PhpParser\Node\Stmt\InlineHTML;
use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode;
@ -21,7 +21,7 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\Core\Exception\ShouldNotHappenException;
use Rector\Core\Util\StringUtils;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/**
* @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfoPrinter\PhpDocInfoPrinterTest
*/

View File

@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\ValueObject\Parser;
use PHPStan\PhpDocParser\Parser\TokenIterator;
use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class BetterTokenIterator extends TokenIterator
{
/**

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\NodeAttributes;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode;

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\ValueObject;
use RectorPrefix20220611\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey;
use RectorPrefix202206\Symplify\Astral\PhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey;
final class PhpDocAttributeKey
{
/**

View File

@ -6,8 +6,8 @@ namespace Rector\Caching;
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
use Rector\Core\Configuration\Option;
use RectorPrefix20220611\Symplify\PackageBuilder\Parameter\ParameterProvider;
use RectorPrefix20220611\Symplify\SmartFileSystem\SmartFileSystem;
use RectorPrefix202206\Symplify\PackageBuilder\Parameter\ParameterProvider;
use RectorPrefix202206\Symplify\SmartFileSystem\SmartFileSystem;
final class CacheFactory
{
/**

View File

@ -4,12 +4,12 @@ declare (strict_types=1);
namespace Rector\Caching\Config;
use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220611\Symfony\Component\Config\FileLocator;
use RectorPrefix20220611\Symfony\Component\Config\Loader\LoaderInterface;
use RectorPrefix20220611\Symfony\Component\Config\Loader\LoaderResolver;
use RectorPrefix20220611\Symfony\Component\DependencyInjection\ContainerBuilder;
use RectorPrefix20220611\Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
use RectorPrefix20220611\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
use RectorPrefix202206\Symfony\Component\Config\FileLocator;
use RectorPrefix202206\Symfony\Component\Config\Loader\LoaderInterface;
use RectorPrefix202206\Symfony\Component\Config\Loader\LoaderResolver;
use RectorPrefix202206\Symfony\Component\DependencyInjection\ContainerBuilder;
use RectorPrefix202206\Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
use RectorPrefix202206\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
/**
* Inspired by https://github.com/symplify/easy-coding-standard/blob/e598ab54686e416788f28fcfe007fd08e0f371d9/packages/changed-files-detector/src/FileHashComputer.php
*/

View File

@ -3,11 +3,11 @@
declare (strict_types=1);
namespace Rector\Caching\Detector;
use RectorPrefix20220611\Nette\Utils\Strings;
use RectorPrefix202206\Nette\Utils\Strings;
use Rector\Caching\Cache;
use Rector\Caching\Config\FileHashComputer;
use Rector\Caching\Enum\CacheKey;
use RectorPrefix20220611\Symplify\SmartFileSystem\SmartFileInfo;
use RectorPrefix202206\Symplify\SmartFileSystem\SmartFileInfo;
/**
* Inspired by https://github.com/symplify/symplify/pull/90/files#diff-72041b2e1029a08930e13d79d298ef11
*

View File

@ -7,7 +7,7 @@ use PhpParser\Node;
use PHPStan\Analyser\MutatingScope;
use PHPStan\Analyser\NodeScopeResolver;
use PHPStan\Dependency\DependencyResolver as PHPStanDependencyResolver;
use RectorPrefix20220611\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
use RectorPrefix202206\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class DependencyResolver
{
/**

View File

@ -4,7 +4,7 @@ declare (strict_types=1);
namespace Rector\Caching;
use Rector\Caching\Detector\ChangedFilesDetector;
use RectorPrefix20220611\Symplify\SmartFileSystem\SmartFileInfo;
use RectorPrefix202206\Symplify\SmartFileSystem\SmartFileInfo;
final class UnchangedFilesFilter
{
/**

View File

@ -4,13 +4,13 @@ declare (strict_types=1);
namespace Rector\Caching\ValueObject\Storage;
use FilesystemIterator;
use RectorPrefix20220611\Nette\Utils\FileSystem;
use RectorPrefix20220611\Nette\Utils\Random;
use RectorPrefix202206\Nette\Utils\FileSystem;
use RectorPrefix202206\Nette\Utils\Random;
use Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface;
use Rector\Caching\ValueObject\CacheFilePaths;
use Rector\Caching\ValueObject\CacheItem;
use Rector\Core\Exception\Cache\CachingException;
use RectorPrefix20220611\Symplify\SmartFileSystem\SmartFileSystem;
use RectorPrefix202206\Symplify\SmartFileSystem\SmartFileSystem;
/**
* Inspired by https://github.com/phpstan/phpstan-src/blob/1e7ceae933f07e5a250b61ed94799e6c2ea8daa2/src/Cache/FileCacheStorage.php
* @see \Rector\Tests\Caching\ValueObject\Storage\FileCacheStorageTest

Some files were not shown because too many files have changed in this diff Show More