@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $this->info('Paths checked successfully'); |
62 | 62 | } |
63 | 63 | |
64 | - if (! $error && $this->addAdminUser()) { |
|
64 | + if (!$error && $this->addAdminUser()) { |
|
65 | 65 | File::put(base_path().'/_install/install.lock', 'application install locked on '.now()); |
66 | 66 | $this->info('Generating application key'); |
67 | 67 | $this->call('key:generate', ['--force' => true]); |
@@ -89,33 +89,33 @@ discard block |
||
89 | 89 | $zip_path = config('nntmux_settings.tmp_unzip_path'); |
90 | 90 | $unrar_path = config('nntmux.tmp_unrar_path'); |
91 | 91 | |
92 | - if (! File::isWritable($nzb_path)) { |
|
92 | + if (!File::isWritable($nzb_path)) { |
|
93 | 93 | $this->warn($nzb_path.' is not writable. Please fix folder permissions'); |
94 | 94 | |
95 | 95 | return false; |
96 | 96 | } |
97 | 97 | |
98 | - if (! file_exists($unrar_path)) { |
|
98 | + if (!file_exists($unrar_path)) { |
|
99 | 99 | $this->info('Creating missing '.$unrar_path.' folder'); |
100 | - if (! @File::makeDirectory($unrar_path) && ! File::isDirectory($unrar_path)) { |
|
100 | + if (!@File::makeDirectory($unrar_path) && !File::isDirectory($unrar_path)) { |
|
101 | 101 | throw new \RuntimeException('Unable to create '.$unrar_path.' folder'); |
102 | 102 | } |
103 | 103 | $this->info('Folder '.$unrar_path.' successfully created'); |
104 | 104 | } |
105 | 105 | |
106 | - if (! is_writable($unrar_path)) { |
|
106 | + if (!is_writable($unrar_path)) { |
|
107 | 107 | $this->warn($unrar_path.' is not writable. Please fix folder permissions'); |
108 | 108 | |
109 | 109 | return false; |
110 | 110 | } |
111 | 111 | |
112 | - if (! File::isWritable($covers_path)) { |
|
112 | + if (!File::isWritable($covers_path)) { |
|
113 | 113 | $this->warn($covers_path.' is not writable. Please fix folder permissions'); |
114 | 114 | |
115 | 115 | return false; |
116 | 116 | } |
117 | 117 | |
118 | - if (! File::isWritable($zip_path)) { |
|
118 | + if (!File::isWritable($zip_path)) { |
|
119 | 119 | $this->warn($zip_path.' is not writable. Please fix folder permissions'); |
120 | 120 | |
121 | 121 | return false; |