From d7474d45b05313da875a2b235d9c9de39fda3442 Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Mon, 11 May 2020 03:08:57 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Notifications/SimpleSlack.php | 2 +- src/Slack.php | 4 ++-- src/Testing/SlackFake.php | 4 ++-- tests/RecipientsTest.php | 2 +- tests/SendMessageTest.php | 2 +- tests/SlackFakeTest.php | 8 ++++---- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Notifications/SimpleSlack.php b/src/Notifications/SimpleSlack.php index 91244da..f16bbb9 100644 --- a/src/Notifications/SimpleSlack.php +++ b/src/Notifications/SimpleSlack.php @@ -2,8 +2,8 @@ namespace Pressutto\LaravelSlack\Notifications; -use Illuminate\Notifications\Notification; use Illuminate\Notifications\Messages\SlackMessage; +use Illuminate\Notifications\Notification; class SimpleSlack extends Notification { diff --git a/src/Slack.php b/src/Slack.php index 58ec015..383c133 100644 --- a/src/Slack.php +++ b/src/Slack.php @@ -2,10 +2,10 @@ namespace Pressutto\LaravelSlack; -use Illuminate\Support\Collection; -use Illuminate\Support\Facades\Notification; use Illuminate\Notifications\AnonymousNotifiable; use Illuminate\Notifications\Messages\SlackMessage; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\Notification; use Pressutto\LaravelSlack\Notifications\SimpleSlack; class Slack diff --git a/src/Testing/SlackFake.php b/src/Testing/SlackFake.php index 0561be0..9dfd7ba 100644 --- a/src/Testing/SlackFake.php +++ b/src/Testing/SlackFake.php @@ -2,9 +2,9 @@ namespace Pressutto\LaravelSlack\Testing; -use Pressutto\LaravelSlack\Slack; -use PHPUnit\Framework\Assert as PHPUnit; use Illuminate\Notifications\Messages\SlackMessage; +use PHPUnit\Framework\Assert as PHPUnit; +use Pressutto\LaravelSlack\Slack; class SlackFake extends Slack { diff --git a/tests/RecipientsTest.php b/tests/RecipientsTest.php index ae99465..c719dbc 100644 --- a/tests/RecipientsTest.php +++ b/tests/RecipientsTest.php @@ -2,8 +2,8 @@ namespace Tests; -use ReflectionObject; use Illuminate\Database\Eloquent\Model; +use ReflectionObject; class RecipientsTest extends TestCase { diff --git a/tests/SendMessageTest.php b/tests/SendMessageTest.php index 4d54dfe..89e862f 100644 --- a/tests/SendMessageTest.php +++ b/tests/SendMessageTest.php @@ -2,9 +2,9 @@ namespace Tests; -use Illuminate\Support\Facades\Notification; use Illuminate\Notifications\AnonymousNotifiable; use Illuminate\Notifications\Messages\SlackMessage; +use Illuminate\Support\Facades\Notification; use Pressutto\LaravelSlack\Notifications\SimpleSlack; class SendMessageTest extends TestCase diff --git a/tests/SlackFakeTest.php b/tests/SlackFakeTest.php index 168b804..b0d1a24 100644 --- a/tests/SlackFakeTest.php +++ b/tests/SlackFakeTest.php @@ -2,12 +2,12 @@ namespace Tests; -use Pressutto\LaravelSlack\Facades\Slack; -use Illuminate\Support\Facades\Notification; use Illuminate\Notifications\AnonymousNotifiable; -use PHPUnit\Framework\ExpectationFailedException; -use PHPUnit\Framework\Constraint\ExceptionMessage; use Illuminate\Notifications\Messages\SlackMessage; +use Illuminate\Support\Facades\Notification; +use PHPUnit\Framework\Constraint\ExceptionMessage; +use PHPUnit\Framework\ExpectationFailedException; +use Pressutto\LaravelSlack\Facades\Slack; use Pressutto\LaravelSlack\Notifications\SimpleSlack; class SlackFakeTest extends TestCase