File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 14
14
},
15
15
"require-dev" : {
16
16
"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"
18
19
},
19
20
"autoload" : {
20
21
"psr-4" : {
37
38
}
38
39
},
39
40
"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
+ ]
41
46
}
42
47
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Lloricode \LaravelHtmlTable ;
4
4
5
-
6
5
use Illuminate \Database \Eloquent \Model ;
7
6
8
7
class Generator
Original file line number Diff line number Diff line change 2
2
3
3
namespace Lloricode \LaravelHtmlTable \Tests \Models ;
4
4
5
-
6
5
use Illuminate \Auth \Authenticatable ;
6
+ use Illuminate \Contracts \Auth \Access \Authorizable as AuthorizableContract ;
7
+ use Illuminate \Contracts \Auth \Authenticatable as AuthenticatableContract ;
7
8
use Illuminate \Database \Eloquent \Model ;
8
9
use Illuminate \Foundation \Auth \Access \Authorizable ;
9
- use Illuminate \Contracts \Auth \Authenticatable as AuthenticatableContract ;
10
- use Illuminate \Contracts \Auth \Access \Authorizable as AuthorizableContract ;
11
10
12
11
class User extends Model implements AuthorizableContract, AuthenticatableContract
13
12
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Lloricode \LaravelHtmlTable \Tests ;
4
4
5
- use Orchestra \Testbench \TestCase as Orchestra ;
6
5
use Illuminate \Database \Schema \Blueprint ;
7
6
use Lloricode \LaravelHtmlTable \Tests \Models \User ;
7
+ use Orchestra \Testbench \TestCase as Orchestra ;
8
8
9
9
class TestCase extends Orchestra
10
10
{
You can’t perform that action at this time.
0 commit comments