@@ -414,6 +414,9 @@ discard block |
||
| 414 | 414 | . sprintf('%s.phar.temp.pubkey', $this->getLocalPharFileBasename()); |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | + /** |
|
| 418 | + * @param string|null $localPharFile |
|
| 419 | + */ |
|
| 417 | 420 | protected function setLocalPharFile($localPharFile) |
| 418 | 421 | { |
| 419 | 422 | if (!is_null($localPharFile)) { |
@@ -458,6 +461,9 @@ discard block |
||
| 458 | 461 | $this->tempDirectory = $tempDirectory; |
| 459 | 462 | } |
| 460 | 463 | |
| 464 | + /** |
|
| 465 | + * @param string $phar |
|
| 466 | + */ |
|
| 461 | 467 | protected function validatePhar($phar) |
| 462 | 468 | { |
| 463 | 469 | $phar = realpath($phar); |
@@ -346,12 +346,12 @@ |
||
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | /** |
| 349 | - * Filter a list of versions to those that allow the current PHP version. |
|
| 350 | - * |
|
| 351 | - * @param string[] $versions |
|
| 352 | - * |
|
| 353 | - * @return string[] |
|
| 354 | - */ |
|
| 349 | + * Filter a list of versions to those that allow the current PHP version. |
|
| 350 | + * |
|
| 351 | + * @param string[] $versions |
|
| 352 | + * |
|
| 353 | + * @return string[] |
|
| 354 | + */ |
|
| 355 | 355 | private function filterByPhpVersion(array $versions) |
| 356 | 356 | { |
| 357 | 357 | $versionInfo = $this->getAvailableVersions(); |