Completed
Push — master ( 7e70c2...f499f2 )
by ANTHONIUS
03:01
created
src/LogTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function setOutputFromComposerIO(IOInterface $output)
40 40
     {
41 41
         if (!is_null($output)) {
42
-            $level   = OutputInterface::VERBOSITY_NORMAL;
42
+            $level = OutputInterface::VERBOSITY_NORMAL;
43 43
 
44 44
             if ($output->isVeryVerbose() || $output->isDebug()) {
45 45
                 $level = OutputInterface::VERBOSITY_VERY_VERBOSE;
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
      */
71 71
     private $permissionsFixer;
72 72
 
73
-    public function __construct($projectPath=null)
73
+    public function __construct($projectPath = null)
74 74
     {
75
-        $this->projectPath = is_null($projectPath) ? getcwd():$projectPath;
75
+        $this->projectPath = is_null($projectPath) ? getcwd() : $projectPath;
76 76
     }
77 77
 
78 78
     public function activate(Composer $composer, IOInterface $io)
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $this->scanModules($package, static::SCAN_TYPE_REMOVE);
174 174
     }
175 175
 
176
-    private function scanModules(PackageInterface $package, $scanType='install')
176
+    private function scanModules(PackageInterface $package, $scanType = 'install')
177 177
     {
178 178
         $installer      = $this->composer->getInstallationManager();
179 179
         $packagePath    = $installer->getInstallPath($package);
@@ -185,14 +185,14 @@  discard block
 block discarded – undo
185 185
             // we skip undefined zf module definition
186 186
             if (isset($extras['zf']['module'])) {
187 187
                 // we register module class name
188
-                $moduleName     = $extras['zf']['module'];
188
+                $moduleName = $extras['zf']['module'];
189 189
                 if (self::SCAN_TYPE_INSTALL == $scanType) {
190 190
                     $this->installed[$moduleName] = realpath($publicDir);
191 191
                 } else {
192 192
                     $this->uninstalled[] = $moduleName;
193 193
                 }
194 194
             } else {
195
-                $this->output->write('[warning] No module definition for: ' . $package->getName());
195
+                $this->output->write('[warning] No module definition for: '.$package->getName());
196 196
             }
197 197
         }
198 198
     }
Please login to merge, or discard this patch.