Skip to content

Commit

Permalink
Merge branch '4.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Oct 6, 2019
2 parents 8d1d845 + 374746f commit d90c7dc
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .php_cs
@@ -1,7 +1,7 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/resources')
->in(__DIR__.'/config')
->in(__DIR__.'/src')
->in(__DIR__.'/tests');

Expand All @@ -17,7 +17,7 @@ return PhpCsFixer\Config::create()
'no_extra_consecutive_blank_lines' => false,
'no_unneeded_control_parentheses' => 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
2 changes: 1 addition & 1 deletion src/Fluent/Menu.php
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Widget\Fluent;

use Orchestra\Support\Fluent;
use Orchestra\Support\Facades\Foundation;
use Orchestra\Support\Fluent;

class Menu extends Fluent
{
Expand Down
6 changes: 3 additions & 3 deletions src/Handler.php
Expand Up @@ -4,11 +4,11 @@

use Closure;
use Countable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Support\Collection;
use IteratorAggregate;
use Orchestra\Support\Nesty;
use Orchestra\Support\Fluent;
use Illuminate\Support\Collection;
use Illuminate\Contracts\Support\Jsonable;
use Orchestra\Support\Nesty;

abstract class Handler implements Countable, IteratorAggregate, Jsonable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/Menu.php
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Widget\Handlers;

use Orchestra\Widget\Handler;
use Orchestra\Widget\Fluent\Menu as Fluent;
use Orchestra\Widget\Handler;

class Menu extends Handler
{
Expand Down
2 changes: 1 addition & 1 deletion src/WidgetServiceProvider.php
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Widget;

use Orchestra\Support\Providers\ServiceProvider;
use Illuminate\Contracts\Support\DeferrableProvider;
use Orchestra\Support\Providers\ServiceProvider;

class WidgetServiceProvider extends ServiceProvider implements DeferrableProvider
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/WidgetManagerTest.php
Expand Up @@ -2,9 +2,9 @@

namespace Orchestra\Widget\Tests\Feature;

use Orchestra\Support\Fluent;
use Orchestra\Support\Collection;
use Orchestra\Support\Facades\Widget;
use Orchestra\Support\Fluent;

class WidgetManagerTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Handlers/MenuTest.php
Expand Up @@ -3,10 +3,10 @@
namespace Orchestra\Widget\Tests\Unit\Handlers;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Collection;
use Orchestra\Widget\Handlers\Menu;
use Orchestra\Widget\Fluent\Menu as Fluent;
use Orchestra\Widget\Handlers\Menu;
use PHPUnit\Framework\TestCase;

class MenuTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Handlers/PaneTest.php
Expand Up @@ -3,10 +3,10 @@
namespace Orchestra\Widget\Tests\Unit\Handlers;

use Mockery as m;
use Orchestra\Support\Fluent;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Collection;
use Orchestra\Support\Fluent;
use Orchestra\Widget\Handlers\Pane;
use PHPUnit\Framework\TestCase;

class PaneTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Handlers/PlaceholderTest.php
Expand Up @@ -3,10 +3,10 @@
namespace Orchestra\Widget\Tests\Unit\Handlers;

use Mockery as m;
use Orchestra\Support\Fluent;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Collection;
use Orchestra\Support\Fluent;
use Orchestra\Widget\Handlers\Placeholder;
use PHPUnit\Framework\TestCase;

class PlaceholderTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/WidgetServiceProviderTest.php
Expand Up @@ -2,8 +2,8 @@

namespace Orchestra\Widget\Tests\Unit;

use PHPUnit\Framework\TestCase;
use Orchestra\Widget\WidgetServiceProvider;
use PHPUnit\Framework\TestCase;

class WidgetServiceProviderTest extends TestCase
{
Expand Down

0 comments on commit d90c7dc

Please sign in to comment.