Skip to content

Commit 66cc09e

Browse files
committed
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
rectorphp/rector-src@d118ae3 Use phpstan-deprecation-rules (#3330)
1 parent 0e62575 commit 66cc09e

File tree

1,281 files changed

+4679
-4664
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,281 files changed

+4679
-4664
lines changed

bin/rector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
22
<?php
3-
namespace RectorPrefix202301;
3+
namespace RectorPrefix202302;
44

55
require_once __DIR__ . '/rector.php';

bin/rector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

6-
use RectorPrefix202301\Nette\Utils\Json;
6+
use RectorPrefix202302\Nette\Utils\Json;
77
use Rector\ChangesReporting\Output\JsonOutputFormatter;
88
use Rector\Core\Bootstrap\RectorConfigsResolver;
99
use Rector\Core\Configuration\Option;
@@ -12,8 +12,8 @@
1212
use Rector\Core\DependencyInjection\RectorContainerFactory;
1313
use Rector\Core\Kernel\RectorKernel;
1414
use Rector\Core\Util\Reflection\PrivatesAccessor;
15-
use RectorPrefix202301\Symfony\Component\Console\Command\Command;
16-
use RectorPrefix202301\Symfony\Component\Console\Input\ArgvInput;
15+
use RectorPrefix202302\Symfony\Component\Console\Command\Command;
16+
use RectorPrefix202302\Symfony\Component\Console\Input\ArgvInput;
1717
// @ intentionally: continue anyway
1818
@\ini_set('memory_limit', '-1');
1919
// Performance boost

config/config.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

6-
use RectorPrefix202301\Composer\Semver\VersionParser;
7-
use RectorPrefix202301\Doctrine\Inflector\Inflector;
8-
use RectorPrefix202301\Doctrine\Inflector\Rules\English\InflectorFactory;
9-
use RectorPrefix202301\OndraM\CiDetector\CiDetector;
6+
use RectorPrefix202302\Composer\Semver\VersionParser;
7+
use RectorPrefix202302\Doctrine\Inflector\Inflector;
8+
use RectorPrefix202302\Doctrine\Inflector\Rules\English\InflectorFactory;
9+
use RectorPrefix202302\OndraM\CiDetector\CiDetector;
1010
use PhpParser\BuilderFactory;
1111
use PhpParser\ConstExprEvaluator;
1212
use PhpParser\Lexer;
@@ -45,12 +45,12 @@
4545
use Rector\PSR4\Composer\PSR4NamespaceMatcher;
4646
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
4747
use Rector\Utils\Command\MissingInSetCommand;
48-
use RectorPrefix202301\SebastianBergmann\Diff\Differ;
49-
use RectorPrefix202301\Symfony\Component\Console\Application;
50-
use RectorPrefix202301\Symfony\Component\Console\Style\SymfonyStyle;
51-
use function RectorPrefix202301\Symfony\Component\DependencyInjection\Loader\Configurator\service;
52-
use RectorPrefix202301\Symfony\Component\Filesystem\Filesystem;
53-
use RectorPrefix202301\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
48+
use RectorPrefix202302\SebastianBergmann\Diff\Differ;
49+
use RectorPrefix202302\Symfony\Component\Console\Application;
50+
use RectorPrefix202302\Symfony\Component\Console\Style\SymfonyStyle;
51+
use function RectorPrefix202302\Symfony\Component\DependencyInjection\Loader\Configurator\service;
52+
use RectorPrefix202302\Symfony\Component\Filesystem\Filesystem;
53+
use RectorPrefix202302\Symplify\EasyParallel\ValueObject\EasyParallelConfig;
5454
return static function (RectorConfig $rectorConfig) : void {
5555
// make use of https://github.com/symplify/easy-parallel
5656
$rectorConfig->import(EasyParallelConfig::FILE_PATH);

config/set/action-injection-to-constructor-injection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\Config\RectorConfig;
77
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;

config/set/code-quality.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector;
77
use Rector\CodeQuality\Rector\Assign\CombinedAssignRector;

config/set/coding-style.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
77
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;

config/set/dead-code.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
77
use Rector\Config\RectorConfig;

config/set/early-return.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\Config\RectorConfig;
77
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;

config/set/gmagick-to-imagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\Config\RectorConfig;
77
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

config/set/level/up-to-php53.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace RectorPrefix202301;
4+
namespace RectorPrefix202302;
55

66
use Rector\Config\RectorConfig;
77
use Rector\Core\ValueObject\PhpVersion;

0 commit comments

Comments
 (0)