Skip to content

Commit

Permalink
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
Browse files Browse the repository at this point in the history
rectorphp/rector-src@bdc2fc9 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
  • Loading branch information
TomasVotruba committed Jun 1, 2023
1 parent bfd8f1a commit 9a2931c
Show file tree
Hide file tree
Showing 1,316 changed files with 4,889 additions and 4,882 deletions.
2 changes: 1 addition & 1 deletion bin/rector
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
namespace RectorPrefix202305;
namespace RectorPrefix202306;

require_once __DIR__ . '/rector.php';
8 changes: 4 additions & 4 deletions bin/rector.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use RectorPrefix202305\Nette\Utils\Json;
use RectorPrefix202306\Nette\Utils\Json;
use Rector\ChangesReporting\Output\JsonOutputFormatter;
use Rector\Core\Bootstrap\RectorConfigsResolver;
use Rector\Core\Configuration\Option;
Expand All @@ -12,8 +12,8 @@
use Rector\Core\DependencyInjection\RectorContainerFactory;
use Rector\Core\Kernel\RectorKernel;
use Rector\Core\Util\Reflection\PrivatesAccessor;
use RectorPrefix202305\Symfony\Component\Console\Command\Command;
use RectorPrefix202305\Symfony\Component\Console\Input\ArgvInput;
use RectorPrefix202306\Symfony\Component\Console\Command\Command;
use RectorPrefix202306\Symfony\Component\Console\Input\ArgvInput;
// @ intentionally: continue anyway
@\ini_set('memory_limit', '-1');
// Performance boost
Expand Down
20 changes: 10 additions & 10 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use RectorPrefix202305\Composer\Semver\VersionParser;
use RectorPrefix202305\Doctrine\Inflector\Inflector;
use RectorPrefix202305\Doctrine\Inflector\Rules\English\InflectorFactory;
use RectorPrefix202305\OndraM\CiDetector\CiDetector;
use RectorPrefix202306\Composer\Semver\VersionParser;
use RectorPrefix202306\Doctrine\Inflector\Inflector;
use RectorPrefix202306\Doctrine\Inflector\Rules\English\InflectorFactory;
use RectorPrefix202306\OndraM\CiDetector\CiDetector;
use PhpParser\BuilderFactory;
use PhpParser\ConstExprEvaluator;
use PhpParser\Lexer;
Expand Down Expand Up @@ -46,11 +46,11 @@
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
use Rector\Utils\Command\MissingInSetCommand;
use Rector\Utils\Command\OutsideAnySetCommand;
use RectorPrefix202305\Symfony\Component\Console\Application;
use RectorPrefix202305\Symfony\Component\Console\Style\SymfonyStyle;
use function RectorPrefix202305\Symfony\Component\DependencyInjection\Loader\Configurator\service;
use RectorPrefix202305\Symfony\Component\Filesystem\Filesystem;
use RectorPrefix202305\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
use RectorPrefix202306\Symfony\Component\Console\Application;
use RectorPrefix202306\Symfony\Component\Console\Style\SymfonyStyle;
use function RectorPrefix202306\Symfony\Component\DependencyInjection\Loader\Configurator\service;
use RectorPrefix202306\Symfony\Component\Filesystem\Filesystem;
use RectorPrefix202306\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
return static function (RectorConfig $rectorConfig) : void {
// make use of https://github.com/symplify/easy-parallel
$rectorConfig->import(EasyParallelConfig::FILE_PATH);
Expand Down
2 changes: 1 addition & 1 deletion config/set/action-injection-to-constructor-injection.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/code-quality.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector;
use Rector\CodeQuality\Rector\Assign\CombinedAssignRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/coding-style.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/dead-code.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
use Rector\Config\RectorConfig;
Expand Down
2 changes: 1 addition & 1 deletion config/set/early-return.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/gmagick-to-imagick.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/instanceof.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector;
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php53.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php54.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php55.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php56.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php70.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php71.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php72.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php73.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php74.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php80.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php81.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/level/up-to-php82.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
Expand Down
2 changes: 1 addition & 1 deletion config/set/mysql-to-mysqli.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector;
use Rector\Arguments\ValueObject\SwapFuncCallArguments;
Expand Down
2 changes: 1 addition & 1 deletion config/set/naming.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php52.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php53.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php54.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php55.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php56.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php56\Rector\FuncCall\PowToExpRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php70.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php70\Rector\Assign\ListSplitStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php71.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php72.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php72\Rector\Assign\ListEachRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php73.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php74.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php80.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php81.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/php82.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/privatization.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\Privatization\Rector\Class_\ChangeGlobalVariablesToPropertiesRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/psr-4.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\Config\RectorConfig;
use Rector\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector;
Expand Down
2 changes: 1 addition & 1 deletion config/set/type-declaration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202305;
namespace RectorPrefix202306;

use Rector\CodeQuality\Rector\ClassMethod\ReturnTypeFromStrictScalarReturnExprRector;
use Rector\Config\RectorConfig;
Expand Down
Loading

0 comments on commit 9a2931c

Please sign in to comment.