Update rector and the used class namespace
Seems like the class alias for Rector\Core is removed in 19.2 This should fix the rector runs on github.
This commit is contained in:
parent
dd4993d183
commit
33b3315418
|
@ -916,16 +916,16 @@
|
|||
},
|
||||
{
|
||||
"name": "rector/rector",
|
||||
"version": "0.19.0",
|
||||
"version": "0.19.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/rectorphp/rector.git",
|
||||
"reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d"
|
||||
"reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/503f4ead06b3892bd106f67f3c86d4e36c94423d",
|
||||
"reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/2bba0dd55ba92c23f1253d9e60d0242a896d1025",
|
||||
"reference": "2bba0dd55ba92c23f1253d9e60d0242a896d1025",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -960,7 +960,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/rectorphp/rector/issues",
|
||||
"source": "https://github.com/rectorphp/rector/tree/0.19.0"
|
||||
"source": "https://github.com/rectorphp/rector/tree/0.19.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -968,7 +968,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-09T00:49:06+00:00"
|
||||
"time": "2024-01-15T18:02:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/code-unit-reverse-lookup",
|
||||
|
|
|
@ -6,7 +6,7 @@ use PhpParser\Node;
|
|||
use PhpParser\Node\Expr\FuncCall;
|
||||
use PhpParser\Node\Stmt\Echo_;
|
||||
use PhpParser\Node\Stmt\Expression;
|
||||
use Rector\Core\Rector\AbstractRector;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
namespace dokuwiki\test\rector;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\FuncCall;
|
||||
use PhpParser\Node\Expr\Print_;
|
||||
use PhpParser\Node\Stmt\Echo_;
|
||||
use PhpParser\Node\Stmt\Expression;
|
||||
use Rector\Core\Rector\AbstractRector;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
|
||||
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
|
||||
|
||||
|
|
Loading…
Reference in New Issue