Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61

595086559f [psr-4] Update Rector core test reference (#5410)
This commit is contained in:
Tomas Votruba 2024-01-01 09:05:02 +00:00
parent ac1177eb9c
commit 8e7d3b2d52
18 changed files with 20 additions and 20 deletions

View File

@ -11,7 +11,7 @@ use Rector\Core\Exception\VersionException;
* Inspired by https://github.com/composer/composer/blob/master/src/Composer/Composer.php
* See https://github.com/composer/composer/blob/6587715d0f8cae0cd39073b3bc5f018d0e6b84fe/src/Composer/Compiler.php#L208
*
* @see \Rector\Core\Tests\Application\VersionResolverTest
* @see \Rector\Tests\Application\VersionResolverTest
*/
final class VersionResolver
{
@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'f4257afb3c05217b13513c4708228a6a976bab88';
public const PACKAGE_VERSION = '595086559f9ed5196d53c6dbea907043153bda61';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-01-01 00:20:06';
public const RELEASE_DATE = '2024-01-01 09:02:58';
/**
* @var int
*/

View File

@ -11,7 +11,7 @@ use RecursiveIteratorIterator;
use SplFileInfo;
use RectorPrefix202401\Webmozart\Assert\Assert;
/**
* @see \Rector\Core\Tests\Autoloading\BootstrapFilesIncluderTest
* @see \Rector\Tests\Autoloading\BootstrapFilesIncluderTest
*/
final class BootstrapFilesIncluder
{

View File

@ -9,7 +9,7 @@ use Rector\Core\ValueObject\Configuration;
use RectorPrefix202401\Symfony\Component\Console\Input\InputInterface;
use RectorPrefix202401\Symfony\Component\Console\Style\SymfonyStyle;
/**
* @see \Rector\Core\Tests\Configuration\ConfigurationFactoryTest
* @see \Rector\Tests\Configuration\ConfigurationFactoryTest
*/
final class ConfigurationFactory
{

View File

@ -9,7 +9,7 @@ use RectorPrefix202401\Symfony\Component\Console\Formatter\OutputFormatter;
* Inspired by @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/src/Differ/DiffConsoleFormatter.php to be
* used as standalone class, without need to require whole package by Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* @see \Rector\Core\Tests\Console\Formatter\ColorConsoleDiffFormatterTest
* @see \Rector\Tests\Console\Formatter\ColorConsoleDiffFormatterTest
*/
final class ColorConsoleDiffFormatter
{

View File

@ -4,7 +4,7 @@ declare (strict_types=1);
namespace Rector\Core\FileSystem;
/**
* @see \Rector\Core\Tests\FileSystem\FileAndDirectoryFilter\FileAndDirectoryFilterTest
* @see \Rector\Tests\FileSystem\FileAndDirectoryFilter\FileAndDirectoryFilterTest
*/
final class FileAndDirectoryFilter
{

View File

@ -7,7 +7,7 @@ use RectorPrefix202401\Nette\Utils\Strings;
use RectorPrefix202401\Symfony\Component\Filesystem\Filesystem;
use RectorPrefix202401\Webmozart\Assert\Assert;
/**
* @see \Rector\Core\Tests\FileSystem\FilePathHelperTest
* @see \Rector\Tests\FileSystem\FilePathHelperTest
*/
final class FilePathHelper
{

View File

@ -9,7 +9,7 @@ use Rector\Skipper\SkipCriteriaResolver\SkippedPathsResolver;
use RectorPrefix202401\Symfony\Component\Finder\Finder;
use RectorPrefix202401\Symfony\Component\Finder\SplFileInfo;
/**
* @see \Rector\Core\Tests\FileSystem\FilesFinder\FilesFinderTest
* @see \Rector\Tests\FileSystem\FilesFinder\FilesFinderTest
*/
final class FilesFinder
{

View File

@ -6,7 +6,7 @@ namespace Rector\Core\FileSystem;
use RectorPrefix202401\Symfony\Component\Finder\Finder;
use RectorPrefix202401\Symfony\Component\Finder\SplFileInfo;
/**
* @see \Rector\Core\Tests\FileSystem\InitFilePathsResolver\InitFilePathsResolverTest
* @see \Rector\Tests\FileSystem\InitFilePathsResolver\InitFilePathsResolverTest
*/
final class InitFilePathsResolver
{

View File

@ -12,7 +12,7 @@ use Rector\Core\ValueObject\PhpVersion;
use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment;
use ReflectionClass;
/**
* @see \Rector\Core\Tests\Php\PhpVersionProviderTest
* @see \Rector\Tests\Php\PhpVersionProviderTest
*/
final class PhpVersionProvider
{

View File

@ -8,7 +8,7 @@ use RectorPrefix202401\Nette\Utils\FileSystem;
use RectorPrefix202401\Nette\Utils\Json;
use Rector\Core\Util\PhpVersionFactory;
/**
* @see \Rector\Core\Tests\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver\ProjectComposerJsonPhpVersionResolverTest
* @see \Rector\Tests\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver\ProjectComposerJsonPhpVersionResolverTest
*/
final class ProjectComposerJsonPhpVersionResolver
{

View File

@ -18,7 +18,7 @@ use Rector\NodeNameResolver\NodeNameResolver;
use Rector\PhpDocParser\NodeTraverser\SimpleCallableNodeTraverser;
use RectorPrefix202401\Webmozart\Assert\Assert;
/**
* @see \Rector\Core\Tests\PhpParser\Node\BetterNodeFinder\BetterNodeFinderTest
* @see \Rector\Tests\PhpParser\Node\BetterNodeFinder\BetterNodeFinderTest
*/
final class BetterNodeFinder
{

View File

@ -49,7 +49,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
use Rector\PostRector\ValueObject\PropertyMetadata;
use Rector\StaticTypeMapper\StaticTypeMapper;
/**
* @see \Rector\Core\Tests\PhpParser\Node\NodeFactoryTest
* @see \Rector\Tests\PhpParser\Node\NodeFactoryTest
*/
final class NodeFactory
{

View File

@ -29,7 +29,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Rector\NodeTypeResolver\NodeTypeResolver;
use TypeError;
/**
* @see \Rector\Core\Tests\PhpParser\Node\Value\ValueResolverTest
* @see \Rector\Tests\PhpParser\Node\Value\ValueResolverTest
* @todo make use of constant type of $scope->getType()
*/
final class ValueResolver

View File

@ -31,7 +31,7 @@ use Rector\Core\Configuration\Parameter\SimpleParameterProvider;
use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace;
use Rector\NodeTypeResolver\Node\AttributeKey;
/**
* @see \Rector\Core\Tests\PhpParser\Printer\BetterStandardPrinterTest
* @see \Rector\Tests\PhpParser\Printer\BetterStandardPrinterTest
*
* @property array<string, array{string, bool, string, null}> $insertionMap
*/

View File

@ -7,7 +7,7 @@ use PhpParser\Node;
use Rector\Core\ValueObject\Application\File;
use RectorPrefix202401\Symfony\Component\Filesystem\Filesystem;
/**
* @see \Rector\Core\Tests\PhpParser\Printer\FormatPerservingPrinterTest
* @see \Rector\Tests\PhpParser\Printer\FormatPerservingPrinterTest
*/
final class FormatPerservingPrinter
{

View File

@ -5,7 +5,7 @@ namespace Rector\Core\Util;
use Rector\Core\Exception\ShouldNotHappenException;
/**
* @see \Rector\Core\Tests\Util\FileHasherTest
* @see \Rector\Tests\Util\FileHasherTest
*/
final class FileHasher
{

View File

@ -8,7 +8,7 @@ use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
/**
* @see \Rector\Core\Tests\Util\Reflection\PrivatesAccessorTest
* @see \Rector\Tests\Util\Reflection\PrivatesAccessorTest
*/
final class PrivatesAccessor
{

View File

@ -6,7 +6,7 @@ namespace Rector\Core\Validation;
use Rector\Core\Util\StringUtils;
use RectorPrefix202401\Webmozart\Assert\InvalidArgumentException;
/**
* @see \Rector\Core\Tests\Validation\RectorAssertTest
* @see \Rector\Tests\Validation\RectorAssertTest
*/
final class RectorAssert
{