Skip to content

Commit

Permalink
Revert Rector back to version 0.15.19 (#635)
Browse files Browse the repository at this point in the history
The Rector upgrade had many breaking changes so reversion was necessary. Look at upgrade path going forward if necessary.
  • Loading branch information
jasonhebert authored Jul 3, 2024
1 parent 5e142c5 commit 287e081
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion rector-php.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

return static function (RectorConfig $config): void {

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

$config->autoloadPaths([
__DIR__ ,
Expand Down
2 changes: 1 addition & 1 deletion tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.1",
"phpunit/phpunit": "^9.4",
"rector/rector": "1.2.0",
"rector/rector": "0.15.19",
"vimeo/psalm": "^4.26",
"phpstan/phpstan": "^1.7"
}
Expand Down
32 changes: 14 additions & 18 deletions tools/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PhpParser\Node;
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Type\StringType;
use Rector\Rector\AbstractRector;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Type\NullType;
use PHPStan\Type\UnionType;
use Rector\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
use Rector\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
use Webmozart\Assert\Assert;
Expand Down

0 comments on commit 287e081

Please sign in to comment.