Updated Rector to commit 368dbb048c

368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
This commit is contained in:
Tomas Votruba 2022-06-10 05:55:49 +00:00
parent fd299c83a6
commit a9ffd906d7
1679 changed files with 6455 additions and 6581 deletions

View File

@ -13,11 +13,11 @@ cd rector-src
2. We use PHP 8.1 and composer 2. We use PHP 8.1 and composer
Verify your local environment and update dependencies: Install dependencies and verify your local environment:
```bash ```bash
composer check-platform-reqs
composer update composer update
composer check-platform-reqs
``` ```
*Note: using Docker for contributing is strongly discouraged, as it requires [extra knowledge of composer internals](https://github.com/composer/composer/issues/9368#issuecomment-718112361).* *Note: using Docker for contributing is strongly discouraged, as it requires [extra knowledge of composer internals](https://github.com/composer/composer/issues/9368#issuecomment-718112361).*

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,7 +29,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\ShortenedIdentifierTypeNode;
use Rector\ChangesReporting\Collector\RectorChangeCollector; use Rector\ChangesReporting\Collector\RectorChangeCollector;
use Rector\Core\Configuration\CurrentNodeProvider; use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\StaticTypeMapper;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/** /**
* @template TNode as \PHPStan\PhpDocParser\Ast\Node * @template TNode as \PHPStan\PhpDocParser\Ast\Node
* @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfo\PhpDocInfoTest * @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\Lexer\Lexer;
use PHPStan\PhpDocParser\Parser\TokenIterator; use PHPStan\PhpDocParser\Parser\TokenIterator;
use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor; use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class TokenIteratorFactory final class TokenIteratorFactory
{ {
/** /**

View File

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

View File

@ -7,7 +7,7 @@ use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
final class PhpDocTagRemover final class PhpDocTagRemover
{ {
public function removeByName(PhpDocInfo $phpDocInfo, string $name) : void 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\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode;
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/** /**
* @template TNode as \PHPStan\PhpDocParser\Ast\Node * @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\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider; use Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider;
use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor;
/** /**
* @see \Rector\Tests\BetterPhpDocParser\PhpDocNodeMapperTest * @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\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode; use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class ArrayTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface 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\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode; use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class CallableTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface final class CallableTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
{ {
/** /**

View File

@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor;
use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\Node;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class ChangedPhpDocNodeVisitor extends 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\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareIntersectionTypeNode; use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareIntersectionTypeNode;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class IntersectionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface 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\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class TemplatePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface 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\PhpDocAttributeKey;
use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareUnionTypeNode; use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareUnionTypeNode;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
final class UnionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface 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\BetterPhpDocParser\ValueObject\StartAndEnd;
use Rector\Core\Configuration\CurrentNodeProvider; use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesCaller; use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesCaller;
/** /**
* @see \Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\TagValueNodeReprintTest * @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\Contract\PhpDocParser\PhpDocNodeDecoratorInterface;
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\StaticTypeMapper\Naming\NameScopeFactory; use Rector\StaticTypeMapper\Naming\NameScopeFactory;
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser; use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
/** /**
* Decorate node with fully qualified class name for const epxr, * Decorate node with fully qualified class name for const epxr,
* e.g. Direction::* * e.g. Direction::*

View File

@ -3,7 +3,7 @@
declare (strict_types=1); declare (strict_types=1);
namespace Rector\BetterPhpDocParser\PhpDocParser; namespace Rector\BetterPhpDocParser\PhpDocParser;
use RectorPrefix20220609\Nette\Utils\Strings; use RectorPrefix20220610\Nette\Utils\Strings;
use PhpParser\Node; use PhpParser\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode; 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\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
use Rector\Core\Configuration\CurrentNodeProvider; use Rector\Core\Configuration\CurrentNodeProvider;
use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220609\Symfony\Contracts\Service\Attribute\Required; use RectorPrefix20220610\Symfony\Contracts\Service\Attribute\Required;
final class PlainValueParser final class PlainValueParser
{ {
/** /**

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,12 +4,12 @@ declare (strict_types=1);
namespace Rector\Caching\Config; namespace Rector\Caching\Config;
use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Exception\ShouldNotHappenException;
use RectorPrefix20220609\Symfony\Component\Config\FileLocator; use RectorPrefix20220610\Symfony\Component\Config\FileLocator;
use RectorPrefix20220609\Symfony\Component\Config\Loader\LoaderInterface; use RectorPrefix20220610\Symfony\Component\Config\Loader\LoaderInterface;
use RectorPrefix20220609\Symfony\Component\Config\Loader\LoaderResolver; use RectorPrefix20220610\Symfony\Component\Config\Loader\LoaderResolver;
use RectorPrefix20220609\Symfony\Component\DependencyInjection\ContainerBuilder; use RectorPrefix20220610\Symfony\Component\DependencyInjection\ContainerBuilder;
use RectorPrefix20220609\Symfony\Component\DependencyInjection\Loader\GlobFileLoader; use RectorPrefix20220610\Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
use RectorPrefix20220609\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; use RectorPrefix20220610\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
/** /**
* Inspired by https://github.com/symplify/easy-coding-standard/blob/e598ab54686e416788f28fcfe007fd08e0f371d9/packages/changed-files-detector/src/FileHashComputer.php * 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); declare (strict_types=1);
namespace Rector\Caching\Detector; namespace Rector\Caching\Detector;
use RectorPrefix20220609\Nette\Utils\Strings; use RectorPrefix20220610\Nette\Utils\Strings;
use Rector\Caching\Cache; use Rector\Caching\Cache;
use Rector\Caching\Config\FileHashComputer; use Rector\Caching\Config\FileHashComputer;
use Rector\Caching\Enum\CacheKey; use Rector\Caching\Enum\CacheKey;
use RectorPrefix20220609\Symplify\SmartFileSystem\SmartFileInfo; use RectorPrefix20220610\Symplify\SmartFileSystem\SmartFileInfo;
/** /**
* Inspired by https://github.com/symplify/symplify/pull/90/files#diff-72041b2e1029a08930e13d79d298ef11 * 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\MutatingScope;
use PHPStan\Analyser\NodeScopeResolver; use PHPStan\Analyser\NodeScopeResolver;
use PHPStan\Dependency\DependencyResolver as PHPStanDependencyResolver; use PHPStan\Dependency\DependencyResolver as PHPStanDependencyResolver;
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor; use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
final class DependencyResolver final class DependencyResolver
{ {
/** /**

View File

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

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