Passed
Push — main ( 8f932e...3cebb0 )
by PRATIK
19:52 queued 15:39
created
src/Console/Commands/InstallAdmineticCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $modelTemplate = file_get_contents(__DIR__.'/../../Console/Commands/AdminStubs/MyMenu.stub');
82 82
 
83
-        if (! file_exists($path = app_path('Services'))) {
83
+        if (!file_exists($path = app_path('Services'))) {
84 84
             mkdir($path, 0777, true);
85 85
         }
86 86
 
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
         $myDashboardTemplate = file_get_contents(__DIR__.'/../../Console/Commands/AdminStubs/MyDashboard.stub');
99 99
         $myDashboardIndexTemplate = file_get_contents(__DIR__.'/../../Console/Commands/AdminStubs/DashboardIndex.stub');
100 100
 
101
-        if (! file_exists($path = app_path('Services'))) {
101
+        if (!file_exists($path = app_path('Services'))) {
102 102
             mkdir($path, 0777, true);
103 103
         }
104
-        if (! file_exists($path = resource_path('views/admin/dashboard'))) {
104
+        if (!file_exists($path = resource_path('views/admin/dashboard'))) {
105 105
             mkdir($path, 0777, true);
106 106
         }
107
-        if (! file_exists($path = resource_path('views/admin/layouts/modules/dashboard'))) {
107
+        if (!file_exists($path = resource_path('views/admin/layouts/modules/dashboard'))) {
108 108
             mkdir($path, 0777, true);
109 109
         }
110 110
         $myDashboardIndexfile = resource_path('views/admin/dashboard/index.blade.php');
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         $myHeaderTemplate = file_get_contents(__DIR__.'/../../Console/Commands/AdminStubs/HeaderView.stub');
137 137
 
138
-        if (! file_exists($path = resource_path('views/admin/layouts/components'))) {
138
+        if (!file_exists($path = resource_path('views/admin/layouts/components'))) {
139 139
             mkdir($path, 0777, true);
140 140
         }
141 141
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     {
153 153
         $myFooterTemplate = file_get_contents(__DIR__.'/../../Console/Commands/AdminStubs/FooterView.stub');
154 154
 
155
-        if (! file_exists($path = resource_path('views/admin/layouts/components'))) {
155
+        if (!file_exists($path = resource_path('views/admin/layouts/components'))) {
156 156
             mkdir($path, 0777, true);
157 157
         }
158 158
 
Please login to merge, or discard this patch.