Test Failed
Branch feature/refactoring-samurai (e4c420)
by Giuliano
05:24
created
src/Providers/RegistersCustomDirectiveProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     protected function registerPublic()
23 23
     {             
24
-        Blade::directive('public', function ($file) : string {
24
+        Blade::directive('public', function($file) : string {
25 25
                       
26 26
             $theme = Samurai::base()->current(); 
27 27
             
Please login to merge, or discard this patch.
src/Contracts/Foundation/DirectiveParserContract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
      *
22 22
      * @return Component|Includer
23 23
      */
24
-    public function toDirective() : Component|Includer;
24
+    public function toDirective() : Component | Includer;
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Contracts/Entities/DirectiveContract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      *
58 58
      * @return Component|Includer
59 59
      */
60
-    public function create() : Component|Includer;
60
+    public function create() : Component | Includer;
61 61
 
62 62
     /**
63 63
      * Carrega a diretiva para ser utilizada dentro da aplicação Laravel,
@@ -65,5 +65,5 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @return Component|Includer
67 67
      */
68
-    public function load() : Component|Includer;
68
+    public function load() : Component | Includer;
69 69
 }
70 70
\ No newline at end of file
Please login to merge, or discard this patch.
src/Contracts/Entities/ComposerContract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
      * @param string $desc
23 23
      * @return string|Composer
24 24
      */
25
-    public function description(string $desc = null) : string|Composer;
25
+    public function description(string $desc = null) : string | Composer;
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/Contracts/Entities/ThemeContract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param string $author
29 29
      * @return Author|Theme
30 30
      */
31
-    public function author(string $author = null) : Author|Theme;
31
+    public function author(string $author = null) : Author | Theme;
32 32
 
33 33
     /**
34 34
      * Retorna o nome do tema
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * @param string $description
90 90
      * @return Theme|string
91 91
      */
92
-    public function description(string $description = null) : Theme|string;
92
+    public function description(string $description = null) : Theme | string;
93 93
 
94 94
     /**
95 95
      * Cria um novo tema dentro do projeto.
Please login to merge, or discard this patch.
src/Console/InitThemeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $author = $this->askAuthor();            
42 42
             $descr  = $this->askDescription();   
43 43
             
44
-            if (! $this->beSure($name, $author, $descr)) {
44
+            if (!$this->beSure($name, $author, $descr)) {
45 45
                 return false;
46 46
             }
47 47
             
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     {
105 105
         $answer = $this->ask($question->ask);
106 106
 
107
-        return (! $answer || empty($answer)) ? $question->default : $answer;
107
+        return (!$answer || empty($answer)) ? $question->default : $answer;
108 108
     } 
109 109
 
110 110
     /**
Please login to merge, or discard this patch.
src/Entities/Wizard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
         $preview = $theme->preview();
86 86
 
87
-        $question = 'Confirm? '. PHP_EOL . $preview;
87
+        $question = 'Confirm? ' . PHP_EOL . $preview;
88 88
 
89 89
         return $this->question($question, false);
90 90
     }
Please login to merge, or discard this patch.
src/Entities/Foundation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     protected function config() : ConfigKeeper
119 119
     {
120
-        if (! $this->config) {
120
+        if (!$this->config) {
121 121
             $this->config = new ConfigKeeper();
122 122
         }
123 123
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     protected function env() : EnvHandler
149 149
     {
150
-        if (! $this->env) {
150
+        if (!$this->env) {
151 151
             $this->env = new EnvHandler();
152 152
         }
153 153
 
Please login to merge, or discard this patch.
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.