mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +01:00
Fix Rector style checks on 5.x (#2083)
This commit is contained in:
@@ -7,9 +7,7 @@ use Pest\Rector\Set\PestSetList;
|
||||
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
|
||||
use Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveEmptyClassMethodRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveParentDelegatingConstructorRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveReturnTagIncompatibleWithNativeTypeRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessUnionReturnDocblockRector;
|
||||
@@ -33,8 +31,6 @@ return RectorConfig::configure()
|
||||
ReturnNeverTypeRector::class,
|
||||
ArrowFunctionDelegatingCallToFirstClassCallableRector::class,
|
||||
NarrowObjectReturnTypeRector::class,
|
||||
RemoveParentDelegatingConstructorRector::class,
|
||||
RemoveDuplicatedReturnSelfDocblockRector::class,
|
||||
RemoveUselessUnionReturnDocblockRector::class,
|
||||
RemoveReturnTagIncompatibleWithNativeTypeRector::class => [
|
||||
__DIR__.'/src/Expectations/HigherOrderExpectation.php',
|
||||
|
||||
@@ -96,7 +96,7 @@ final readonly class Init implements HandlesArguments
|
||||
|
||||
View::render('components.new-line');
|
||||
|
||||
(new Thanks($this->input, $this->output))();
|
||||
new Thanks($this->input, $this->output)();
|
||||
}
|
||||
|
||||
private function isLaravelInstalled(): bool
|
||||
|
||||
Reference in New Issue
Block a user