Skip to content

Commit

Permalink
Style Fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Nov 3, 2019
1 parent aff2922 commit fd84117
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/Channels/SubscriberMailChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace YlsIdeas\SubscribableNotifications\Channels;

use Illuminate\Contracts\Mail\Mailable;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Channels\MailChannel;
use Illuminate\Notifications\Messages\MailMessage;
use YlsIdeas\SubscribableNotifications\Contracts\CanUnsubscribe;
use Illuminate\Notifications\Notification;
use YlsIdeas\SubscribableNotifications\Contracts\AppliesToMailingList;
use YlsIdeas\SubscribableNotifications\Contracts\CanUnsubscribe;
use YlsIdeas\SubscribableNotifications\Contracts\CheckNotifiableSubscriptionStatus;
use YlsIdeas\SubscribableNotifications\Contracts\CheckSubscriptionStatusBeforeSendingNotifications;

Expand Down
2 changes: 1 addition & 1 deletion src/Controllers/UnsubscribeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use YlsIdeas\SubscribableNotifications\Subscriber;
use YlsIdeas\SubscribableNotifications\Events\UserUnsubscribed;
use YlsIdeas\SubscribableNotifications\Events\UserUnsubscribing;
use YlsIdeas\SubscribableNotifications\Subscriber;

/**
* Class UnsubscribeController.
Expand Down
4 changes: 2 additions & 2 deletions src/MailSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace YlsIdeas\SubscribableNotifications;

use Illuminate\Support\Facades\URL;
use Illuminate\Notifications\Notification;
use YlsIdeas\SubscribableNotifications\Facades\Subscriber;
use Illuminate\Support\Facades\URL;
use YlsIdeas\SubscribableNotifications\Contracts\AppliesToMailingList;
use YlsIdeas\SubscribableNotifications\Facades\Subscriber;

trait MailSubscriber
{
Expand Down
2 changes: 1 addition & 1 deletion src/SubscribableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace YlsIdeas\SubscribableNotifications;

use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Notifications\Channels\MailChannel;
use Illuminate\Support\ServiceProvider;
use YlsIdeas\SubscribableNotifications\Channels\SubscriberMailChannel;

class SubscribableServiceProvider extends ServiceProvider
Expand Down
4 changes: 2 additions & 2 deletions src/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace YlsIdeas\SubscribableNotifications;

use Illuminate\Support\Str;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Http\Response;
use Illuminate\Support\Str;
use InvalidArgumentException;
use Illuminate\Contracts\Foundation\Application;

class Subscriber
{
Expand Down
10 changes: 5 additions & 5 deletions tests/Channels/SubscriberMailChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

namespace YlsIdeas\SubscribableNotifications\Tests\Channels;

use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Facades\Event;
use Illuminate\Mail\Events\MessageSent;
use Illuminate\Mail\Events\MessageSending;
use Illuminate\Mail\Events\MessageSent;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\View;
use Orchestra\Testbench\TestCase;
use YlsIdeas\SubscribableNotifications\SubscribableServiceProvider;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotifiable;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotification;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotifiableWithSubscriptions;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotification;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotificationWithMailingList;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotificationWithQueuing;

Expand Down
8 changes: 4 additions & 4 deletions tests/Controllers/UnsubscribeControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
namespace YlsIdeas\SubscribableNotifications\Tests\Controllers;

use Illuminate\Http\Response;
use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Event;
use YlsIdeas\SubscribableNotifications\Facades\Subscriber;
use Illuminate\Support\Facades\URL;
use Orchestra\Testbench\TestCase;
use YlsIdeas\SubscribableNotifications\Events\UserUnsubscribed;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyUser;
use YlsIdeas\SubscribableNotifications\Events\UserUnsubscribing;
use YlsIdeas\SubscribableNotifications\Facades\Subscriber;
use YlsIdeas\SubscribableNotifications\SubscribableServiceProvider;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyApplicationServiceProvider;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyUser;

/**
* Class UnsubscribeControllerTest.
Expand Down
4 changes: 2 additions & 2 deletions tests/MailSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace YlsIdeas\SubscribableNotifications\Tests;

use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\Route;
use Orchestra\Testbench\TestCase;
use YlsIdeas\SubscribableNotifications\Facades\Subscriber;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyUser;
use YlsIdeas\SubscribableNotifications\SubscribableServiceProvider;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotification;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyNotificationWithMailingList;
use YlsIdeas\SubscribableNotifications\Tests\Support\DummyUser;

/**
* Class MailSubscriberTest.
Expand Down
2 changes: 1 addition & 1 deletion tests/SubscribableServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace YlsIdeas\SubscribableNotifications\Tests;

use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\View;
use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\File;
use YlsIdeas\SubscribableNotifications\SubscribableServiceProvider;

class SubscribableServiceProviderTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/SubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace YlsIdeas\SubscribableNotifications\Tests;

use Illuminate\Foundation\Auth\User;
use Illuminate\Http\Response;
use Illuminate\Routing\Router;
use Orchestra\Testbench\TestCase;
use Illuminate\Foundation\Auth\User;
use YlsIdeas\SubscribableNotifications\Subscriber;
use YlsIdeas\SubscribableNotifications\SubscribableServiceProvider;
use YlsIdeas\SubscribableNotifications\Subscriber;

/**
* Class SubscriberTest.
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/DummyNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace YlsIdeas\SubscribableNotifications\Tests\Support;

use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;

class DummyNotification extends Notification
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/DummyNotificationWithMailingList.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace YlsIdeas\SubscribableNotifications\Tests\Support;

use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use YlsIdeas\SubscribableNotifications\Contracts\AppliesToMailingList;
use YlsIdeas\SubscribableNotifications\Contracts\CheckNotifiableSubscriptionStatus;

Expand Down
2 changes: 1 addition & 1 deletion tests/Support/DummyNotificationWithQueuing.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;

class DummyNotificationWithQueuing extends Notification implements ShouldQueue
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/DummyUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace YlsIdeas\SubscribableNotifications\Tests\Support;

use Illuminate\Foundation\Auth\User as BaseUser;
use YlsIdeas\SubscribableNotifications\MailSubscriber;
use YlsIdeas\SubscribableNotifications\Contracts\CanUnsubscribe;
use YlsIdeas\SubscribableNotifications\Contracts\CheckSubscriptionStatusBeforeSendingNotifications;
use YlsIdeas\SubscribableNotifications\MailSubscriber;

class DummyUser extends BaseUser implements CanUnsubscribe, CheckSubscriptionStatusBeforeSendingNotifications
{
Expand Down

0 comments on commit fd84117

Please sign in to comment.