Skip to content

Commit 2df6f13

Browse files
committed
Support Laravel 6.0
1 parent e5b0e48 commit 2df6f13

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
}
1212
],
1313
"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"
1717
},
1818
"autoload": {
1919
"psr-4": {

tests/TestCase.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@ abstract class TestCase extends Orchestra\Testbench\TestCase
66
{
77
protected $consoleOutput;
88

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
2010
{
2111
parent::setUp();
2212
exec('rm -rf '.__DIR__.'/temp/*');
2313
}
2414

25-
public function tearDown()
15+
public function tearDown(): void
2616
{
2717
exec('rm -rf '.__DIR__.'/temp/*');
2818
parent::tearDown();
2919

3020
$this->consoleOutput = '';
3121
}
3222

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+
3333
public function resolveApplicationConsoleKernel($app)
3434
{
3535
$app->singleton('artisan', function ($app) {

0 commit comments

Comments
 (0)