mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 21:08:19 +01:00
Updated Rector to commit 368dbb048c0c891e205ec4dae8427b53deb4d316
368dbb048c
docs: fix instruction in CONTRIBUTING.md (#2470)
This commit is contained in:
parent
fd299c83a6
commit
a9ffd906d7
@ -13,11 +13,11 @@ cd rector-src
|
||||
|
||||
2. We use PHP 8.1 and composer
|
||||
|
||||
Verify your local environment and update dependencies:
|
||||
Install dependencies and verify your local environment:
|
||||
|
||||
```bash
|
||||
composer check-platform-reqs
|
||||
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).*
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
require_once __DIR__ . '/rector.php';
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
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\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 RectorPrefix20220609\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix20220609\Symfony\Component\Console\Input\ArgvInput;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
use RectorPrefix20220610\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix20220610\Symfony\Component\Console\Input\ArgvInput;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
// @ intentionally: continue anyway
|
||||
@\ini_set('memory_limit', '-1');
|
||||
// Performance boost
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use RectorPrefix20220609\Composer\Semver\VersionParser;
|
||||
use RectorPrefix20220609\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix20220609\Doctrine\Inflector\Rules\English\InflectorFactory;
|
||||
use RectorPrefix20220609\OndraM\CiDetector\CiDetector;
|
||||
use RectorPrefix20220610\Composer\Semver\VersionParser;
|
||||
use RectorPrefix20220610\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix20220610\Doctrine\Inflector\Rules\English\InflectorFactory;
|
||||
use RectorPrefix20220610\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 RectorPrefix20220609\Symfony\Component\Console\Application;
|
||||
use function RectorPrefix20220609\Symfony\Component\DependencyInjection\Loader\Configurator\service;
|
||||
use RectorPrefix20220609\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
|
||||
use RectorPrefix20220609\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Php\TypeChecker;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Yaml\ParametersMerger;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\FileSystemFilter;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\FileSystemGuard;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\Json\JsonFileSystem;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
use RectorPrefix20220610\Symfony\Component\Console\Application;
|
||||
use function RectorPrefix20220610\Symfony\Component\DependencyInjection\Loader\Configurator\service;
|
||||
use RectorPrefix20220610\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Php\TypeChecker;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Yaml\ParametersMerger;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\FileSystemFilter;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\FileSystemGuard;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\Finder\FinderSanitizer;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\Json\JsonFileSystem;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
// make use of https://github.com/symplify/easy-parallel
|
||||
$rectorConfig->import(EasyParallelConfig::FILE_PATH);
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\CodeQuality\Rector\Array_\ArrayThisCallToThisMethodCallRector;
|
||||
use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\CodingStyle\Rector\Assign\PHPStormVarAnnotationRector;
|
||||
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
// @see https://ocramius.github.io/blog/fluent-interfaces-are-evil/
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Symfony\Rector\ClassMethod\TemplateAnnotationToThisRenderRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\DowngradeSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Core\ValueObject\PhpVersion;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector;
|
||||
use Rector\Arguments\ValueObject\SwapFuncCallArguments;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php56\Rector\FuncCall\PowToExpRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php70\Rector\Assign\ListSplitStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php72\Rector\Assign\ListEachRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
|
||||
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Privatization\Rector\Class_\ChangeGlobalVariablesToPropertiesRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DogFood\Rector\Closure\UpgradeRectorConfigRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\TypeDeclaration\Rector\ClassMethod\AddArrayParamDocTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix20220609;
|
||||
namespace RectorPrefix20220610;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfFunctionExistsRector;
|
||||
|
@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\Comment;
|
||||
use PhpParser\Comment;
|
||||
use PhpParser\Node;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use RectorPrefix20220609\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
|
||||
final class CommentsMerger
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\BetterPhpDocParser\Contract;
|
||||
|
||||
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\Contract\PhpDocNodeVisitorInterface;
|
||||
interface BasePhpDocNodeVisitorInterface extends PhpDocNodeVisitorInterface
|
||||
{
|
||||
}
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
/**
|
||||
* @template TNode as \PHPStan\PhpDocParser\Ast\Node
|
||||
* @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfo\PhpDocInfoTest
|
||||
|
@ -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 RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
final class TokenIteratorFactory
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\BetterPhpDocParser\PhpDocManipulator;
|
||||
|
||||
use RectorPrefix20220609\Nette\Utils\Strings;
|
||||
use RectorPrefix20220610\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode;
|
||||
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
final class PhpDocTagRemover
|
||||
{
|
||||
public function removeByName(PhpDocInfo $phpDocInfo, string $name) : void
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
/**
|
||||
* @template TNode as \PHPStan\PhpDocParser\Ast\Node
|
||||
*/
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor;
|
||||
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor;
|
||||
/**
|
||||
* @see \Rector\Tests\BetterPhpDocParser\PhpDocNodeMapperTest
|
||||
*/
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class ArrayTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class CallableTypePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor;
|
||||
|
||||
use PHPStan\PhpDocParser\Ast\Node;
|
||||
use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey;
|
||||
use RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class ChangedPhpDocNodeVisitor extends AbstractPhpDocNodeVisitor
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class IntersectionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class TemplatePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor;
|
||||
final class UnionTypeNodePhpDocNodeVisitor extends AbstractPhpDocNodeVisitor implements BasePhpDocNodeVisitorInterface
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesCaller;
|
||||
/**
|
||||
* @see \Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\TagValueNodeReprintTest
|
||||
*/
|
||||
|
@ -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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
/**
|
||||
* Decorate node with fully qualified class name for const epxr,
|
||||
* e.g. Direction::*
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\BetterPhpDocParser\PhpDocParser;
|
||||
|
||||
use RectorPrefix20220609\Nette\Utils\Strings;
|
||||
use RectorPrefix20220610\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
|
||||
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode;
|
||||
|
@ -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 RectorPrefix20220609\Symfony\Contracts\Service\Attribute\Required;
|
||||
use RectorPrefix20220610\Symfony\Contracts\Service\Attribute\Required;
|
||||
final class PlainValueParser
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\BetterPhpDocParser\Printer;
|
||||
|
||||
use RectorPrefix20220609\Nette\Utils\Strings;
|
||||
use RectorPrefix20220610\Nette\Utils\Strings;
|
||||
final class DocBlockInliner
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\BetterPhpDocParser\Printer;
|
||||
|
||||
use RectorPrefix20220609\Nette\Utils\Strings;
|
||||
use RectorPrefix20220610\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 RectorPrefix20220609\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
use RectorPrefix20220610\Symplify\Astral\PhpDocParser\PhpDocNodeTraverser;
|
||||
/**
|
||||
* @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfoPrinter\PhpDocInfoPrinterTest
|
||||
*/
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\ValueObject\Parser;
|
||||
|
||||
use PHPStan\PhpDocParser\Parser\TokenIterator;
|
||||
use Rector\Core\Exception\ShouldNotHappenException;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
final class BetterTokenIterator extends TokenIterator
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
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\NodeAttributes;
|
||||
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
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
|
||||
{
|
||||
/**
|
||||
|
@ -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 RectorPrefix20220609\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Parameter\ParameterProvider;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\SmartFileSystem;
|
||||
final class CacheFactory
|
||||
{
|
||||
/**
|
||||
|
@ -4,12 +4,12 @@ declare (strict_types=1);
|
||||
namespace Rector\Caching\Config;
|
||||
|
||||
use Rector\Core\Exception\ShouldNotHappenException;
|
||||
use RectorPrefix20220609\Symfony\Component\Config\FileLocator;
|
||||
use RectorPrefix20220609\Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use RectorPrefix20220609\Symfony\Component\Config\Loader\LoaderResolver;
|
||||
use RectorPrefix20220609\Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use RectorPrefix20220609\Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
|
||||
use RectorPrefix20220609\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
|
||||
use RectorPrefix20220610\Symfony\Component\Config\FileLocator;
|
||||
use RectorPrefix20220610\Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use RectorPrefix20220610\Symfony\Component\Config\Loader\LoaderResolver;
|
||||
use RectorPrefix20220610\Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use RectorPrefix20220610\Symfony\Component\DependencyInjection\Loader\GlobFileLoader;
|
||||
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
|
||||
*/
|
||||
|
@ -3,11 +3,11 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Caching\Detector;
|
||||
|
||||
use RectorPrefix20220609\Nette\Utils\Strings;
|
||||
use RectorPrefix20220610\Nette\Utils\Strings;
|
||||
use Rector\Caching\Cache;
|
||||
use Rector\Caching\Config\FileHashComputer;
|
||||
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
|
||||
*
|
||||
|
@ -7,7 +7,7 @@ use PhpParser\Node;
|
||||
use PHPStan\Analyser\MutatingScope;
|
||||
use PHPStan\Analyser\NodeScopeResolver;
|
||||
use PHPStan\Dependency\DependencyResolver as PHPStanDependencyResolver;
|
||||
use RectorPrefix20220609\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix20220610\Symplify\PackageBuilder\Reflection\PrivatesAccessor;
|
||||
final class DependencyResolver
|
||||
{
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@ declare (strict_types=1);
|
||||
namespace Rector\Caching;
|
||||
|
||||
use Rector\Caching\Detector\ChangedFilesDetector;
|
||||
use RectorPrefix20220609\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
use RectorPrefix20220610\Symplify\SmartFileSystem\SmartFileInfo;
|
||||
final class UnchangedFilesFilter
|
||||
{
|
||||
/**
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user