Skip to content

Commit 3241d6e

Browse files
committed
formatted
Signed-off-by: Lloric Mayuga Garcia <[email protected]>
1 parent fecbd31 commit 3241d6e

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"require-dev": {
1616
"orchestra/testbench": "~3.3.0|~3.4.2|^3.5.0",
17-
"phpunit/phpunit" : "^5.7|6.2|^7.0"
17+
"phpunit/phpunit" : "^5.7|6.2|^7.0",
18+
"mmoreram/php-formatter": "dev-master"
1819
},
1920
"autoload": {
2021
"psr-4": {
@@ -37,6 +38,10 @@
3738
}
3839
},
3940
"scripts": {
40-
"test": "./vendor/bin/phpunit"
41+
"test": "./vendor/bin/phpunit",
42+
"format": [
43+
"./vendor/bin/php-formatter formatter:use:sort src/ --sort-type=\"alph\"",
44+
"./vendor/bin/php-formatter formatter:use:sort tests/ --sort-type=\"alph\""
45+
]
4146
}
4247
}

src/Generator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Lloricode\LaravelHtmlTable;
44

5-
65
use Illuminate\Database\Eloquent\Model;
76

87
class Generator

tests/Models/User.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
namespace Lloricode\LaravelHtmlTable\Tests\Models;
44

5-
65
use Illuminate\Auth\Authenticatable;
6+
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
7+
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
78
use Illuminate\Database\Eloquent\Model;
89
use Illuminate\Foundation\Auth\Access\Authorizable;
9-
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
10-
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
1110

1211
class User extends Model implements AuthorizableContract, AuthenticatableContract
1312
{

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Lloricode\LaravelHtmlTable\Tests;
44

5-
use Orchestra\Testbench\TestCase as Orchestra;
65
use Illuminate\Database\Schema\Blueprint;
76
use Lloricode\LaravelHtmlTable\Tests\Models\User;
7+
use Orchestra\Testbench\TestCase as Orchestra;
88

99
class TestCase extends Orchestra
1010
{

0 commit comments

Comments
 (0)