@@ -93,6 +93,9 @@ discard block |
||
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 |
||
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 |
||
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']; |
@@ -61,6 +61,10 @@ |
||
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) { |
@@ -60,6 +60,10 @@ |
||
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) { |
@@ -60,6 +60,10 @@ |
||
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) { |
@@ -61,6 +61,10 @@ |
||
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) { |
@@ -60,6 +60,10 @@ |
||
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) { |
@@ -93,6 +93,9 @@ discard block |
||
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 |
||
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 |
||
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 { |
@@ -61,6 +61,10 @@ |
||
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) { |
@@ -89,6 +89,9 @@ discard block |
||
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 |
||
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 |
||
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); |