File tree 6 files changed +13
-13
lines changed
6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \ExpoPushNotifications ;
4
4
5
+ use ExponentPhpSDK \Exceptions \ExpoException ;
5
6
use ExponentPhpSDK \Expo ;
6
- use Illuminate \Notifications \Notification ;
7
7
use Illuminate \Contracts \Events \Dispatcher ;
8
- use ExponentPhpSDK \Exceptions \ExpoException ;
9
8
use Illuminate \Notifications \Events \NotificationFailed ;
9
+ use Illuminate \Notifications \Notification ;
10
10
use NotificationChannels \ExpoPushNotifications \Exceptions \CouldNotSendNotification ;
11
11
12
12
class ExpoChannel
Original file line number Diff line number Diff line change 5
5
use ExponentPhpSDK \Expo ;
6
6
use ExponentPhpSDK \ExpoRegistrar ;
7
7
use ExponentPhpSDK \ExpoRepository ;
8
- use Illuminate \Support \ServiceProvider ;
9
8
use ExponentPhpSDK \Repositories \ExpoFileDriver ;
9
+ use Illuminate \Support \ServiceProvider ;
10
10
use NotificationChannels \ExpoPushNotifications \Repositories \ExpoDatabaseDriver ;
11
11
12
12
class ExpoPushNotificationsServiceProvider extends ServiceProvider
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \ExpoPushNotifications \Http ;
4
4
5
- use Illuminate \Http \Request ;
6
5
use Illuminate \Http \JsonResponse ;
6
+ use Illuminate \Http \Request ;
7
7
use Illuminate \Routing \Controller ;
8
8
use Illuminate \Support \Facades \Auth ;
9
9
use Illuminate \Support \Facades \Validator ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \ExpoPushNotifications \Test ;
4
4
5
- use Mockery ;
5
+ use ExponentPhpSDK \ Exceptions \ ExpoException ;
6
6
use ExponentPhpSDK \Expo ;
7
7
use Illuminate \Events \Dispatcher ;
8
+ use Illuminate \Notifications \Events \NotificationFailed ;
8
9
use Illuminate \Notifications \Notifiable ;
9
10
use Illuminate \Notifications \Notification ;
10
- use ExponentPhpSDK \Exceptions \ExpoException ;
11
- use Illuminate \Notifications \Events \NotificationFailed ;
11
+ use Mockery ;
12
12
use NotificationChannels \ExpoPushNotifications \ExpoChannel ;
13
13
use NotificationChannels \ExpoPushNotifications \ExpoMessage ;
14
14
Original file line number Diff line number Diff line change 3
3
namespace NotificationChannels \ExpoPushNotifications \Test ;
4
4
5
5
use ExponentPhpSDK \Expo ;
6
- use Illuminate \Http \Request ;
7
6
use ExponentPhpSDK \ExpoRegistrar ;
8
- use Illuminate \Events \Dispatcher ;
9
7
use ExponentPhpSDK \ExpoRepository ;
8
+ use ExponentPhpSDK \Repositories \ExpoFileDriver ;
9
+ use Illuminate \Contracts \Validation \Factory ;
10
+ use Illuminate \Events \Dispatcher ;
11
+ use Illuminate \Http \Request ;
10
12
use Illuminate \Support \Facades \Auth ;
11
13
use Illuminate \Support \Facades \Validator ;
12
- use Illuminate \Contracts \Validation \Factory ;
13
- use ExponentPhpSDK \Repositories \ExpoFileDriver ;
14
14
use NotificationChannels \ExpoPushNotifications \ExpoChannel ;
15
- use NotificationChannels \ExpoPushNotifications \Models \Interest ;
16
15
use NotificationChannels \ExpoPushNotifications \Http \ExpoController ;
16
+ use NotificationChannels \ExpoPushNotifications \Models \Interest ;
17
17
use NotificationChannels \ExpoPushNotifications \Repositories \ExpoDatabaseDriver ;
18
18
19
19
class ExpoControllerTest extends TestCase
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \ExpoPushNotifications \Test ;
4
4
5
- use Orchestra \Testbench \TestCase as OrchestraTestCase ;
6
5
use NotificationChannels \ExpoPushNotifications \ExpoPushNotificationsServiceProvider ;
6
+ use Orchestra \Testbench \TestCase as OrchestraTestCase ;
7
7
8
8
abstract class TestCase extends OrchestraTestCase
9
9
{
You can’t perform that action at this time.
0 commit comments