Skip to content

Commit

Permalink
Update import order.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 13, 2019
1 parent 04af0e2 commit bc92e95
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ return PhpCsFixer\Config::create()
'no_empty_comment' => false,
'no_extra_consecutive_blank_lines' => false,
'not_operator_with_successor_space' => true,
'ordered_imports' => ['sortAlgorithm' => 'length'],
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_order' => true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class OrchestraMemoryCreateOptionsTable extends Migration
{
Expand Down
6 changes: 3 additions & 3 deletions src/DatabaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Orchestra\Memory;

use PDOException;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Contracts\Cache\Repository;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use PDOException;

abstract class DatabaseHandler extends Handler implements HandlerContract
{
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Orchestra\Memory\Handlers;

use Orchestra\Memory\Handler;
use Illuminate\Contracts\Cache\Repository;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Memory\Handler;

class Cache extends Handler implements HandlerContract
{
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/Eloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Orchestra\Memory\Handlers;

use Orchestra\Memory\DatabaseHandler;
use Illuminate\Contracts\Cache\Repository;
use Illuminate\Contracts\Container\Container;
use Orchestra\Memory\DatabaseHandler;

class Eloquent extends DatabaseHandler
{
Expand Down
4 changes: 2 additions & 2 deletions src/Handlers/Fluent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Orchestra\Memory\Handlers;

use Orchestra\Memory\DatabaseHandler;
use Illuminate\Database\DatabaseManager;
use Illuminate\Contracts\Cache\Repository;
use Illuminate\Database\DatabaseManager;
use Orchestra\Memory\DatabaseHandler;

class Fluent extends DatabaseHandler
{
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Memory\Handlers;

use Orchestra\Memory\Handler;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Memory\Handler;

class Runtime extends Handler implements HandlerContract
{
Expand Down
14 changes: 7 additions & 7 deletions src/MemoryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

namespace Orchestra\Memory;

use RuntimeException;
use Orchestra\Support\Manager;
use Illuminate\Contracts\Cache\Repository as CacheRepository;
use Illuminate\Contracts\Container\Container;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Contracts\Memory\Provider as ProviderContract;
use Orchestra\Memory\Handlers\Cache;
use Orchestra\Memory\Handlers\Eloquent;
use Orchestra\Memory\Handlers\Fluent;
use Orchestra\Memory\Handlers\Runtime;
use Orchestra\Memory\Handlers\Eloquent;
use Illuminate\Contracts\Container\Container;
use Orchestra\Support\Concerns\WithConfiguration;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Contracts\Memory\Provider as ProviderContract;
use Illuminate\Contracts\Cache\Repository as CacheRepository;
use Orchestra\Support\Manager;
use RuntimeException;

class MemoryManager extends Manager
{
Expand Down
2 changes: 1 addition & 1 deletion src/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Orchestra\Memory;

use Orchestra\Support\Concerns\DataContainer;
use Illuminate\Contracts\Encryption\Encrypter;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Contracts\Memory\Provider as ProviderContract;
use Orchestra\Support\Concerns\DataContainer;

class Provider implements ProviderContract
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/Handlers/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Orchestra\Memory\Tests\Feature\Handlers;

use Mockery as m;
use Illuminate\Support\Facades\Cache;
use Orchestra\Support\Facades\Memory;
use Mockery as m;
use Orchestra\Memory\Tests\Feature\TestCase;
use Orchestra\Support\Facades\Memory;

class CacheTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/Handlers/EloquentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Orchestra\Memory\Tests\Feature\Handlers;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Memory\Model;
use Orchestra\Support\Facades\Memory;
use Orchestra\Memory\Tests\Feature\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Support\Facades\Memory;

class EloquentTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/Handlers/FluentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Orchestra\Memory\Tests\Feature\Handlers;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
use Orchestra\Support\Facades\Memory;
use Orchestra\Memory\Tests\Feature\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Support\Facades\Memory;

class FluentTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Handlers/RuntimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Memory\Tests\Feature\Handlers;

use Orchestra\Support\Facades\Memory;
use Orchestra\Memory\Tests\Feature\TestCase;
use Orchestra\Support\Facades\Memory;

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

namespace Orchestra\Memory\Tests\Feature;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Contracts\Memory\Handler as HandlerContract;
use Orchestra\Memory\Handler;
use Orchestra\Memory\Provider;
use Orchestra\Support\Facades\Memory;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Contracts\Memory\Handler as HandlerContract;

class MemoryManagerTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Handlers/RuntimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Memory\Tests\Unit\Handlers;

use PHPUnit\Framework\TestCase;
use Orchestra\Memory\Handlers\Runtime;
use PHPUnit\Framework\TestCase;

class RuntimeTest extends TestCase
{
Expand Down

0 comments on commit bc92e95

Please sign in to comment.