@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | $printer->printHeader(); |
36 | 36 | |
37 | - if (! ((new RequirementChecker($this))->check())) { |
|
37 | + if (!((new RequirementChecker($this))->check())) { |
|
38 | 38 | $this->info('Sorry unfortunately your system is not meet with our requirements !'); |
39 | 39 | $printer->printFooter(false); |
40 | 40 | $this->info('--'); |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | public function createVendorAtPublic() |
29 | 29 | { |
30 | 30 | $this->console->info('Checking public/vendor directory...'); |
31 | - if (! file_exists(public_path('vendor'))) { |
|
31 | + if (!file_exists(public_path('vendor'))) { |
|
32 | 32 | mkdir(public_path('vendor'), 0777); |
33 | 33 | } |
34 | 34 | |
35 | - if (! is_writable(public_path('vendor'))) { |
|
35 | + if (!is_writable(public_path('vendor'))) { |
|
36 | 36 | $this->console->info('Setup aborted !'); |
37 | 37 | $this->console->info('Please set public/vendor directory to writable 0777'); |
38 | 38 | exit; |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | public function symlinkForUpload() |
43 | 43 | { |
44 | 44 | $this->console->info('Checking public/uploads symlink...'); |
45 | - if (! file_exists(public_path('uploads'))) { |
|
45 | + if (!file_exists(public_path('uploads'))) { |
|
46 | 46 | $this->console->info('Creating public/uploads symlink...'); |
47 | 47 | app('files')->link(storage_path('app'), public_path('uploads')); |
48 | 48 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | private function rrmdir($dir) |
61 | 61 | { |
62 | - if (! is_dir($dir)) { |
|
62 | + if (!is_dir($dir)) { |
|
63 | 63 | return; |
64 | 64 | } |
65 | 65 | foreach (scandir($dir) as $object) { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | $vendorPath = public_path('vendor'.DIRECTORY_SEPARATOR.'crudbooster'); |
86 | 86 | |
87 | - if (! file_exists($vendorPath)) { |
|
87 | + if (!file_exists($vendorPath)) { |
|
88 | 88 | $this->console->info('Creating public/vendor/crudbooster symlink...'); |
89 | 89 | app('files')->link(__DIR__.'/../assets', public_path('vendor/crudbooster')); |
90 | 90 | |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $this->console->info('Migrating database...'); |
117 | 117 | $this->console->call('migrate', ['--path' => '\database\migrations\crudbooster']); |
118 | 118 | |
119 | - if (! class_exists('CBSeeder')) { |
|
119 | + if (!class_exists('CBSeeder')) { |
|
120 | 120 | require_once __DIR__.'/../database/seeds/CBSeeder.php'; |
121 | 121 | } |
122 | 122 | $this->console->callSilent('db:seed', ['--class' => 'CBSeeder']); |