Completed
Branch master (7e70c2)
by ANTHONIUS
02:09
created
src/Plugin.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
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)
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function setAssetsInstaller(AssetsInstaller $installer)
85 85
     {
86
-        $output  = $this->output;
86
+        $output = $this->output;
87 87
         if (!is_null($output)) {
88
-            $level   = OutputInterface::VERBOSITY_NORMAL;
88
+            $level = OutputInterface::VERBOSITY_NORMAL;
89 89
 
90 90
             if ($output->isVeryVerbose() || $output->isDebug()) {
91 91
                 $level = OutputInterface::VERBOSITY_VERY_VERBOSE;
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         return $this->assetsInstaller;
157 157
     }
158 158
 
159
-    private function scanModules(PackageInterface $package, $scanType='install')
159
+    private function scanModules(PackageInterface $package, $scanType = 'install')
160 160
     {
161 161
         $installer      = $this->composer->getInstallationManager();
162 162
         $packagePath    = $installer->getInstallPath($package);
@@ -168,14 +168,14 @@  discard block
 block discarded – undo
168 168
             // we skip undefined zf module definition
169 169
             if (isset($extras['zf']['module'])) {
170 170
                 // we register module class name
171
-                $moduleName     = $extras['zf']['module'];
171
+                $moduleName = $extras['zf']['module'];
172 172
                 if (self::SCAN_TYPE_INSTALL == $scanType) {
173 173
                     $this->installed[$moduleName] = realpath($publicDir);
174 174
                 } else {
175 175
                     $this->uninstalled[] = $moduleName;
176 176
                 }
177 177
             } else {
178
-                $this->output->write('[warning] No module definition for: ' . $package->getName());
178
+                $this->output->write('[warning] No module definition for: '.$package->getName());
179 179
             }
180 180
         }
181 181
     }
Please login to merge, or discard this patch.