Skip to content

Commit 5e142c5

Browse files
authored
Fix Rector issues stemming from upgrade to version 1.2.0 (#634)
1 parent 97a899c commit 5e142c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rector-php.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
return static function (RectorConfig $config): void {
4242

43-
$config->parallel(seconds: 1200);
43+
$config->parallel(processTimeout: 1200);
4444

4545
$config->autoloadPaths([
4646
__DIR__ ,

tools/src/AmazonPHP/Rector/ClassMethod/FixArgumentDefaultValuesNotMatchingTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PhpParser\Node;
88
use PhpParser\Node\Stmt\ClassMethod;
99
use PHPStan\Type\StringType;
10-
use Rector\Core\Rector\AbstractRector;
10+
use Rector\Rector\AbstractRector;
1111
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1212
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1313

tools/src/AmazonPHP/Rector/ClassMethod/SetNullableFunctionReturnTypeRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
use PhpParser\Node\Stmt\ClassMethod;
1010
use PHPStan\Type\NullType;
1111
use PHPStan\Type\UnionType;
12-
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
13-
use Rector\Core\Rector\AbstractRector;
12+
use Rector\Contract\Rector\ConfigurableRectorInterface;
1413
use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
14+
use Rector\Rector\AbstractRector;
1515
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
1616
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1717
use Webmozart\Assert\Assert;

0 commit comments

Comments
 (0)