@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | $coreOptions = $app->getServiceManager()->get('Core/Options'); |
151 | 151 | |
152 | 152 | foreach ($installed as $moduleName) { |
153 | - $className = $moduleName . '\\Module'; |
|
153 | + $className = $moduleName.'\\Module'; |
|
154 | 154 | if (class_exists($className, true)) { |
155 | 155 | $modules[] = new $className; |
156 | 156 | } |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $this->addModules($package, static::ADD_TYPE_REMOVE); |
180 | 180 | } |
181 | 181 | |
182 | - public function addModules(PackageInterface $package, $scanType='install') |
|
182 | + public function addModules(PackageInterface $package, $scanType = 'install') |
|
183 | 183 | { |
184 | 184 | $type = $package->getType(); |
185 | 185 | $extras = $package->getExtra(); |
@@ -188,14 +188,14 @@ discard block |
||
188 | 188 | // we skip undefined zf module definition |
189 | 189 | if (isset($extras['zf']['module'])) { |
190 | 190 | // we register module class name |
191 | - $moduleName = $extras['zf']['module']; |
|
191 | + $moduleName = $extras['zf']['module']; |
|
192 | 192 | if (self::ADD_TYPE_REMOVE == $scanType) { |
193 | 193 | $this->uninstalled[] = $moduleName; |
194 | 194 | } else { |
195 | 195 | $this->installed[] = $moduleName; |
196 | 196 | } |
197 | 197 | } else { |
198 | - $this->output->write('[warning] No module definition for: ' . $package->getName()); |
|
198 | + $this->output->write('[warning] No module definition for: '.$package->getName()); |
|
199 | 199 | } |
200 | 200 | } |
201 | 201 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | $rows = []; |
91 | 91 | $exitCode = 0; |
92 | 92 | $copyUsed = false; |
93 | - $expectedMethod = is_null($expectedMethod) ? self::METHOD_RELATIVE_SYMLINK:$expectedMethod; |
|
93 | + $expectedMethod = is_null($expectedMethod) ? self::METHOD_RELATIVE_SYMLINK : $expectedMethod; |
|
94 | 94 | |
95 | 95 | foreach ($modules as $name => $originDir) { |
96 | 96 | $targetDir = $publicDir.DIRECTORY_SEPARATOR.$name; |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $modDirLists = $module->getDirectoryPermissionLists(); |
55 | 55 | $modFileLists = $module->getFilePermissionLists(); |
56 | 56 | if (is_array($modDirLists)) { |
57 | - $directories = array_merge($directories, $modDirLists); |
|
57 | + $directories = array_merge($directories, $modDirLists); |
|
58 | 58 | } else { |
59 | 59 | $this->logError(sprintf( |
60 | 60 | '<comment>%s::getDirectoryPermissionList()</comment> should return an array.', |
@@ -45,7 +45,7 @@ |
||
45 | 45 | |
46 | 46 | public function setOutputFromComposerIO(IOInterface $output) |
47 | 47 | { |
48 | - $level = OutputInterface::VERBOSITY_NORMAL; |
|
48 | + $level = OutputInterface::VERBOSITY_NORMAL; |
|
49 | 49 | |
50 | 50 | if ($output->isVeryVerbose() || $output->isDebug()) { |
51 | 51 | $level = OutputInterface::VERBOSITY_VERY_VERBOSE; |