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