File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
rules/PHPUnit120/Rector/Class_ Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Rector \Config \RectorConfig ;
6+ use Rector \PHPUnit \PHPUnit120 \Rector \Class_ \RemoveOverrideFinalConstructTestCaseRector ;
67
78return static function (RectorConfig $ rectorConfig ): void {
9+ $ rectorConfig ->rule (RemoveOverrideFinalConstructTestCaseRector::class);
810};
Original file line number Diff line number Diff line change 55namespace Rector \PHPUnit \PHPUnit120 \Rector \Class_ ;
66
77use PhpParser \Node ;
8- use PhpParser \Node \Expr \Array_ ;
9- use PhpParser \Node \Expr \Assign ;
10- use PhpParser \Node \Expr \Variable ;
11- use PhpParser \Node \Expr \Yield_ ;
12- use PhpParser \Node \Scalar \String_ ;
138use PhpParser \Node \Stmt \Class_ ;
149use PhpParser \Node \Stmt \ClassMethod ;
15- use PhpParser \Node \Stmt \Expression ;
16- use PhpParser \Node \Stmt \Return_ ;
1710use Rector \PHPUnit \NodeAnalyzer \TestsNodeAnalyzer ;
1811use Rector \Rector \AbstractRector ;
1912use Rector \ValueObject \MethodName ;
You can’t perform that action at this time.
0 commit comments