From ae2fc85a5d2d170f5b3ee0e7a7ee8bad78d5b111 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 20 Nov 2026 23:24:29 +0300 Subject: [PATCH] Deprecated calls removed --- bin/codestyle | 2 +- composer.json | 10 ---------- presets/rector/laravel.php | 2 -- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/bin/codestyle b/bin/codestyle index 83ce77a..a950fd8 100644 --- a/bin/codestyle +++ b/bin/codestyle @@ -41,7 +41,7 @@ if (is_null($file)) { require_once $file; -$application = new Application('The Dragon Code: Styler', '6.x'); +$application = new Application('The Dragon Code: Styler', 'v6'); $application->addCommand(new EditorConfigCommand); $application->addCommand(new PintCommand); diff --git a/composer.json b/composer.json index 5e16424..8a0cd02 100644 --- a/composer.json +++ b/composer.json @@ -30,16 +30,6 @@ "issues": "https://github.com/TheDragonCode/codestyler/issues", "source": "https://github.com/TheDragonCode/codestyler" }, - "funding": [ - { - "type": "boosty", - "url": "https://boosty.to/dragon-code" - }, - { - "type": "yoomoney", - "url": "https://yoomoney.ru/to/410012608840929" - } - ], "require": { "php": "^8.2", "ext-json": "*", diff --git a/presets/rector/laravel.php b/presets/rector/laravel.php index 1fb79c8..7e97296 100644 --- a/presets/rector/laravel.php +++ b/presets/rector/laravel.php @@ -11,7 +11,6 @@ use RectorLaravel\Rector\MethodCall\UseComponentPropertyWithinCommandsRector; use RectorLaravel\Rector\MethodCall\WhereToWhereLikeRector; use RectorLaravel\Set\LaravelSetList; -use RectorLaravel\Set\LaravelSetProvider; $paths = static fn (array $paths): array => array_filter($paths, fn (string $path): bool => realpath($path) !== false); @@ -42,7 +41,6 @@ typeDeclarations: true, ) ->withPhpSets() - ->withSetProviders(LaravelSetProvider::class) ->withImportNames() ->withComposerBased( phpunit: true,