Completed
Branch master (7a7471)
by ANTHONIUS
05:27
created
src/Plugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         $coreOptions      = $app->getServiceManager()->get('Core/Options');
151 151
 
152 152
         foreach ($installed as $moduleName) {
153
-            $className = $moduleName . '\\Module';
153
+            $className = $moduleName.'\\Module';
154 154
             if (class_exists($className, true)) {
155 155
                 $modules[] = new $className;
156 156
             }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         $this->addModules($package, static::ADD_TYPE_REMOVE);
180 180
     }
181 181
 
182
-    public function addModules(PackageInterface $package, $scanType='install')
182
+    public function addModules(PackageInterface $package, $scanType = 'install')
183 183
     {
184 184
         $type           = $package->getType();
185 185
         $extras         = $package->getExtra();
@@ -188,14 +188,14 @@  discard block
 block discarded – undo
188 188
             // we skip undefined zf module definition
189 189
             if (isset($extras['zf']['module'])) {
190 190
                 // we register module class name
191
-                $moduleName     = $extras['zf']['module'];
191
+                $moduleName = $extras['zf']['module'];
192 192
                 if (self::ADD_TYPE_REMOVE == $scanType) {
193 193
                     $this->uninstalled[] = $moduleName;
194 194
                 } else {
195 195
                     $this->installed[]   = $moduleName;
196 196
                 }
197 197
             } else {
198
-                $this->output->write('[warning] No module definition for: ' . $package->getName());
198
+                $this->output->write('[warning] No module definition for: '.$package->getName());
199 199
             }
200 200
         }
201 201
     }
Please login to merge, or discard this patch.
src/AssetsInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $rows           = [];
91 91
         $exitCode       = 0;
92 92
         $copyUsed       = false;
93
-        $expectedMethod = is_null($expectedMethod) ? self::METHOD_RELATIVE_SYMLINK:$expectedMethod;
93
+        $expectedMethod = is_null($expectedMethod) ? self::METHOD_RELATIVE_SYMLINK : $expectedMethod;
94 94
 
95 95
         foreach ($modules as $name => $originDir) {
96 96
             $targetDir = $publicDir.DIRECTORY_SEPARATOR.$name;
Please login to merge, or discard this patch.
src/PermissionsFixer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 $modDirLists    = $module->getDirectoryPermissionLists();
55 55
                 $modFileLists   = $module->getFilePermissionLists();
56 56
                 if (is_array($modDirLists)) {
57
-                    $directories    = array_merge($directories, $modDirLists);
57
+                    $directories = array_merge($directories, $modDirLists);
58 58
                 } else {
59 59
                     $this->logError(sprintf(
60 60
                         '<comment>%s::getDirectoryPermissionList()</comment> should return an array.',
Please login to merge, or discard this patch.
src/LogTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     public function setOutputFromComposerIO(IOInterface $output)
47 47
     {
48
-        $level   = OutputInterface::VERBOSITY_NORMAL;
48
+        $level = OutputInterface::VERBOSITY_NORMAL;
49 49
 
50 50
         if ($output->isVeryVerbose() || $output->isDebug()) {
51 51
             $level = OutputInterface::VERBOSITY_VERY_VERBOSE;
Please login to merge, or discard this patch.