@@ -17,7 +17,9 @@ |
||
17 | 17 | $type = $this->parseType($file); |
18 | 18 | $name = $this->parseFullName($file); |
19 | 19 | |
20 | - if (! $name || ! $type) return null; |
|
20 | + if (! $name || ! $type) { |
|
21 | + return null; |
|
22 | + } |
|
21 | 23 | |
22 | 24 | $request = [ |
23 | 25 | 'name' => $name, |
@@ -7,7 +7,7 @@ |
||
7 | 7 | use Maestriam\Samurai\Tests\TestCase; |
8 | 8 | |
9 | 9 | class MakeThemeCommandTest extends TestCase |
10 | -{ |
|
10 | +{ |
|
11 | 11 | public function testMakeValidTheme() |
12 | 12 | { |
13 | 13 | $theme = 'bands/helloween'; |
@@ -7,7 +7,7 @@ |
||
7 | 7 | use Maestriam\Samurai\Tests\TestCase; |
8 | 8 | |
9 | 9 | class InitThemeCommandTest extends TestCase |
10 | -{ |
|
10 | +{ |
|
11 | 11 | /** |
12 | 12 | * Verifica se consegue percorrer por todas as pessoas |
13 | 13 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | use Maestriam\Samurai\Tests\TestCase; |
10 | 10 | |
11 | 11 | class MakeIncludeCommandTest extends TestCase |
12 | -{ |
|
12 | +{ |
|
13 | 13 | public function testMakeValidInclude() |
14 | 14 | { |
15 | 15 | $theme = 'bands/slayer'; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Maestriam\Samurai\Tests\TestCase; |
6 | 6 | |
7 | 7 | class RefreshProjectCommandTest extends TestCase |
8 | -{ |
|
8 | +{ |
|
9 | 9 | public function testMakeValidTheme() |
10 | 10 | { |
11 | 11 | $cmd = 'samurai:refresh'; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | use Maestriam\Samurai\Tests\TestCase; |
9 | 9 | |
10 | 10 | class MakeComponentCommandTest extends TestCase |
11 | -{ |
|
11 | +{ |
|
12 | 12 | public function testMakeValidComponent() |
13 | 13 | { |
14 | 14 | $theme = 'bands/sepultura'; |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Maestriam\Samurai\Tests\TestCase; |
7 | 7 | |
8 | 8 | class PublishThemeCommandTest extends TestCase |
9 | -{ |
|
9 | +{ |
|
10 | 10 | public function testPublishValidTheme() |
11 | 11 | { |
12 | 12 | $theme = 'bands/sodom'; |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Maestriam\Samurai\Tests\TestCase; |
7 | 7 | |
8 | 8 | class UseThemeCommandTest extends TestCase |
9 | -{ |
|
9 | +{ |
|
10 | 10 | public function testMakeValidTheme() |
11 | 11 | { |
12 | 12 | $theme = $this->theme('bands/saxon')->findOrCreate(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | public function testInitComposerWithDescription() |
21 | - { |
|
21 | + { |
|
22 | 22 | $description = 'my new theme'; |
23 | 23 | |
24 | 24 | $theme = new Theme('bands/vixen'); |