From c16fa92904a6fd9cf1ab8b594fa0a5a1b552f62c Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 26 Feb 2022 11:51:18 -0500 Subject: [PATCH] Cleanup php-cs-fixer --- .github/workflows/tests.yml | 2 +- app/Exceptions/Repository/RecordNotFoundException.php | 4 ---- app/Http/Kernel.php | 1 - ...2_20_122102_make_personal_access_tokens_soft_deletable.php | 4 ++-- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c6ada7b77..3e421d6bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ 7.4, 8.0, 8.1 ] + php: [ 8.1 ] database: [ 'mariadb:10.6', 'mysql:8' ] services: database: diff --git a/app/Exceptions/Repository/RecordNotFoundException.php b/app/Exceptions/Repository/RecordNotFoundException.php index f69c47aee..ed1127ce7 100644 --- a/app/Exceptions/Repository/RecordNotFoundException.php +++ b/app/Exceptions/Repository/RecordNotFoundException.php @@ -9,8 +9,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti { /** * Returns the status code. - * - * @return int */ public function getStatusCode(): int { @@ -19,8 +17,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti /** * Returns response headers. - * - * @return array */ public function getHeaders(): array { diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 8dc7ff877..1d8babea0 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -13,7 +13,6 @@ use Pterodactyl\Http\Middleware\VerifyCsrfToken; use Pterodactyl\Http\Middleware\VerifyReCaptcha; use Pterodactyl\Http\Middleware\AdminAuthenticate; use Illuminate\Routing\Middleware\ThrottleRequests; -use Pterodactyl\Http\Middleware\LanguageMiddleware; use Illuminate\Foundation\Http\Kernel as HttpKernel; use Illuminate\Routing\Middleware\SubstituteBindings; use Illuminate\Session\Middleware\AuthenticateSession; diff --git a/database/migrations/2022_02_20_122102_make_personal_access_tokens_soft_deletable.php b/database/migrations/2022_02_20_122102_make_personal_access_tokens_soft_deletable.php index 87a092c9a..f07c3a248 100644 --- a/database/migrations/2022_02_20_122102_make_personal_access_tokens_soft_deletable.php +++ b/database/migrations/2022_02_20_122102_make_personal_access_tokens_soft_deletable.php @@ -1,8 +1,8 @@