@@ -179,6 +179,9 @@ |
||
| 179 | 179 | return new static($outputParser, $manager, $inflator, $deflator); |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | + /** |
|
| 183 | + * @param string|null $wish |
|
| 184 | + */ |
|
| 182 | 185 | private static function findABinary($wish, array $defaults, ExecutableFinder $finder) |
| 183 | 186 | { |
| 184 | 187 | $possibles = $wish ? (array) $wish : $defaults; |
@@ -100,6 +100,10 @@ |
||
| 100 | 100 | return $this->getInflatorVersion(); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | + /** |
|
| 104 | + * @param string $path |
|
| 105 | + * @param string $files |
|
| 106 | + */ |
|
| 103 | 107 | protected function doTarCreate($options, $path, $files = null, $recursive = true) |
| 104 | 108 | { |
| 105 | 109 | $files = (array) $files; |
@@ -226,6 +226,9 @@ discard block |
||
| 226 | 226 | return $this->getResource($path, \ZipArchive::CHECKCONS); |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | + /** |
|
| 230 | + * @param string $path |
|
| 231 | + */ |
|
| 229 | 232 | private function getResource($path, $mode) |
| 230 | 233 | { |
| 231 | 234 | $zip = new \ZipArchive(); |
@@ -238,6 +241,9 @@ discard block |
||
| 238 | 241 | return new ZipArchiveResource($zip); |
| 239 | 242 | } |
| 240 | 243 | |
| 244 | + /** |
|
| 245 | + * @param boolean $recursive |
|
| 246 | + */ |
|
| 241 | 247 | private function addEntries(ResourceInterface $zipResource, array $files, $recursive) |
| 242 | 248 | { |
| 243 | 249 | $stack = new \SplStack(); |