Completed
Push — master ( ad21ea...77c158 )
by Marco
05:26
created
src/Actions/App.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
 
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Composer\IO\IOInterface $io
98
+     */
96 99
     private function addApp($io, $package_name, $app, $configuration) {
97 100
         
98 101
         $description = empty($configuration['description']) ? null : $configuration['description'];
@@ -123,6 +126,9 @@  discard block
 block discarded – undo
123 126
         
124 127
     }
125 128
     
129
+    /**
130
+     * @param \Composer\IO\IOInterface $io
131
+     */
126 132
     private function removeApp($io, $package_name, $app, $configuration) {
127 133
         
128 134
         $fs = new Filesystem();
@@ -151,6 +157,9 @@  discard block
 block discarded – undo
151 157
         
152 158
     }
153 159
     
160
+    /**
161
+     * @param \Composer\IO\IOInterface $io
162
+     */
154 163
     private function updateApp($io, $package_name, $app, $old_configuration, $new_configuration) {
155 164
         
156 165
         $description = empty($new_configuration['description']) ? null : $new_configuration['description'];
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -59,19 +59,19 @@  discard block
 block discarded – undo
59 59
 
60 60
         $update = array_intersect($old_apps, $new_apps);
61 61
         
62
-        foreach ( $uninstall as $app ) {
62
+        foreach ($uninstall as $app) {
63 63
             
64 64
             $this->removeApp($io, $package_name, $app, $initial_extra[$app]);
65 65
             
66 66
         }
67 67
         
68
-        foreach ( $install as $app ) {
68
+        foreach ($install as $app) {
69 69
             
70 70
             $this->addApp($io, $package_name, $app, $target_extra[$app]);
71 71
             
72 72
         }
73 73
         
74
-        foreach ( $update as $app ) {
74
+        foreach ($update as $app) {
75 75
             
76 76
             $this->updateApp($io, $package_name, $app, $initial_extra[$app], $target_extra[$app]);
77 77
             
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
         try {
107 107
             
108
-            if ( $assets !== null ) {
108
+            if ($assets !== null) {
109 109
             
110 110
                 $fs->rcopy($path.'/'.$assets, COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app);    
111 111
                 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
             $this->getPackageInstaller()->apps()->delete($id);
137 137
             
138
-            if ( $assets !== null ) {
138
+            if ($assets !== null) {
139 139
 
140 140
                 $fs->rmdir(COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app);
141 141
             
@@ -169,13 +169,13 @@  discard block
 block discarded – undo
169 169
             
170 170
             $this->getPackageInstaller()->apps()->update($id, $package_name, $app, $description);
171 171
 
172
-            if ( $old_assets !== null ) {
172
+            if ($old_assets !== null) {
173 173
                 
174 174
                 $fs->rmdir(COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app);
175 175
                 
176 176
             }
177 177
             
178
-            if ( $new_assets !== null ) {
178
+            if ($new_assets !== null) {
179 179
                 
180 180
                 $fs->rcopy($path.'/'.$new_assets, COMODOJO_INSTALLER_WORKING_DIRECTORY.'/'.COMODOJO_INSTALLER_APP_ASSETS.'/'.$app);
181 181
                 
Please login to merge, or discard this patch.
src/Actions/Command.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -61,6 +61,10 @@
 block discarded – undo
61 61
 
62 62
     }
63 63
 
64
+    /**
65
+     * @param \Composer\IO\IOInterface $io
66
+     * @param string $action
67
+     */
64 68
     private static function processCommand($io, $action, $package_name, $package_extra) {
65 69
 
66 70
         foreach ($package_extra as $command => $actions) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             
68 68
             try {
69 69
 
70
-                if ( !self::validateCommand($actions) ) throw new InstallerException('Skipping invalid command '.$command.' in '.$package_name);
70
+                if (!self::validateCommand($actions)) throw new InstallerException('Skipping invalid command '.$command.' in '.$package_name);
71 71
                 
72 72
                 $class = $actions["class"];
73 73
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
             
68 68
             try {
69 69
 
70
-                if ( !self::validateCommand($actions) ) throw new InstallerException('Skipping invalid command '.$command.' in '.$package_name);
70
+                if ( !self::validateCommand($actions) ) {
71
+                    throw new InstallerException('Skipping invalid command '.$command.' in '.$package_name);
72
+                }
71 73
                 
72 74
                 $class = $actions["class"];
73 75
 
Please login to merge, or discard this patch.
src/Actions/DispatcherPlugin.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@
 block discarded – undo
60 60
 
61 61
     }
62 62
 
63
+    /**
64
+     * @param \Composer\IO\IOInterface $io
65
+     * @param string $action
66
+     */
63 67
     private static function processPlugin($io, $action, $package_name, $package_extra) {
64 68
 
65 69
         foreach ($package_extra as $plugin => $configuration) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validatePlugin($configuration) ) throw new InstallerException('Skipping invalid plugin in '.$package_name);
69
+                if (!self::validatePlugin($configuration)) throw new InstallerException('Skipping invalid plugin in '.$package_name);
70 70
 
71 71
                 $plugin_name = $package_name.'-dispatcher-'.$plugin;
72 72
                 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     private static function validatePlugin($plugin) {
112 112
 
113
-        return !( empty($plugin["class"]) || empty($plugin["event"]) );
113
+        return !(empty($plugin["class"]) || empty($plugin["event"]));
114 114
 
115 115
     }
116 116
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,9 @@
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validatePlugin($configuration) ) throw new InstallerException('Skipping invalid plugin in '.$package_name);
69
+                if ( !self::validatePlugin($configuration) ) {
70
+                    throw new InstallerException('Skipping invalid plugin in '.$package_name);
71
+                }
70 72
 
71 73
                 $plugin_name = $package_name.'-dispatcher-'.$plugin;
72 74
                 
Please login to merge, or discard this patch.
src/Actions/ExtenderPlugin.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@
 block discarded – undo
60 60
 
61 61
     }
62 62
 
63
+    /**
64
+     * @param \Composer\IO\IOInterface $io
65
+     * @param string $action
66
+     */
63 67
     private static function processPlugin($io, $action, $package_name, $package_extra) {
64 68
 
65 69
         foreach ($package_extra as $plugin => $configuration) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validatePlugin($configuration) ) throw new InstallerException('Skipping invalid plugin in '.$package_name);
69
+                if (!self::validatePlugin($configuration)) throw new InstallerException('Skipping invalid plugin in '.$package_name);
70 70
 
71 71
                 $plugin_name = $package_name.'-extender-'.$plugin;
72 72
                 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     private static function validatePlugin($plugin) {
112 112
 
113
-        return !( empty($plugin["class"]) || empty($plugin["event"]) );
113
+        return !(empty($plugin["class"]) || empty($plugin["event"]));
114 114
 
115 115
     }
116 116
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,9 @@
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validatePlugin($configuration) ) throw new InstallerException('Skipping invalid plugin in '.$package_name);
69
+                if ( !self::validatePlugin($configuration) ) {
70
+                    throw new InstallerException('Skipping invalid plugin in '.$package_name);
71
+                }
70 72
 
71 73
                 $plugin_name = $package_name.'-extender-'.$plugin;
72 74
                 
Please login to merge, or discard this patch.
src/Actions/Rpc.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -61,6 +61,10 @@
 block discarded – undo
61 61
 
62 62
     }
63 63
 
64
+    /**
65
+     * @param \Composer\IO\IOInterface $io
66
+     * @param string $action
67
+     */
64 68
     private static function processRpc($io, $action, $package_name, $package_extra) {
65 69
 
66 70
         foreach ($package_extra as $rpc_method => $rpc) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
             try {
69 69
 
70
-                if ( !self::validateRpc($rpc) ) throw new InstallerException('Skipping invalid rpc service in '.$package_name);
70
+                if (!self::validateRpc($rpc)) throw new InstallerException('Skipping invalid rpc service in '.$package_name);
71 71
                 
72 72
                 $callback = $rpc['callback'];
73 73
                 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
     private static function validateRpc($rpc) {
115 115
 
116
-        return !( empty($rpc['callback']) || ( isset($rpc['signatures']) && !is_array($rpc['signatures']) ) );
116
+        return !(empty($rpc['callback']) || (isset($rpc['signatures']) && !is_array($rpc['signatures'])));
117 117
 
118 118
     }
119 119
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
 
68 68
             try {
69 69
 
70
-                if ( !self::validateRpc($rpc) ) throw new InstallerException('Skipping invalid rpc service in '.$package_name);
70
+                if ( !self::validateRpc($rpc) ) {
71
+                    throw new InstallerException('Skipping invalid rpc service in '.$package_name);
72
+                }
71 73
                 
72 74
                 $callback = $rpc['callback'];
73 75
                 
Please login to merge, or discard this patch.
src/Actions/Service.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@
 block discarded – undo
60 60
 
61 61
     }
62 62
 
63
+    /**
64
+     * @param \Composer\IO\IOInterface $io
65
+     * @param string $action
66
+     */
63 67
     private static function processService($io, $action, $package_name, $package_extra) {
64 68
 
65 69
         foreach ($package_extra as $service) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validateService($service) ) throw new InstallerException('Skipping invalid service in '.$package_name);
69
+                if (!self::validateService($service)) throw new InstallerException('Skipping invalid service in '.$package_name);
70 70
 
71 71
                 $route = $service["route"];
72 72
                 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     private static function validateService($service) {
110 110
 
111
-        return !( empty($service["route"]) || empty($service["type"]) || empty($service["class"]) );
111
+        return !(empty($service["route"]) || empty($service["type"]) || empty($service["class"]));
112 112
 
113 113
     }
114 114
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,9 @@
 block discarded – undo
66 66
 
67 67
             try {
68 68
 
69
-                if ( !self::validateService($service) ) throw new InstallerException('Skipping invalid service in '.$package_name);
69
+                if ( !self::validateService($service) ) {
70
+                    throw new InstallerException('Skipping invalid service in '.$package_name);
71
+                }
70 72
 
71 73
                 $route = $service["route"];
72 74
                 
Please login to merge, or discard this patch.
src/Actions/Setting.php 3 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
 
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Composer\IO\IOInterface $io
98
+     */
96 99
     private function addSetting($io, $package_name, $setting, $value) {
97 100
         
98 101
         try {
@@ -111,6 +114,9 @@  discard block
 block discarded – undo
111 114
         
112 115
     }
113 116
     
117
+    /**
118
+     * @param \Composer\IO\IOInterface $io
119
+     */
114 120
     private function removeSetting($io, $package_name, $setting, $value) {
115 121
         
116 122
         try {
@@ -131,6 +137,9 @@  discard block
 block discarded – undo
131 137
         
132 138
     }
133 139
     
140
+    /**
141
+     * @param \Composer\IO\IOInterface $io
142
+     */
134 143
     private function updateSetting($io, $package_name, $setting, $old_value, $new_value) {
135 144
         
136 145
         try {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,19 +59,19 @@  discard block
 block discarded – undo
59 59
 
60 60
         $update = array_intersect($old_settings, $new_settings);
61 61
         
62
-        foreach ( $uninstall as $setting ) {
62
+        foreach ($uninstall as $setting) {
63 63
             
64 64
             $this->removeSetting($io, $package_name, $setting, $initial_extra[$setting]);
65 65
             
66 66
         }
67 67
         
68
-        foreach ( $install as $setting ) {
68
+        foreach ($install as $setting) {
69 69
             
70 70
             $this->addSetting($io, $package_name, $setting, $target_extra[$setting]);
71 71
             
72 72
         }
73 73
         
74
-        foreach ( $update as $setting ) {
74
+        foreach ($update as $setting) {
75 75
             
76 76
             $this->updateSetting($io, $package_name, $setting, $initial_extra[$setting], $target_extra[$setting]);
77 77
             
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         
98 98
         try {
99 99
 
100
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
100
+            if (!self::validateSetting($value)) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
101 101
 
102 102
             $this->getPackageInstaller()->settings()->add($package_name, $setting, $value);
103 103
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         
116 116
         try {
117 117
 
118
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
118
+            if (!self::validateSetting($value)) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
119 119
 
120 120
             $id = $this->getPackageInstaller()->settings()->getByName($setting)->getId();
121 121
 
@@ -135,17 +135,17 @@  discard block
 block discarded – undo
135 135
         
136 136
         try {
137 137
 
138
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
138
+            if (!self::validateSetting($value)) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
139 139
 
140 140
             $old = $this->getPackageInstaller()->settings()->getByName($setting);
141 141
             
142
-            if ( $old->getValue() == $old_value ) {
142
+            if ($old->getValue() == $old_value) {
143 143
                 
144 144
                 $this->getPackageInstaller()->settings()->update($old->getId(), $package_name, $setting, $new_value);
145 145
                 
146 146
                 $io->write(" <comment>~</comment> updated setting ".$setting);
147 147
                 
148
-            } else if ( $io->askConfirmation("Replace modified setting ".$setting."?", false) === true ) {
148
+            } else if ($io->askConfirmation("Replace modified setting ".$setting."?", false) === true) {
149 149
                 
150 150
                 $this->getPackageInstaller()->settings()->update($old->getId(), $package_name, $setting, $new_value);
151 151
                 
Please login to merge, or discard this patch.
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,9 @@  discard block
 block discarded – undo
97 97
         
98 98
         try {
99 99
 
100
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
100
+            if ( !self::validateSetting($value) ) {
101
+                throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
102
+            }
101 103
 
102 104
             $this->getPackageInstaller()->settings()->add($package_name, $setting, $value);
103 105
 
@@ -115,7 +117,9 @@  discard block
 block discarded – undo
115 117
         
116 118
         try {
117 119
 
118
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
120
+            if ( !self::validateSetting($value) ) {
121
+                throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
122
+            }
119 123
 
120 124
             $id = $this->getPackageInstaller()->settings()->getByName($setting)->getId();
121 125
 
@@ -135,7 +139,9 @@  discard block
 block discarded – undo
135 139
         
136 140
         try {
137 141
 
138
-            if ( !self::validateSetting($value) ) throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
142
+            if ( !self::validateSetting($value) ) {
143
+                throw new InstallerException('Skipping invalid setting '.$setting.' in '.$package_name);
144
+            }
139 145
 
140 146
             $old = $this->getPackageInstaller()->settings()->getByName($setting);
141 147
             
Please login to merge, or discard this patch.
src/Actions/Theme.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -61,6 +61,10 @@
 block discarded – undo
61 61
 
62 62
     }
63 63
 
64
+    /**
65
+     * @param \Composer\IO\IOInterface $io
66
+     * @param string $action
67
+     */
64 68
     private function processTheme($io, $action, $package_name, $package_extra) {
65 69
 
66 70
         foreach ($package_extra as $theme => $configuration) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
             try {
69 69
 
70
-                if ( !self::validateTheme($configuration) ) throw new InstallerException('Skipping invalid theme in '.$package_name);
70
+                if (!self::validateTheme($configuration)) throw new InstallerException('Skipping invalid theme in '.$package_name);
71 71
 
72 72
                 $assets = $configuration['assets'];
73 73
                 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     private static function validateTheme($theme) {
117 117
 
118
-        return !( empty($theme['assets']) );
118
+        return !(empty($theme['assets']));
119 119
 
120 120
     }
121 121
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
 
68 68
             try {
69 69
 
70
-                if ( !self::validateTheme($configuration) ) throw new InstallerException('Skipping invalid theme in '.$package_name);
70
+                if ( !self::validateTheme($configuration) ) {
71
+                    throw new InstallerException('Skipping invalid theme in '.$package_name);
72
+                }
71 73
 
72 74
                 $assets = $configuration['assets'];
73 75
                 
Please login to merge, or discard this patch.
src/Installer.php 3 patches
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
89 89
 
90 90
     }
91 91
 
92
+    /**
93
+     * @param PackageInterface $package
94
+     */
92 95
     private function packageInstall($package) {
93 96
 
94 97
         $actions_map = Parser::parse($package);
@@ -111,6 +114,9 @@  discard block
 block discarded – undo
111 114
 
112 115
     }
113 116
 
117
+    /**
118
+     * @param PackageInterface $package
119
+     */
114 120
     private function packageUninstall($package) {
115 121
 
116 122
         $actions_map = Parser::parse($package);
@@ -133,6 +139,10 @@  discard block
 block discarded – undo
133 139
 
134 140
     }
135 141
 
142
+    /**
143
+     * @param PackageInterface $initial
144
+     * @param PackageInterface $target
145
+     */
136 146
     private function packageUpdate($initial, $target) {
137 147
 
138 148
         $initial_actions_map = Parser::parse($initial);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Composer\Installer\LibraryInstaller;
6 6
 use Composer\Package\PackageInterface;
7 7
 use Composer\Repository\InstalledRepositoryInterface;
8
-use Comodojo\Exception\InstallerException;
9 8
 use Comodojo\Installer\Properties\Parser;
10 9
 use Comodojo\Installer\Registry\SupportedTypes;
11 10
 use Comodojo\Configuration\Installer as PackageInstaller;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         foreach ($actions_map as $action_class => $extra) {
103 103
 
104
-            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_class;
104
+            $action_fqcn = 'Comodojo\\Installer\\Actions\\'.$action_class;
105 105
 
106 106
             $action = new $action_fqcn($this->composer, $this->io, $package_path, $installer);
107 107
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         foreach ($actions_map as $action_class => $extra) {
125 125
 
126
-            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_class;
126
+            $action_fqcn = 'Comodojo\\Installer\\Actions\\'.$action_class;
127 127
 
128 128
             $action = new $action_fqcn($this->composer, $this->io, $package_path, $installer);
129 129
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
         foreach ($uninstall as $action_uninstall) {
163 163
 
164
-            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_uninstall;
164
+            $action_fqcn = 'Comodojo\\Installer\\Actions\\'.$action_uninstall;
165 165
 
166 166
             $action = new $action_fqcn($this->composer, $this->io, $initial_package_path, $installer);
167 167
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
         foreach ($install as $action_install) {
173 173
 
174
-            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_install;
174
+            $action_fqcn = 'Comodojo\\Installer\\Actions\\'.$action_install;
175 175
 
176 176
             $action = new $action_fqcn($this->composer, $this->io, $target_package_path, $installer);
177 177
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 
182 182
         foreach ($update as $action_update) {
183 183
 
184
-            $action_fqcn = 'Comodojo\\Installer\\Actions\\' . $action_update;
184
+            $action_fqcn = 'Comodojo\\Installer\\Actions\\'.$action_update;
185 185
 
186 186
             $action = new $action_fqcn($this->composer, $this->io, $target_package_path, $installer);
187 187
 
Please login to merge, or discard this patch.