File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush ;
4
4
5
- use Illuminate \Support \Str ;
6
- use Minishlink \WebPush \VAPID ;
7
5
use Illuminate \Console \Command ;
8
6
use Illuminate \Console \ConfirmableTrait ;
7
+ use Illuminate \Support \Str ;
8
+ use Minishlink \WebPush \VAPID ;
9
9
10
10
class VapidKeysGenerateCommand extends Command
11
11
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush ;
4
4
5
- use Minishlink \WebPush \WebPush ;
6
- use Minishlink \WebPush \Subscription ;
7
5
use Illuminate \Notifications \Notification ;
6
+ use Minishlink \WebPush \Subscription ;
7
+ use Minishlink \WebPush \WebPush ;
8
8
9
9
class WebPushChannel
10
10
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush ;
4
4
5
+ use Illuminate \Support \ServiceProvider ;
5
6
use Illuminate \Support \Str ;
6
7
use Minishlink \WebPush \WebPush ;
7
- use Illuminate \Support \ServiceProvider ;
8
8
9
9
class WebPushServiceProvider extends ServiceProvider
10
10
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush \Test ;
4
4
5
- use Mockery ;
6
5
use GuzzleHttp \Psr7 \Request ;
7
6
use GuzzleHttp \Psr7 \Response ;
8
- use Minishlink \WebPush \WebPush ;
9
- use Minishlink \WebPush \Subscription ;
10
7
use Minishlink \WebPush \MessageSentReport ;
8
+ use Minishlink \WebPush \Subscription ;
9
+ use Minishlink \WebPush \WebPush ;
10
+ use Mockery ;
11
11
use NotificationChannels \WebPush \ReportHandler ;
12
12
use NotificationChannels \WebPush \WebPushChannel ;
13
13
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush \Test ;
4
4
5
- use PHPUnit \Framework \TestCase ;
6
5
use NotificationChannels \WebPush \WebPushMessage ;
6
+ use PHPUnit \Framework \TestCase ;
7
7
8
8
class MessageTest extends TestCase
9
9
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush \Test ;
4
4
5
- use Illuminate \Support \Facades \Schema ;
6
5
use Illuminate \Contracts \Console \Kernel ;
7
6
use Illuminate \Database \Schema \Blueprint ;
7
+ use Illuminate \Support \Facades \Schema ;
8
8
use Orchestra \Testbench \TestCase as Orchestra ;
9
9
10
10
abstract class TestCase extends Orchestra
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush \Test ;
4
4
5
+ use Illuminate \Foundation \Auth \User as Authenticatable ;
5
6
use Illuminate \Notifications \Notifiable ;
6
7
use NotificationChannels \WebPush \HasPushSubscriptions ;
7
- use Illuminate \Foundation \Auth \User as Authenticatable ;
8
8
9
9
class User extends Authenticatable
10
10
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \WebPush \Test ;
4
4
5
- use Illuminate \Support \Facades \File ;
6
5
use Illuminate \Support \Facades \Artisan ;
6
+ use Illuminate \Support \Facades \File ;
7
7
8
8
class VapidKeysGenerateCommandTest extends TestCase
9
9
{
You can’t perform that action at this time.
0 commit comments