From 11edaac73b27c6a3f56e37b0c9a5f0bca7590bca Mon Sep 17 00:00:00 2001 From: Ollie Date: Wed, 29 Apr 2026 11:47:36 +0100 Subject: [PATCH] Remove unused dependency `percymamedy/laravel-dev-booter` This dependency stopped being used in commit 11ddec1 [1]. * Remove dependency with `docker run --rm -it -v $PWD:/app -u $(id -u):$(id -g) composer:2.9.2 --ignore-platform-req=ext-pcntl remove percymamedy/laravel-dev-booter` * Remove default configuration file `config/dev-booter.php` * Remove `PercyMamedy\LaravelDevBooter\ServiceProvider` from `config/app.php` [1]: https://github.com/wbstack/api/commit/11ddec1dc46995682a32650cd8649594c698bb42 Bug: T424469 --- composer.json | 1 - composer.lock | 60 +------------------------------------------ config/app.php | 6 ----- config/dev-booter.php | 53 -------------------------------------- 4 files changed, 1 insertion(+), 119 deletions(-) delete mode 100644 config/dev-booter.php diff --git a/composer.json b/composer.json index e0f940fec..c21e7d13c 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,6 @@ "lkaemmerling/laravel-horizon-prometheus-exporter": "^1.7", "maclof/kubernetes-client": "^0.31.0", "mxl/laravel-job": "^1.5", - "percymamedy/laravel-dev-booter": "^4.0", "php-http/guzzle7-adapter": "^1.0", "php-http/message": "^1.16", "php-http/message-factory": "^1.1", diff --git a/composer.lock b/composer.lock index 67f9d3932..4aa33fb49 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8896289da4e5668f1dad905cd7df27dc", + "content-hash": "918fdf0eb4a0726a4367d6f32e7a9803", "packages": [ { "name": "absszero/laravel-stackdriver-error-reporting", @@ -5104,64 +5104,6 @@ }, "time": "2020-10-15T08:29:30+00:00" }, - { - "name": "percymamedy/laravel-dev-booter", - "version": "v4.0.0", - "source": { - "type": "git", - "url": "https://github.com/percymamedy/laravel-dev-booter.git", - "reference": "2013de7060a73ae1a410484d1442c0e191dfc25c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/percymamedy/laravel-dev-booter/zipball/2013de7060a73ae1a410484d1442c0e191dfc25c", - "reference": "2013de7060a73ae1a410484d1442c0e191dfc25c", - "shasum": "" - }, - "require": { - "illuminate/support": "^10.20.0", - "php": "^8.1|^8.2" - }, - "require-dev": { - "orchestra/testbench": "^8.9.0", - "phpunit/phpunit": "^10.0" - }, - "type": "library", - "extra": { - "branch-alias": [], - "laravel": { - "providers": [ - "PercyMamedy\\LaravelDevBooter\\ServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "PercyMamedy\\LaravelDevBooter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Percy Mamedy", - "email": "percymamedy@gmail.com" - } - ], - "description": "Boost your Laravel app by registering Prod services only on Prod.", - "keywords": [ - "dev-tools", - "laravel", - "php" - ], - "support": { - "issues": "https://github.com/percymamedy/laravel-dev-booter/issues", - "source": "https://github.com/percymamedy/laravel-dev-booter/tree/v4.0.0" - }, - "time": "2023-08-28T20:44:19+00:00" - }, { "name": "php-http/client-common", "version": "2.7.3", diff --git a/config/app.php b/config/app.php index 8be761156..8c89c831d 100644 --- a/config/app.php +++ b/config/app.php @@ -194,12 +194,6 @@ RouteServiceProvider::class, ReCaptchaServiceProvider::class, CollectorRegistryProvider::class, - - /* - * Imported from LUMEN - */ - - PercyMamedy\LaravelDevBooter\ServiceProvider::class, ])->toArray(), /* diff --git a/config/dev-booter.php b/config/dev-booter.php deleted file mode 100644 index f2b4cb4af..000000000 --- a/config/dev-booter.php +++ /dev/null @@ -1,53 +0,0 @@ - [ - 'local', - 'dev', - 'testing', - ], - - /* - |-------------------------------------------------------------------------- - | Development Providers config key - |-------------------------------------------------------------------------- - | - | Here you may define the config key where you placed all your dev - | providers. You may define a key for each environment. - | - */ - - 'dev_providers_config_keys' => [ - 'dev' => 'app.dev_providers', - 'local' => 'app.local_providers', - 'testing' => 'app.testing_providers', - ], - - /* - |-------------------------------------------------------------------------- - | Development Class Aliases - |-------------------------------------------------------------------------- - | - | Here you may define the config key where you placed akl your dev class - | aliases. You may define a key for each environment. - | - */ - - 'dev_aliases_config_keys' => [ - 'dev' => 'app.dev_aliases', - 'local' => 'app.local_aliases', - 'testing' => 'app.testing_aliases', - ], -];