Fix Rector style checks on 5.x (#2083)

This commit is contained in:
Punyapal Shah
2026-11-26 17:31:40 +05:30
committed by GitHub
parent b75cf904b7
commit 1f60dc8f9a
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -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',
+1 -1
View File
@@ -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