Test Setup Failed
Push — master ( 72bfb7...0eb46c )
by Php Easy Api
03:32
created
src/resta/Console/Source/Project/Project.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * @var $type
16 16
      */
17
-    public $type='project';
17
+    public $type = 'project';
18 18
 
19 19
     /**
20 20
      * @var array
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * @var $commandRule
33 33
      */
34
-    public $commandRule=[];
34
+    public $commandRule = [];
35 35
 
36 36
     /**
37 37
      * @method create
@@ -46,15 +46,15 @@  discard block
 block discarded – undo
46 46
         $this->directory['exceptionDir']        = app()->path()->exception();
47 47
         $this->argument['exceptionNamespace']   = app()->namespace()->exception();
48 48
 
49
-        $recursiveDefaultDirectory = explode("\\",$this->argument['project']);
49
+        $recursiveDefaultDirectory = explode("\\", $this->argument['project']);
50 50
         $this->argument['applicationName'] = pos($recursiveDefaultDirectory);
51 51
         $recursiveDefaultDirectory[] = 'V1';
52 52
         $recursiveDefaultDirectoryList = [];
53 53
 
54
-        foreach (array_slice($recursiveDefaultDirectory,1) as $defaultDirectory){
54
+        foreach (array_slice($recursiveDefaultDirectory, 1) as $defaultDirectory) {
55 55
 
56
-            $recursiveDefaultDirectoryList[]=$defaultDirectory;
57
-            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/",$recursiveDefaultDirectoryList);
56
+            $recursiveDefaultDirectoryList[] = $defaultDirectory;
57
+            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/", $recursiveDefaultDirectoryList);
58 58
         }
59 59
 
60 60
         //$this->directory['optionalDir'] = $this->optional();
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $this->touch['app/gitignore']               = $this->projectPath().'/.gitignore';
131 131
         $this->touch['app/composer']                = $this->projectPath().'/composer.json';
132 132
         $this->touch['test/index']                  = $this->storage().'/index.html';
133
-        $this->touch['exception/authenticate']      = $this->directory['exceptionDir'] .'/AuthenticateException.php';
133
+        $this->touch['exception/authenticate']      = $this->directory['exceptionDir'].'/AuthenticateException.php';
134 134
 
135 135
         //set project touch
136 136
         $this->file->touch($this);
Please login to merge, or discard this patch.