From 1be17ea02368527c69b7a3ce64b1ce8bc49824de Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 27 Jul 2020 17:49:02 +0000 Subject: [PATCH] Apply fixes from StyleCI --- config/app.php | 6 ------ config/auth.php | 2 -- config/broadcasting.php | 4 ---- config/cache.php | 4 ---- config/database.php | 6 ------ config/filesystems.php | 4 ---- config/hashing.php | 2 -- config/logging.php | 2 -- config/mail.php | 2 -- config/queue.php | 4 ---- config/services.php | 2 -- config/session.php | 2 -- config/view.php | 2 -- resources/lang/en/auth.php | 2 -- resources/lang/en/pagination.php | 2 -- resources/lang/en/passwords.php | 2 -- resources/lang/en/validation.php | 2 -- 17 files changed, 50 deletions(-) diff --git a/config/app.php b/config/app.php index 9e5b36cfe18..2637c9d8568 100644 --- a/config/app.php +++ b/config/app.php @@ -1,7 +1,6 @@ [ - /* * Laravel Framework Service Providers... */ @@ -174,7 +172,6 @@ // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, - ], /* @@ -189,7 +186,6 @@ */ 'aliases' => [ - 'App' => Illuminate\Support\Facades\App::class, 'Arr' => Illuminate\Support\Arr::class, 'Artisan' => Illuminate\Support\Facades\Artisan::class, @@ -225,7 +221,5 @@ 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, - ], - ]; diff --git a/config/auth.php b/config/auth.php index aaf982bcdce..876e70d5b90 100644 --- a/config/auth.php +++ b/config/auth.php @@ -1,7 +1,6 @@ 10800, - ]; diff --git a/config/broadcasting.php b/config/broadcasting.php index 3bba1103e60..567e3f76ea6 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -1,7 +1,6 @@ [ - 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), @@ -53,7 +51,5 @@ 'null' => [ 'driver' => 'null', ], - ], - ]; diff --git a/config/cache.php b/config/cache.php index 46751e627fb..43bb1a436b0 100644 --- a/config/cache.php +++ b/config/cache.php @@ -3,7 +3,6 @@ use Illuminate\Support\Str; return [ - /* |-------------------------------------------------------------------------- | Default Cache Store @@ -32,7 +31,6 @@ */ 'stores' => [ - 'apc' => [ 'driver' => 'apc', ], @@ -84,7 +82,6 @@ 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 'endpoint' => env('DYNAMODB_ENDPOINT'), ], - ], /* @@ -99,5 +96,4 @@ */ 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), - ]; diff --git a/config/database.php b/config/database.php index b42d9b30a54..5301a8070ff 100644 --- a/config/database.php +++ b/config/database.php @@ -3,7 +3,6 @@ use Illuminate\Support\Str; return [ - /* |-------------------------------------------------------------------------- | Default Database Connection Name @@ -34,7 +33,6 @@ */ 'connections' => [ - 'sqlite' => [ 'driver' => 'sqlite', 'url' => env('DATABASE_URL'), @@ -90,7 +88,6 @@ 'prefix' => '', 'prefix_indexes' => true, ], - ], /* @@ -118,7 +115,6 @@ */ 'redis' => [ - 'client' => env('REDIS_CLIENT', 'phpredis'), 'options' => [ @@ -141,7 +137,5 @@ 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), ], - ], - ]; diff --git a/config/filesystems.php b/config/filesystems.php index 220c01048ce..26f9094411f 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -1,7 +1,6 @@ [ - 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), @@ -64,7 +62,5 @@ 'url' => env('AWS_URL'), 'endpoint' => env('AWS_ENDPOINT'), ], - ], - ]; diff --git a/config/hashing.php b/config/hashing.php index 842577087c0..a5ffb2836a2 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -1,7 +1,6 @@ 2, 'time' => 2, ], - ]; diff --git a/config/logging.php b/config/logging.php index 088c204e299..177895fb0c2 100644 --- a/config/logging.php +++ b/config/logging.php @@ -5,7 +5,6 @@ use Monolog\Handler\SyslogUdpHandler; return [ - /* |-------------------------------------------------------------------------- | Default Log Channel @@ -100,5 +99,4 @@ 'path' => storage_path('logs/laravel.log'), ], ], - ]; diff --git a/config/mail.php b/config/mail.php index 3c65eb3fb09..3b35951a6f7 100644 --- a/config/mail.php +++ b/config/mail.php @@ -1,7 +1,6 @@ env('MAIL_LOG_CHANNEL'), - ]; diff --git a/config/queue.php b/config/queue.php index 3a30d6c68c5..9ace2b27809 100644 --- a/config/queue.php +++ b/config/queue.php @@ -1,7 +1,6 @@ [ - 'sync' => [ 'driver' => 'sync', ], @@ -65,7 +63,6 @@ 'retry_after' => 90, 'block_for' => null, ], - ], /* @@ -84,5 +81,4 @@ 'database' => env('DB_CONNECTION', 'mysql'), 'table' => 'failed_jobs', ], - ]; diff --git a/config/services.php b/config/services.php index 2a1d616c774..7cc99c50696 100644 --- a/config/services.php +++ b/config/services.php @@ -1,7 +1,6 @@ env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], - ]; diff --git a/config/session.php b/config/session.php index 857ebc3eab8..da9c08f8916 100644 --- a/config/session.php +++ b/config/session.php @@ -3,7 +3,6 @@ use Illuminate\Support\Str; return [ - /* |-------------------------------------------------------------------------- | Default Session Driver @@ -195,5 +194,4 @@ */ 'same_site' => null, - ]; diff --git a/config/view.php b/config/view.php index 22b8a18d325..24dea7a4aa1 100644 --- a/config/view.php +++ b/config/view.php @@ -1,7 +1,6 @@ 'These credentials do not match our records.', 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', - ]; diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php index d4814118778..ecac3aa3316 100644 --- a/resources/lang/en/pagination.php +++ b/resources/lang/en/pagination.php @@ -1,7 +1,6 @@ '« Previous', 'next' => 'Next »', - ]; diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php index 724de4b9dba..d6e219d6bf8 100644 --- a/resources/lang/en/passwords.php +++ b/resources/lang/en/passwords.php @@ -1,7 +1,6 @@ 'Please wait before retrying.', 'token' => 'This password reset token is invalid.', 'user' => "We can't find a user with that e-mail address.", - ]; diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index a65914f9d0f..d3308d24ea1 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -1,7 +1,6 @@ [], - ];