mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
6b69971dfc
[NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933)
This commit is contained in:
parent
0aec9f98bf
commit
f010267a7c
@ -2,10 +2,10 @@
|
||||
|
||||
// this is part of downgrade build
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\FileSystem;
|
||||
use RectorPrefix202405\Nette\Utils\Json;
|
||||
use RectorPrefix202406\Nette\Utils\FileSystem;
|
||||
use RectorPrefix202406\Nette\Utils\Json;
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
$composerJsonFileContents = FileSystem::read(__DIR__ . '/../composer.json');
|
||||
$composerJson = Json::decode($composerJsonFileContents, \true);
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
require_once __DIR__ . '/rector.php';
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Json;
|
||||
use RectorPrefix202406\Nette\Utils\Json;
|
||||
use Rector\Bootstrap\RectorConfigsResolver;
|
||||
use Rector\ChangesReporting\Output\JsonOutputFormatter;
|
||||
use Rector\Configuration\Option;
|
||||
@ -11,9 +11,9 @@ use Rector\Console\Style\SymfonyStyleFactory;
|
||||
use Rector\DependencyInjection\LazyContainerFactory;
|
||||
use Rector\DependencyInjection\RectorContainerFactory;
|
||||
use Rector\Util\Reflection\PrivatesAccessor;
|
||||
use RectorPrefix202405\Symfony\Component\Console\Application;
|
||||
use RectorPrefix202405\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix202405\Symfony\Component\Console\Input\ArgvInput;
|
||||
use RectorPrefix202406\Symfony\Component\Console\Application;
|
||||
use RectorPrefix202406\Symfony\Component\Console\Command\Command;
|
||||
use RectorPrefix202406\Symfony\Component\Console\Input\ArgvInput;
|
||||
// @ intentionally: continue anyway
|
||||
@\ini_set('memory_limit', '-1');
|
||||
// Performance boost
|
||||
@ -93,7 +93,7 @@ final class AutoloadIncluder
|
||||
require_once $filePath;
|
||||
}
|
||||
}
|
||||
\class_alias('RectorPrefix202405\\AutoloadIncluder', 'AutoloadIncluder', \false);
|
||||
\class_alias('RectorPrefix202406\\AutoloadIncluder', 'AutoloadIncluder', \false);
|
||||
if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) {
|
||||
require_once __DIR__ . '/../preload.php';
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use RectorPrefix202405\OndraM\CiDetector\CiDetector;
|
||||
use RectorPrefix202406\OndraM\CiDetector\CiDetector;
|
||||
use Rector\Bootstrap\ExtensionConfigResolver;
|
||||
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
|
||||
use Rector\Config\RectorConfig;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\Level\CodeQualityLevel;
|
||||
use Rector\Config\RectorConfig;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;
|
||||
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Carbon\Rector\FuncCall\DateFuncCallToCarbonRector;
|
||||
use Rector\Carbon\Rector\FuncCall\TimeFuncCallToCarbonRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\Level\DeadCodeLevel;
|
||||
use Rector\Config\RectorConfig;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector;
|
||||
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php56\Rector\FuncCall\PowToExpRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php70\Rector\Assign\ListSplitStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php72\Rector\Assign\ListEachRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
|
||||
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\CodeQuality\Rector\FuncCall\BoolvalToTypeCastRector;
|
||||
use Rector\CodeQuality\Rector\FuncCall\FloatvalToTypeCastRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Strict\Rector\BooleanNot\BooleanInBooleanNotRuleFixerRector;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202405;
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\Level\TypeDeclarationLevel;
|
||||
use Rector\Config\RectorConfig;
|
||||
|
@ -29,7 +29,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\StaticTypeMapper\StaticTypeMapper;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Arguments\Rector\ClassMethod\ArgumentAdderRector\ArgumentAdderRectorTest
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\ValueObject\MethodName;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @api used in rector-symfony
|
||||
* @see \Rector\Tests\Arguments\Rector\ClassMethod\ReplaceArgumentDefaultValueRector\ReplaceArgumentDefaultValueRectorTest
|
||||
|
@ -11,7 +11,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://php.watch/versions/8.1/version_compare-operator-restrictions
|
||||
* @changelog https://github.com/rectorphp/rector/issues/6271
|
||||
|
@ -11,7 +11,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Arguments\Rector\MethodCall\RemoveMethodCallParamRector\RemoveMethodCallParamRectorTest
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Carbon\NodeFactory;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node\Arg;
|
||||
use PhpParser\Node\Expr\MethodCall;
|
||||
use PhpParser\Node\Expr\StaticCall;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodeQuality\Rector\Concat;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\BinaryOp\Concat;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodeQuality\Rector\FuncCall;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
use Rector\NodeNameResolver\Regex\RegexPatternDetector;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodeQuality\Rector\FuncCall;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\FuncCall;
|
||||
use PhpParser\Node\Name;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodeQuality\Rector\Include_;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\BinaryOp\Concat;
|
||||
use PhpParser\Node\Expr\Include_;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Application;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node\Name;
|
||||
use PhpParser\Node\Stmt;
|
||||
use PhpParser\Node\Stmt\Declare_;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\ClassNameImport\ClassNameImportSkipVoter;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use Rector\CodingStyle\ClassNameImport\ShortNameResolver;
|
||||
use Rector\CodingStyle\Contract\ClassNameImport\ClassNameImportSkipVoterInterface;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Naming;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node\Identifier;
|
||||
use PhpParser\Node\Name;
|
||||
use PhpParser\Node\Stmt\ClassLike;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\NodeAnalyzer;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node\Identifier;
|
||||
use PhpParser\Node\Stmt;
|
||||
use PhpParser\Node\Stmt\GroupUse;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Rector\Catch_;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\Assign;
|
||||
use PhpParser\Node\Expr\Closure;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Rector\Encapsed;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Arg;
|
||||
use PhpParser\Node\Expr;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Rector\Stmt;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Identifier;
|
||||
use PhpParser\Node\Stmt\Namespace_;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\CodingStyle\Rector\String_;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\ClassConstFetch;
|
||||
use PhpParser\Node\Name\FullyQualified;
|
||||
|
@ -17,7 +17,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\DeadCode\Rector\ClassLike\RemoveAnnotationRector\RemoveAnnotationRectorTest
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\DeadCode\SideEffect;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr;
|
||||
use PhpParser\Node\Expr\ArrayDimFetch;
|
||||
|
@ -3,8 +3,8 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Naming\ExpectedNameResolver;
|
||||
|
||||
use RectorPrefix202405\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use Rector\Util\StringUtils;
|
||||
/**
|
||||
* @see \Rector\Tests\Naming\ExpectedNameResolver\InflectorSingularResolverTest
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Naming\Naming;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PHPStan\Type\Generic\GenericObjectType;
|
||||
use PHPStan\Type\ObjectType;
|
||||
use PHPStan\Type\StaticType;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Naming\Rector\Assign;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\Assign;
|
||||
use PhpParser\Node\Expr\Closure;
|
||||
|
@ -3,8 +3,8 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Naming;
|
||||
|
||||
use RectorPrefix202405\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Doctrine\Inflector\Inflector;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
final class RectorNamingInflector
|
||||
{
|
||||
/**
|
||||
|
@ -7,7 +7,7 @@ use PhpParser\Node\Stmt\ClassLike;
|
||||
use PhpParser\Node\Stmt\Property;
|
||||
use Rector\Naming\ValueObject\PropertyRename;
|
||||
use Rector\NodeNameResolver\NodeNameResolver;
|
||||
use RectorPrefix202405\Webmozart\Assert\InvalidArgumentException;
|
||||
use RectorPrefix202406\Webmozart\Assert\InvalidArgumentException;
|
||||
final class PropertyRenameFactory
|
||||
{
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@ use Rector\ValueObject\PhpVersionFeature;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://wiki.php.net/rfc/class_name_scalars https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#form
|
||||
*
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Php55;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node\Expr;
|
||||
use PhpParser\Node\Expr\BinaryOp\Concat;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Php70;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use Rector\Php70\Exception\InvalidEregException;
|
||||
/**
|
||||
* @changelog https://gist.github.com/lifthrasiir/704754/7e486f43e62fd1c9d3669330c251f8ca4a59a3f8
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Php72\NodeFactory;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\ComplexType;
|
||||
use PhpParser\Node\Expr;
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Php73\Rector\FuncCall;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
|
@ -14,7 +14,7 @@ use Rector\ValueObject\PhpVersionFeature;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://wiki.php.net/rfc/numeric_literal_separator
|
||||
* @changelog https://github.com/nikic/PHP-Parser/pull/615
|
||||
|
@ -37,7 +37,7 @@ use Rector\ValueObject\PhpVersionFeature;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://wiki.php.net/rfc/attributes_v2
|
||||
* @changelog https://wiki.php.net/rfc/new_in_initializers
|
||||
|
@ -30,7 +30,7 @@ use Rector\ValueObject\PhpVersion;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Php80\Rector\Property\NestedAnnotationToAttributeRector\NestedAnnotationToAttributeRectorTest
|
||||
*
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\Php80\ValueObject;
|
||||
|
||||
use Rector\Php80\Contract\ValueObject\AnnotationToAttributeInterface;
|
||||
use Rector\Validation\RectorAssert;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
final class AnnotationToAttribute implements AnnotationToAttributeInterface
|
||||
{
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
declare (strict_types=1);
|
||||
namespace Rector\Php81\NodeFactory;
|
||||
|
||||
use RectorPrefix202405\Nette\Utils\Strings;
|
||||
use RectorPrefix202406\Nette\Utils\Strings;
|
||||
use PhpParser\BuilderFactory;
|
||||
use PhpParser\Node\Expr\Array_;
|
||||
use PhpParser\Node\Expr\ArrayItem;
|
||||
|
@ -12,7 +12,7 @@ use PHPStan\Type\ObjectType;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\ValueObject\PhpVersionFeature;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use RectorPrefix202405\Spatie\Enum\Enum;
|
||||
use RectorPrefix202406\Spatie\Enum\Enum;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
/**
|
||||
|
@ -15,7 +15,7 @@ use Rector\ValueObject\PhpVersionFeature;
|
||||
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Php82\Rector\Param\AddSensitiveParameterAttributeRector\AddSensitiveParameterAttributeRectorTest
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@ use PhpParser\Node\Stmt\ClassConst;
|
||||
use PhpParser\Node\Stmt\ClassMethod;
|
||||
use PhpParser\Node\Stmt\Property;
|
||||
use Rector\ValueObject\Visibility;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Privatization\NodeManipulator\VisibilityManipulatorTest
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Removing\ValueObject\ArgumentRemover;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Removing\Rector\ClassMethod\ArgumentRemoverRector\ArgumentRemoverRectorTest
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Removing\Rector\Class_\RemoveInterfacesRector\RemoveInterfacesRectorTest
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Removing\Rector\Class_\RemoveTraitUseRector\RemoveTraitUseRectorTest
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Removing\ValueObject\RemoveFuncCallArg;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallArgRector\RemoveFuncCallArgRectorTest
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@ use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallRector\RemoveFuncCallRectorTest
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ use Rector\Renaming\ValueObject\RenameClassAndConstFetch;
|
||||
use Rector\Renaming\ValueObject\RenameClassConstFetch;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector\RenameClassConstFetchRectorTest
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@ use Rector\Renaming\Contract\RenameAnnotationInterface;
|
||||
use Rector\Renaming\ValueObject\RenameAnnotationByType;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\ClassMethod\RenameAnnotationRector\RenameAnnotationRectorTest
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Validation\RectorAssert;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\ConstFetch\RenameConstantRector\RenameConstantRectorTest
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\FuncCall\RenameFunctionRector\RenameFunctionRectorTest
|
||||
*/
|
||||
|
@ -23,7 +23,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Renaming\ValueObject\RenameFunctionLikeParamWithinCallLikeArg;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\FunctionLike\RenameFunctionLikeParamWithinCallLikeArgRector\RenameFunctionLikeParamWithinCallLikeArgRectorTest
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@ use Rector\Renaming\ValueObject\MethodCallRename;
|
||||
use Rector\Renaming\ValueObject\MethodCallRenameWithArrayKey;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\RenameMethodRectorTest
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Renaming\NodeManipulator\ClassRenamer;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\Name\RenameClassRector\RenameClassRectorTest
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Renaming\ValueObject\RenameProperty;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\PropertyFetch\RenamePropertyRector\RenamePropertyRectorTest
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Renaming\ValueObject\RenameStaticMethod;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\StaticCall\RenameStaticMethodRector\RenameStaticMethodRectorTest
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@ use Rector\PhpParser\Node\Value\ValueResolver;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @changelog https://github.com/symfony/symfony/pull/35858
|
||||
*
|
||||
|
@ -5,7 +5,7 @@ namespace Rector\Strict\Rector;
|
||||
|
||||
use Rector\Contract\Rector\ConfigurableRectorInterface;
|
||||
use Rector\Rector\AbstractScopeAwareRector;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Strict\Rector\BooleanNot\BooleanInBooleanNotRuleFixerRector\BooleanInBooleanNotRuleFixerRectorTest
|
||||
*
|
||||
|
@ -14,7 +14,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Transform\ValueObject\ArrayDimFetchToMethodCall;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Transform\Rector\ArrayDimFetch\ArrayDimFetchToMethodCallRector\ArrayDimFetchToMethodCallRectorTest
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@ use Rector\Rector\AbstractRector;
|
||||
use Rector\Transform\ValueObject\PropertyAssignToMethodCall;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
use RectorPrefix202405\Webmozart\Assert\Assert;
|
||||
use RectorPrefix202406\Webmozart\Assert\Assert;
|
||||
/**
|
||||
* @see \Rector\Tests\Transform\Rector\Assign\PropertyAssignToMethodCallRector\PropertyAssignToMethodCallRectorTest
|
||||
*/
|
||||
|
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