@@ -80,12 +80,12 @@ discard block |
||
80 | 80 | $fixer = new PermissionsFixer(); |
81 | 81 | |
82 | 82 | // activate events |
83 | - $eventManager->attach(self::YAWIK_PRE_CONFIGURE_EVENT, [ $assets, 'onPreConfigureEvent']); |
|
84 | - $eventManager->attach(self::YAWIK_PRE_CONFIGURE_EVENT, [ $fixer, 'onPreConfigureEvent']); |
|
83 | + $eventManager->attach(self::YAWIK_PRE_CONFIGURE_EVENT, [$assets, 'onPreConfigureEvent']); |
|
84 | + $eventManager->attach(self::YAWIK_PRE_CONFIGURE_EVENT, [$fixer, 'onPreConfigureEvent']); |
|
85 | 85 | |
86 | 86 | // configure events |
87 | - $eventManager->attach(self::YAWIK_CONFIGURE_EVENT, [$assets,'onConfigureEvent']); |
|
88 | - $eventManager->attach(self::YAWIK_CONFIGURE_EVENT, [$fixer,'onConfigureEvent']); |
|
87 | + $eventManager->attach(self::YAWIK_CONFIGURE_EVENT, [$assets, 'onConfigureEvent']); |
|
88 | + $eventManager->attach(self::YAWIK_CONFIGURE_EVENT, [$fixer, 'onConfigureEvent']); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | public function activate(Composer $composer, IOInterface $io) |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $coreOptions = $app->getServiceManager()->get('Core/Options'); |
161 | 161 | |
162 | 162 | foreach ($installed as $moduleName) { |
163 | - $className = $moduleName . '\\Module'; |
|
163 | + $className = $moduleName.'\\Module'; |
|
164 | 164 | if (class_exists($className, true)) { |
165 | 165 | $modules[] = new $className; |
166 | 166 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $this->addModules($package, static::ADD_TYPE_REMOVE); |
189 | 189 | } |
190 | 190 | |
191 | - public function addModules(PackageInterface $package, $scanType='install') |
|
191 | + public function addModules(PackageInterface $package, $scanType = 'install') |
|
192 | 192 | { |
193 | 193 | $type = $package->getType(); |
194 | 194 | $extras = $package->getExtra(); |
@@ -197,14 +197,14 @@ discard block |
||
197 | 197 | // we skip undefined zf module definition |
198 | 198 | if (isset($extras['zf']['module'])) { |
199 | 199 | // we register module class name |
200 | - $moduleName = $extras['zf']['module']; |
|
200 | + $moduleName = $extras['zf']['module']; |
|
201 | 201 | if (self::ADD_TYPE_REMOVE == $scanType) { |
202 | 202 | $this->uninstalled[] = $moduleName; |
203 | 203 | } else { |
204 | 204 | $this->installed[] = $moduleName; |
205 | 205 | } |
206 | 206 | } else { |
207 | - $this->output->write('[warning] No module definition for: ' . $package->getName()); |
|
207 | + $this->output->write('[warning] No module definition for: '.$package->getName()); |
|
208 | 208 | } |
209 | 209 | } |
210 | 210 | } |