Passed
Push — master ( ed297f...604ea4 )
by Giuliano
04:39
created
src/Entities/Structure.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,12 +37,12 @@
 block discarded – undo
37 37
         return $this->dir()->public($this->dist, $this->theme);        
38 38
     }
39 39
 
40
-     /**
41
-      * Retorna o caminho do diretório onde são armazenados
42
-      * os arquivos de assets (js/css/imgs)
43
-      *
44
-      * @return string
45
-      */
40
+        /**
41
+         * Retorna o caminho do diretório onde são armazenados
42
+         * os arquivos de assets (js/css/imgs)
43
+         *
44
+         * @return string
45
+         */
46 46
     public function assets() : string 
47 47
     {        
48 48
         return $this->dir()->assets($this->dist, $this->theme);
Please login to merge, or discard this patch.
tests/Feature/Console/MakeThemeCommandTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $this->artisan($cmd)->assertExitCode(0);
38 38
 
39 39
         $this->artisan($cmd)
40
-             ->expectsOutput($out)
41
-             ->assertExitCode(ThemeExistsException::CODE);
40
+                ->expectsOutput($out)
41
+                ->assertExitCode(ThemeExistsException::CODE);
42 42
     }
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Feature/Console/InitThemeCommandTest.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function testWizardPassesAllQuests()
20 20
     {
21
-          $theme  = 'bands/jethro-tull';
22
-          $author = 'Ian Anderson <ian@jethro tull.com>';
23
-          $descr  = 'Aqualung, my friend';
21
+            $theme  = 'bands/jethro-tull';
22
+            $author = 'Ian Anderson <ian@jethro tull.com>';
23
+            $descr  = 'Aqualung, my friend';
24 24
 
25
-          $this->assertSuccessfulWizard($theme, $author, $descr);
25
+            $this->assertSuccessfulWizard($theme, $author, $descr);
26 26
     }
27 27
 
28 28
     /**
@@ -59,12 +59,12 @@  discard block
 block discarded – undo
59 59
         $output = sprintf('Theme [%s] created successful.', $theme);
60 60
 
61 61
         $this->artisan('samurai:init')
62
-             ->expectsQuestion($quests->theme->ask, $theme)
63
-             ->expectsQuestion($quests->author->ask, $author)
64
-             ->expectsQuestion($quests->desc->ask, $desc)
65
-             ->expectsConfirmation($confirm->ask, 'yes')
66
-             ->expectsOutput($output)
67
-             ->assertExitCode(0);
62
+                ->expectsQuestion($quests->theme->ask, $theme)
63
+                ->expectsQuestion($quests->author->ask, $author)
64
+                ->expectsQuestion($quests->desc->ask, $desc)
65
+                ->expectsConfirmation($confirm->ask, 'yes')
66
+                ->expectsOutput($output)
67
+                ->assertExitCode(0);
68 68
     }
69 69
 
70 70
     /**
@@ -102,10 +102,10 @@  discard block
 block discarded – undo
102 102
         $message = sprintf('Error to create theme: %s', $error);
103 103
 
104 104
         $this->artisan('samurai:init')
105
-             ->expectsQuestion($quests->theme->ask, $theme)
106
-             ->expectsQuestion($quests->author->ask, $author)
107
-             ->expectsQuestion($quests->desc->ask, $desc)
108
-             ->expectsConfirmation($confirm->ask, 'yes')
109
-             ->expectsOutput($message);
105
+                ->expectsQuestion($quests->theme->ask, $theme)
106
+                ->expectsQuestion($quests->author->ask, $author)
107
+                ->expectsQuestion($quests->desc->ask, $desc)
108
+                ->expectsConfirmation($confirm->ask, 'yes')
109
+                ->expectsOutput($message);
110 110
     }
111 111
 }
112 112
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Feature/Console/MakeComponentCommandTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $msg = sprintf($error, $name, $theme);
49 49
 
50 50
         $this->artisan($cmd)
51
-             ->assertExitCode(0);
51
+                ->assertExitCode(0);
52 52
 
53 53
         $this->artisan($cmd)
54
-             ->expectsOutput($msg)
55
-             ->assertExitCode(DirectiveExistsException::CODE);
54
+                ->expectsOutput($msg)
55
+                ->assertExitCode(DirectiveExistsException::CODE);
56 56
 
57 57
     }
58 58
 
Please login to merge, or discard this patch.
tests/Feature/Console/UseThemeCommandTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.
tests/Unit/Foundation/EnvHandler/GetEnvVariableTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-      * Verifica se é possível tentar recuperar uma chave, passando 
57
+     * Verifica se é possível tentar recuperar uma chave, passando 
58 58
      * tipos diferentes de string
59 59
      * Por padrão, deve emitir um ErrorException
60 60
      *
Please login to merge, or discard this patch.
src/Entities/Theme.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -278,10 +278,10 @@
 block discarded – undo
278 278
     private function init(string $package) : Theme
279 279
     {
280 280
         $this->setVendor($package)
281
-             ->setDirectiveFinder()
282
-             ->setComposer()
283
-             ->setStructure()
284
-             ->setPublisher();
281
+                ->setDirectiveFinder()
282
+                ->setComposer()
283
+                ->setStructure()
284
+                ->setPublisher();
285 285
 
286 286
         if ($this->exists()) {
287 287
             return $this->import();
Please login to merge, or discard this patch.