Skip to content

Commit 71219eb

Browse files
authored
Apply fixes from StyleCI (#45)
Co-authored-by: Casper Boone <[email protected]>
1 parent c53bf65 commit 71219eb

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

src/PushoverChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace NotificationChannels\Pushover;
44

5-
use Illuminate\Notifications\Notification;
65
use Illuminate\Contracts\Events\Dispatcher;
76
use Illuminate\Notifications\Events\NotificationFailed;
7+
use Illuminate\Notifications\Notification;
88
use NotificationChannels\Pushover\Exceptions\ServiceCommunicationError;
99

1010
class PushoverChannel

tests/IntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace NotificationChannels\Pushover\Test;
44

5-
use Mockery;
6-
use Orchestra\Testbench\TestCase;
75
use GuzzleHttp\Client as HttpClient;
8-
use Illuminate\Notifications\Notification;
96
use Illuminate\Contracts\Events\Dispatcher;
7+
use Illuminate\Notifications\Notification;
8+
use Mockery;
109
use NotificationChannels\Pushover\Pushover;
1110
use NotificationChannels\Pushover\PushoverChannel;
1211
use NotificationChannels\Pushover\PushoverMessage;
12+
use Orchestra\Testbench\TestCase;
1313

1414
class IntegrationTest extends TestCase
1515
{

tests/PushoverChannelTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
namespace NotificationChannels\Pushover\Test;
44

5-
use Mockery;
65
use Exception;
7-
use Orchestra\Testbench\TestCase;
8-
use Illuminate\Notifications\Notification;
96
use Illuminate\Contracts\Events\Dispatcher;
7+
use Illuminate\Notifications\Events\NotificationFailed;
8+
use Illuminate\Notifications\Notification;
9+
use Mockery;
10+
use NotificationChannels\Pushover\Exceptions\ServiceCommunicationError;
1011
use NotificationChannels\Pushover\Pushover;
1112
use NotificationChannels\Pushover\PushoverChannel;
1213
use NotificationChannels\Pushover\PushoverMessage;
13-
use Illuminate\Notifications\Events\NotificationFailed;
14-
use NotificationChannels\Pushover\Exceptions\ServiceCommunicationError;
14+
use Orchestra\Testbench\TestCase;
1515

1616
class PushoverChannelTest extends TestCase
1717
{

tests/PushoverMessageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace NotificationChannels\Pushover\Test;
44

55
use Carbon\Carbon;
6-
use Orchestra\Testbench\TestCase;
7-
use NotificationChannels\Pushover\PushoverMessage;
86
use NotificationChannels\Pushover\Exceptions\EmergencyNotificationRequiresRetryAndExpire;
7+
use NotificationChannels\Pushover\PushoverMessage;
8+
use Orchestra\Testbench\TestCase;
99

1010
class PushoverMessageTest extends TestCase
1111
{

tests/PushoverReceiverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace NotificationChannels\Pushover\Test;
44

5-
use Orchestra\Testbench\TestCase;
65
use DMS\PHPUnitExtensions\ArraySubset\Assert;
76
use NotificationChannels\Pushover\PushoverReceiver;
7+
use Orchestra\Testbench\TestCase;
88

99
class PushoverReceiverTest extends TestCase
1010
{

tests/PushoverServiceProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace NotificationChannels\Pushover\Test;
44

5+
use Illuminate\Contracts\Foundation\Application;
56
use Mockery;
6-
use Orchestra\Testbench\TestCase;
77
use NotificationChannels\Pushover\Pushover;
8-
use Illuminate\Contracts\Foundation\Application;
98
use NotificationChannels\Pushover\PushoverChannel;
109
use NotificationChannels\Pushover\PushoverServiceProvider;
10+
use Orchestra\Testbench\TestCase;
1111

1212
class PushoverServiceProviderTest extends TestCase
1313
{

tests/PushoverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace NotificationChannels\Pushover\Test;
44

5-
use Mockery;
65
use Exception;
7-
use Orchestra\Testbench\TestCase;
86
use GuzzleHttp\Client as HttpClient;
97
use GuzzleHttp\Exception\RequestException;
10-
use NotificationChannels\Pushover\Pushover;
8+
use Mockery;
119
use NotificationChannels\Pushover\Exceptions\CouldNotSendNotification;
1210
use NotificationChannels\Pushover\Exceptions\ServiceCommunicationError;
11+
use NotificationChannels\Pushover\Pushover;
12+
use Orchestra\Testbench\TestCase;
1313

1414
class PushoverTest extends TestCase
1515
{

0 commit comments

Comments
 (0)