File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" : {
14
- "illuminate/console" : " ^ 5.7" ,
15
- "illuminate/support" : " ^ 5.7" ,
16
- "illuminate/filesystem" : " ^ 5.7"
14
+ "illuminate/console" : " 5.7.*|5.8.*|^6.0 " ,
15
+ "illuminate/support" : " 5.7.*|5.8.*|^6.0 " ,
16
+ "illuminate/filesystem" : " 5.7.*|5.8.*|^6.0 "
17
17
},
18
18
"autoload" : {
19
19
"psr-4" : {
Original file line number Diff line number Diff line change @@ -6,30 +6,30 @@ abstract class TestCase extends Orchestra\Testbench\TestCase
6
6
{
7
7
protected $ consoleOutput ;
8
8
9
- protected function getPackageProviders ($ app )
10
- {
11
- return [\Hariadi \Boilerplate \GeneratorCommandServiceProvider::class];
12
- }
13
-
14
- protected function getEnvironmentSetUp ($ app )
15
- {
16
- $ app ['config ' ]->set ('generator.path ' , __DIR__ .'/temp ' );
17
- }
18
-
19
- public function setUp ()
9
+ public function setUp (): void
20
10
{
21
11
parent ::setUp ();
22
12
exec ('rm -rf ' .__DIR__ .'/temp/* ' );
23
13
}
24
14
25
- public function tearDown ()
15
+ public function tearDown (): void
26
16
{
27
17
exec ('rm -rf ' .__DIR__ .'/temp/* ' );
28
18
parent ::tearDown ();
29
19
30
20
$ this ->consoleOutput = '' ;
31
21
}
32
22
23
+ protected function getPackageProviders ($ app )
24
+ {
25
+ return [\Hariadi \Boilerplate \GeneratorCommandServiceProvider::class];
26
+ }
27
+
28
+ protected function getEnvironmentSetUp ($ app )
29
+ {
30
+ $ app ['config ' ]->set ('generator.path ' , __DIR__ .'/temp ' );
31
+ }
32
+
33
33
public function resolveApplicationConsoleKernel ($ app )
34
34
{
35
35
$ app ->singleton ('artisan ' , function ($ app ) {
You can’t perform that action at this time.
0 commit comments