Skip to content

Commit

Permalink
Support Rector 0.18.8 and bump minimum Rector version that works (#151)
Browse files Browse the repository at this point in the history
* Support Rector 0.18.8

* Remove abandoned package
  • Loading branch information
GeniJaho committed Nov 24, 2023
1 parent 3054e6e commit 7a7dd9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Rector upgrades rules for Laravel Framework",
"require": {
"php": ">=8.1",
"rector/rector": "^0.18.0"
"rector/rector": "^0.18.5"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
Expand All @@ -18,8 +18,7 @@
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.1",
"phpstan/phpstan-strict-rules": "^1.2",
"symplify/vendor-patches": "^11.0",
"rector/rector-debugging": "dev-main"
"symplify/vendor-patches": "^11.0"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Rector\Core\PhpParser\Node\BetterNodeFinder;
use Rector\Core\Rector\AbstractScopeAwareRector;
use Rector\NodeTypeResolver\TypeComparator\TypeComparator;
use Rector\StaticTypeMapper\StaticTypeMapper;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

Expand All @@ -45,6 +46,7 @@ public function __construct(
private readonly DocBlockUpdater $docBlockUpdater,
private readonly PhpDocInfoFactory $phpDocInfoFactory,
private readonly BetterNodeFinder $betterNodeFinder,
private readonly StaticTypeMapper $staticTypeMapper,
) {
}

Expand Down

0 comments on commit 7a7dd9e

Please sign in to comment.