@@ -15,8 +15,8 @@ |
||
15 | 15 | $message = $this->getSuccessMessage($theme->package()); |
16 | 16 | |
17 | 17 | $this->artisan($cmd) |
18 | - ->assertExitCode(0) |
|
19 | - ->expectsOutput($message); |
|
18 | + ->assertExitCode(0) |
|
19 | + ->expectsOutput($message); |
|
20 | 20 | |
21 | 21 | $current = Samurai::base()->current(); |
22 | 22 |
@@ -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(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | $theme->make(); |
17 | 17 | |
18 | - $file = $theme->paths()->root() . '/composer.json'; |
|
18 | + $file = $theme->paths()->root().'/composer.json'; |
|
19 | 19 | |
20 | 20 | $composer = new Composer($theme); |
21 | 21 |
@@ -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'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * @return void |
15 | 15 | */ |
16 | 16 | public function testCurrentTheme() |
17 | - { |
|
17 | + { |
|
18 | 18 | $theme1 = new Theme('bands/dokken'); |
19 | 19 | $theme1->make()->use(); |
20 | 20 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | class AnyThemeTest extends TestCase |
9 | 9 | { |
10 | 10 | public function testFindAnyThemeWithinFullDir() |
11 | - { |
|
11 | + { |
|
12 | 12 | $this->theme('bands/hardline')->findOrCreate(); |
13 | 13 | |
14 | 14 | $base = new Base(); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | public function testEmptyBase() |
22 | - { |
|
22 | + { |
|
23 | 23 | $base = new Base(); |
24 | 24 | |
25 | 25 | $ret = $base->empty(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * @return void |
19 | 19 | */ |
20 | 20 | public function testAuthorProperties() |
21 | - { |
|
21 | + { |
|
22 | 22 | $signture = 'Giuliano Sampaio <[email protected]>'; |
23 | 23 | |
24 | 24 | $author = new Author(); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $public = $this->getPublishable(); |
39 | 39 | $domain = $this->registerDomain(); |
40 | 40 | |
41 | - $file = '/' . $file ?? ''; |
|
41 | + $file = '/'.$file ?? ''; |
|
42 | 42 | |
43 | 43 | return sprintf("%s/%s/%s%s", $domain, $public, $theme, $file); |
44 | 44 | } |
@@ -16,8 +16,8 @@ |
||
16 | 16 | $dist = 'maestriam'; |
17 | 17 | $name = 'samurai'; |
18 | 18 | |
19 | - $nspace = ucfirst($dist) ."/". ucfirst($name); |
|
20 | - $package = $dist ."/". $name; |
|
19 | + $nspace = ucfirst($dist)."/".ucfirst($name); |
|
20 | + $package = $dist."/".$name; |
|
21 | 21 | |
22 | 22 | $vendor = new Vendor($package); |
23 | 23 |