From 8bb6da961addc3b016d9f687abeb7c20e1d2a18a Mon Sep 17 00:00:00 2001 From: Herpaderp Aldent Date: Tue, 5 Feb 2019 21:22:12 +0000 Subject: [PATCH] Apply fixes from StyleCI --- .../Notifications/MissingRefreshTokenController.php | 4 +--- .../Controllers/Notifications/SeatGroupErrorController.php | 4 +--- .../Controllers/Notifications/SeatGroupSyncController.php | 4 +--- src/Http/routes.php | 1 - src/Listeners/GroupSyncedNotification.php | 1 - ...019_02_05_205150_delete_seat_group_notification_table.php | 5 ++--- 6 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/Http/Controllers/Notifications/MissingRefreshTokenController.php b/src/Http/Controllers/Notifications/MissingRefreshTokenController.php index 9e7348b..c77ba3d 100644 --- a/src/Http/Controllers/Notifications/MissingRefreshTokenController.php +++ b/src/Http/Controllers/Notifications/MissingRefreshTokenController.php @@ -25,7 +25,6 @@ namespace Herpaderpaldent\Seat\SeatGroups\Http\Controllers\Notifications; - use Herpaderpaldent\Seat\SeatNotifications\Http\Controllers\BaseNotificationController; class MissingRefreshTokenController extends BaseNotificationController @@ -114,5 +113,4 @@ public function isAvailable() : bool { return $this->hasPermission('seatgroups.create'); } - -} \ No newline at end of file +} diff --git a/src/Http/Controllers/Notifications/SeatGroupErrorController.php b/src/Http/Controllers/Notifications/SeatGroupErrorController.php index 145ceea..0f18a3c 100644 --- a/src/Http/Controllers/Notifications/SeatGroupErrorController.php +++ b/src/Http/Controllers/Notifications/SeatGroupErrorController.php @@ -25,7 +25,6 @@ namespace Herpaderpaldent\Seat\SeatGroups\Http\Controllers\Notifications; - use Herpaderpaldent\Seat\SeatNotifications\Http\Controllers\BaseNotificationController; class SeatGroupErrorController extends BaseNotificationController @@ -114,5 +113,4 @@ public function isAvailable() : bool { return $this->hasPermission('seatgroups.create'); } - -} \ No newline at end of file +} diff --git a/src/Http/Controllers/Notifications/SeatGroupSyncController.php b/src/Http/Controllers/Notifications/SeatGroupSyncController.php index 73d9ffe..ef932c6 100644 --- a/src/Http/Controllers/Notifications/SeatGroupSyncController.php +++ b/src/Http/Controllers/Notifications/SeatGroupSyncController.php @@ -2,7 +2,6 @@ namespace Herpaderpaldent\Seat\SeatGroups\Http\Controllers\Notifications; - use Herpaderpaldent\Seat\SeatNotifications\Http\Controllers\BaseNotificationController; class SeatGroupSyncController extends BaseNotificationController @@ -91,5 +90,4 @@ public function isAvailable() : bool { return $this->hasPermission('seatgroups.create'); } - -} \ No newline at end of file +} diff --git a/src/Http/routes.php b/src/Http/routes.php index 6ed7d26..add51c1 100644 --- a/src/Http/routes.php +++ b/src/Http/routes.php @@ -167,7 +167,6 @@ 'uses' => 'MissingRefreshTokenController@unsubscribeDm', ]); - Route::group([ 'middleware' => ['bouncer:seatnotifications.configuration'], ], function () { diff --git a/src/Listeners/GroupSyncedNotification.php b/src/Listeners/GroupSyncedNotification.php index dbcb8b8..d0e6e2f 100644 --- a/src/Listeners/GroupSyncedNotification.php +++ b/src/Listeners/GroupSyncedNotification.php @@ -9,7 +9,6 @@ namespace Herpaderpaldent\Seat\SeatGroups\Listeners; use Herpaderpaldent\Seat\SeatGroups\Events\GroupSynced; -use Herpaderpaldent\Seat\SeatGroups\Models\SeatGroupNotification; use Herpaderpaldent\Seat\SeatGroups\Notifications\SeatGroupSyncNotification; use Herpaderpaldent\Seat\SeatNotifications\Models\SeatNotificationRecipient; use Herpaderpaldent\Seat\SeatNotifications\Notifications\BaseNotification; diff --git a/src/database/migrations/2019_02_05_205150_delete_seat_group_notification_table.php b/src/database/migrations/2019_02_05_205150_delete_seat_group_notification_table.php index 1bac718..3f14c3c 100644 --- a/src/database/migrations/2019_02_05_205150_delete_seat_group_notification_table.php +++ b/src/database/migrations/2019_02_05_205150_delete_seat_group_notification_table.php @@ -22,10 +22,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ - -use Illuminate\Support\Facades\Schema; -use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; +use Illuminate\Database\Schema\Blueprint; +use Illuminate\Support\Facades\Schema; class DeleteSeatGroupNotificationTable extends Migration {