Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
Signed-off-by: Lloric Mayuga Garcia <[email protected]>
  • Loading branch information
lloricode committed Feb 25, 2018
1 parent fecbd31 commit 3241d6e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"require-dev": {
"orchestra/testbench": "~3.3.0|~3.4.2|^3.5.0",
"phpunit/phpunit" : "^5.7|6.2|^7.0"
"phpunit/phpunit" : "^5.7|6.2|^7.0",
"mmoreram/php-formatter": "dev-master"
},
"autoload": {
"psr-4": {
Expand All @@ -37,6 +38,10 @@
}
},
"scripts": {
"test": "./vendor/bin/phpunit"
"test": "./vendor/bin/phpunit",
"format": [
"./vendor/bin/php-formatter formatter:use:sort src/ --sort-type=\"alph\"",
"./vendor/bin/php-formatter formatter:use:sort tests/ --sort-type=\"alph\""
]
}
}
1 change: 0 additions & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Lloricode\LaravelHtmlTable;


use Illuminate\Database\Eloquent\Model;

class Generator
Expand Down
5 changes: 2 additions & 3 deletions tests/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

namespace Lloricode\LaravelHtmlTable\Tests\Models;


use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;

class User extends Model implements AuthorizableContract, AuthenticatableContract
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Lloricode\LaravelHtmlTable\Tests;

use Orchestra\Testbench\TestCase as Orchestra;
use Illuminate\Database\Schema\Blueprint;
use Lloricode\LaravelHtmlTable\Tests\Models\User;
use Orchestra\Testbench\TestCase as Orchestra;

class TestCase extends Orchestra
{
Expand Down

0 comments on commit 3241d6e

Please sign in to comment.