Failed Conditions
Branch feature/refactoring-samurai (8cc7c1)
by Giuliano
03:47
created
tests/Unit/Entities/Vendor/VendorTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.
tests/Unit/Foundation/FilenameParser/GetInfoFromFileTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class GetInfoFromFileTest extends TestCase
10 10
 {
11 11
     public function testGetInfoFromFilename()
12
-    {        
12
+    {
13 13
         $theme  = $this->theme('bands/blind-guardian')->findOrCreate();
14 14
         $parser = new DirectiveParser($theme);
15 15
         
Please login to merge, or discard this patch.
tests/Unit/Foundation/FilenameParser/FilenameParserTestCase.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $folder = 'table/includes/';
28 28
         $name   = 'table-include.blade.php';
29
-        $file   = $folder . $name;
29
+        $file   = $folder.$name;
30 30
         
31 31
         $parser = new FilenameParser();
32 32
         $info   = $parser->filename($file);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     protected function assertFileName($info, string $name)
58
-    {        
58
+    {
59 59
         $this->assertObjectHasAttribute('name', $info);
60 60
         $this->assertEquals($info->name, $name);
61 61
     }
Please login to merge, or discard this patch.
tests/Unit/Foundation/FileNominator/FileNominatorTestCase.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @return void
18 18
      */
19 19
     public function testIncludeName()
20
-    {        
20
+    {
21 21
         $type = 'include';        
22 22
         $name = 'table';        
23 23
 
Please login to merge, or discard this patch.
tests/Unit/Foundation/ConfigKeeper/GetThemeBaseTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function testGetBasePath()
22 22
     {          
23 23
         $config = $this->getConfigKeeper();
24
-        $folder = base_path('bands/kiss') . DS;
24
+        $folder = base_path('bands/kiss').DS;
25 25
         $folder = FileSystem::folder($folder)->sanitize();
26 26
 
27 27
         $this->setThemeBase($folder);
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $this->setThemeBase(null);
44 44
 
45 45
         $config = $this->getConfigKeeper();
46
-        $default = base_path('themes') . DS;
46
+        $default = base_path('themes').DS;
47 47
         $default = FileSystem::folder($default)->sanitize();        
48 48
 
49 49
         $this->assertConfigKey($config->base(), $default);
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      * @return void
20 20
      */
21 21
     public function testGetBasePath()
22
-    {          
22
+    {
23 23
         $config = $this->getConfigKeeper();
24 24
         $folder = base_path('bands/kiss') . DS;
25 25
         $folder = FileSystem::folder($folder)->sanitize();
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @return void
40 40
      */
41 41
     public function testGetDefaultBasePath()
42
-    {        
42
+    {
43 43
         $this->setThemeBase(null);
44 44
 
45 45
         $config = $this->getConfigKeeper();
Please login to merge, or discard this patch.
tests/Unit/Foundation/EnvHandler/GetEnvVariableTest.php 3 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function testGetEnvVariableInvalid()
30 30
     {
31
-        $key = 'THEME_CURRENT_' . time();
31
+        $key = 'THEME_CURRENT_'.time();
32 32
         
33 33
         $handler = new EnvHandler();
34 34
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * @return void
44 44
      */
45 45
     public function testGeWithtNullableKey()
46
-    {   
46
+    {
47 47
         $handler = new EnvHandler();
48 48
 
49 49
         $this->expectException(\ArgumentCountError::class);
Please login to merge, or discard this patch.
tests/Unit/Foundation/EnvHandler/EnvHandlerTestCase.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @return void
28 28
      */
29 29
     public function testGetAndSetEnvVariable()
30
-    {        
30
+    {
31 31
         $key = 'THEME_CURRENT';
32 32
         $val = 'bands/kix';
33 33
         
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             'env_file'      => '.env.testing',
57 57
             'publishable'   => 'themes',
58 58
             'description'   => 'A new awsome theme is comming!',
59
-            'template_path' => __DIR__ . '/../stubs/',
59
+            'template_path' => __DIR__.'/../stubs/',
60 60
 
61 61
             'species' => [
62 62
                 'component', 'include'
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             'themes' => [
66 66
                 'files'     => 'src',
67 67
                 'assets'    => 'assets',
68
-                'folder'    => __DIR__ . '/../sandbox',
68
+                'folder'    => __DIR__.'/../sandbox',
69 69
             ],
70 70
 
71 71
             'author' => [
Please login to merge, or discard this patch.
src/Config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     'env_file'      => '.env.',
7 7
     'publishable'   => 'themes',
8 8
     'description'   => 'A new awsome theme is comming!',
9
-    'template_path' => __DIR__ . '/../../stubs/',
9
+    'template_path' => __DIR__.'/../../stubs/',
10 10
 
11 11
     'species' => [
12 12
         'component', 'include'
Please login to merge, or discard this patch.