@@ -65,9 +65,9 @@ discard block |
||
65 | 65 | */ |
66 | 66 | private $assetsInstaller; |
67 | 67 | |
68 | - public function __construct($projectPath=null) |
|
68 | + public function __construct($projectPath = null) |
|
69 | 69 | { |
70 | - $this->projectPath = is_null($projectPath) ? getcwd():$projectPath; |
|
70 | + $this->projectPath = is_null($projectPath) ? getcwd() : $projectPath; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | public function activate(Composer $composer, IOInterface $io) |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | return $this->assetsInstaller; |
156 | 156 | } |
157 | 157 | |
158 | - private function scanModules(PackageInterface $package, $scanType='install') |
|
158 | + private function scanModules(PackageInterface $package, $scanType = 'install') |
|
159 | 159 | { |
160 | 160 | $installer = $this->composer->getInstallationManager(); |
161 | 161 | $packagePath = $installer->getInstallPath($package); |
@@ -167,14 +167,14 @@ discard block |
||
167 | 167 | // we skip undefined zf module definition |
168 | 168 | if (isset($extras['zf']['module'])) { |
169 | 169 | // we register module class name |
170 | - $moduleName = $extras['zf']['module']; |
|
170 | + $moduleName = $extras['zf']['module']; |
|
171 | 171 | if (self::SCAN_TYPE_INSTALL == $scanType) { |
172 | 172 | $this->installed[$moduleName] = realpath($publicDir); |
173 | 173 | } else { |
174 | 174 | $this->uninstalled[] = $moduleName; |
175 | 175 | } |
176 | 176 | } else { |
177 | - $this->output->write('[warning] No module definition for: ' . $package->getName()); |
|
177 | + $this->output->write('[warning] No module definition for: '.$package->getName()); |
|
178 | 178 | } |
179 | 179 | } |
180 | 180 | } |