Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Sakovich authored and StyleCIBot committed Nov 9, 2019
1 parent 557d4d5 commit 06717f2
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 35 deletions.
6 changes: 3 additions & 3 deletions src/FlashMessage/FlashMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Coderello\Laraflash\FlashMessage;

use ArrayAccess;
use JsonSerializable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use Coderello\Laraflash\Exceptions\InvalidDelayException;
use Coderello\Laraflash\Exceptions\InvalidHopsAmountException;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use JsonSerializable;

class FlashMessage implements ArrayAccess, Arrayable, Jsonable, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/FlashMessage/ViewFlashMessageRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Coderello\Laraflash\FlashMessage;

use Illuminate\Contracts\View\Factory as ViewFactory;
use Coderello\Laraflash\Exceptions\SkinNotFoundException;
use Illuminate\Contracts\Config\Repository as ConfigRepository;
use Illuminate\Contracts\View\Factory as ViewFactory;

class ViewFlashMessageRenderer implements FlashMessageRendererContract
{
Expand Down
12 changes: 6 additions & 6 deletions src/Laraflash/Laraflash.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace Coderello\Laraflash\Laraflash;

use ArrayAccess;
use JsonSerializable;
use BadMethodCallException;
use Illuminate\Support\Collection;
use Coderello\Laraflash\FlashMessage\FlashMessage;
use Coderello\Laraflash\FlashMessage\FlashMessageFactoryContract;
use Coderello\Laraflash\MessagesStorage\MessagesStorageContract;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Renderable;
use Coderello\Laraflash\FlashMessage\FlashMessage;
use Coderello\Laraflash\MessagesStorage\MessagesStorageContract;
use Coderello\Laraflash\FlashMessage\FlashMessageFactoryContract;
use Illuminate\Support\Collection;
use JsonSerializable;

class Laraflash implements ArrayAccess, Arrayable, Jsonable, JsonSerializable, Renderable, Htmlable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Laraflash/LaraflashRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Coderello\Laraflash\Laraflash;

use Coderello\Laraflash\FlashMessage\FlashMessage;
use Illuminate\Contracts\Config\Repository as ConfigRepository;
use Coderello\Laraflash\FlashMessage\FlashMessageRendererContract as FlashMessageRenderer;
use Illuminate\Contracts\Config\Repository as ConfigRepository;

class LaraflashRenderer implements LaraflashRendererContract
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/HandleLaraflash.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Coderello\Laraflash\Middleware;

use Closure;
use Illuminate\Container\Container;
use Coderello\Laraflash\Laraflash\LaraflashPreparerContract;
use Illuminate\Container\Container;

class HandleLaraflash
{
Expand Down
16 changes: 8 additions & 8 deletions src/Providers/LaraflashServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

namespace Coderello\Laraflash\Providers;

use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider;
use Coderello\Laraflash\FlashMessage\FlashMessageFactory;
use Coderello\Laraflash\FlashMessage\FlashMessageFactoryContract;
use Coderello\Laraflash\FlashMessage\FlashMessageRendererContract;
use Coderello\Laraflash\FlashMessage\ViewFlashMessageRenderer;
use Coderello\Laraflash\Laraflash\Laraflash;
use Coderello\Laraflash\Laraflash\LaraflashPreparer;
use Coderello\Laraflash\Laraflash\LaraflashRenderer;
use Coderello\Laraflash\FlashMessage\FlashMessageFactory;
use Coderello\Laraflash\Laraflash\LaraflashPreparerContract;
use Coderello\Laraflash\Laraflash\LaraflashRenderer;
use Coderello\Laraflash\Laraflash\LaraflashRendererContract;
use Coderello\Laraflash\FlashMessage\ViewFlashMessageRenderer;
use Coderello\Laraflash\MessagesStorage\MessagesStorageContract;
use Coderello\Laraflash\MessagesStorage\MessagesStorageManager;
use Coderello\Laraflash\MessagesStorage\SessionMessagesStorage;
use Coderello\Laraflash\MessagesStorage\MessagesStorageContract;
use Coderello\Laraflash\FlashMessage\FlashMessageFactoryContract;
use Coderello\Laraflash\FlashMessage\FlashMessageRendererContract;
use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider;

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

namespace Coderello\Laraflash\Tests;

use Orchestra\Testbench\TestCase as OrchestraTestCase;
use Coderello\Laraflash\Providers\LaraflashServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

abstract class AbstractTestCase extends OrchestraTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ArrayMessagesStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Coderello\Laraflash\Tests;

use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Coderello\Laraflash\MessagesStorage\ArrayMessagesStorage;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;

class ArrayMessagesStorageTest extends AbstractTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/FlashMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Coderello\Laraflash\Tests;

use Illuminate\Support\Arr;
use Coderello\Laraflash\FlashMessage\FlashMessage;
use Coderello\Laraflash\Exceptions\InvalidDelayException;
use Coderello\Laraflash\Exceptions\InvalidHopsAmountException;
use Coderello\Laraflash\FlashMessage\FlashMessage;
use Illuminate\Support\Arr;

class FlashMessageTest extends AbstractTestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/LaraflashPreparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Coderello\Laraflash\Tests;

use Illuminate\Support\Facades\Request;
use Coderello\Laraflash\Laraflash\Laraflash;
use Coderello\Laraflash\Laraflash\LaraflashPreparer;
use Coderello\Laraflash\Tests\Support\MessagesStorage;
use Coderello\Laraflash\Tests\Support\LaraflashRenderer;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Coderello\Laraflash\Tests\Support\LaraflashRenderer;
use Coderello\Laraflash\Tests\Support\MessagesStorage;
use Illuminate\Support\Facades\Request;

class LaraflashPreparerTest extends AbstractTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/LaraflashRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use Coderello\Laraflash\Laraflash\Laraflash;
use Coderello\Laraflash\Laraflash\LaraflashRenderer;
use Illuminate\Config\Repository as ConfigRepository;
use Coderello\Laraflash\Tests\Support\MessagesStorage;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Coderello\Laraflash\Tests\Support\FlashMessageRenderer;
use Coderello\Laraflash\Tests\Support\MessagesStorage;
use Illuminate\Config\Repository as ConfigRepository;

class LaraflashRendererTest extends AbstractTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/LaraflashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Coderello\Laraflash\Tests;

use Coderello\Laraflash\Laraflash\Laraflash;
use Coderello\Laraflash\Tests\Support\MessagesStorage;
use Coderello\Laraflash\Tests\Support\LaraflashRenderer;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Coderello\Laraflash\Tests\Support\LaraflashRenderer;
use Coderello\Laraflash\Tests\Support\MessagesStorage;

class LaraflashTest extends AbstractTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/SessionMessagesStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Coderello\Laraflash\Tests;

use Illuminate\Contracts\Session\Session;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Coderello\Laraflash\MessagesStorage\SessionMessagesStorage;
use Coderello\Laraflash\Tests\Support\FlashMessageFactory;
use Illuminate\Contracts\Session\Session;

class SessionMessagesStorageTest extends AbstractTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ViewFlashMessageRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Coderello\Laraflash\Tests;

use Coderello\Laraflash\Exceptions\SkinNotFoundException;
use Coderello\Laraflash\FlashMessage\FlashMessage;
use Coderello\Laraflash\FlashMessage\ViewFlashMessageRenderer;
use Coderello\Laraflash\Tests\Support\ViewFactory;
use Illuminate\Config\Repository as ConfigRepository;
use Coderello\Laraflash\Exceptions\SkinNotFoundException;
use Coderello\Laraflash\FlashMessage\ViewFlashMessageRenderer;

class ViewFlashMessageRendererTest extends AbstractTestCase
{
Expand Down

0 comments on commit 06717f2

Please sign in to comment.