@@ -93,6 +93,10 @@ |
||
| 93 | 93 | unset($package, $downloader); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @param string $target |
|
| 98 | + * @param boolean $no_convert |
|
| 99 | + */ |
|
| 96 | 100 | public function execute($target, $no_convert) |
| 97 | 101 | { |
| 98 | 102 | $this->fetch($target); |
@@ -77,6 +77,9 @@ |
||
| 77 | 77 | $this->noConvert = $noConvert; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $path |
|
| 82 | + */ |
|
| 80 | 83 | protected function readPackage($path) |
| 81 | 84 | { |
| 82 | 85 | $jsonLoader = new Package\Util\JSON\Loader(new Package\Util\Loader()); |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
| 9 | 9 | use Humbug\SelfUpdate\Updater; |
| 10 | -use Humbug\SelfUpdate\Exception; |
|
| 11 | 10 | |
| 12 | 11 | class SelfUpdateCommand extends Command |
| 13 | 12 | { |
@@ -37,13 +37,11 @@ |
||
| 37 | 37 | namespace Pickle\Console\Command; |
| 38 | 38 | |
| 39 | 39 | use Symfony\Component\Console\Command\Command; |
| 40 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 41 | 40 | use Symfony\Component\Console\Input\InputInterface; |
| 42 | 41 | use Symfony\Component\Console\Input\InputOption; |
| 43 | 42 | use Symfony\Component\Console\Output\OutputInterface; |
| 44 | 43 | use Symfony\Component\Console\Question\ConfirmationQuestion; |
| 45 | 44 | use Symfony\Component\Console\Question\ChoiceQuestion; |
| 46 | -use Symfony\Component\Console\Question\Question; |
|
| 47 | 45 | use Symfony\Component\Console\Helper\Table; |
| 48 | 46 | use Pickle\Base\Interfaces\Package; |
| 49 | 47 | use Pickle\Base\Abstracts\Console\Command\BuildCommand; |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param string $pickleSection |
| 53 | - * @param array $dsos |
|
| 54 | 53 | * |
| 55 | 54 | * @return string |
| 56 | 55 | */ |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param string $pickleSection |
| 53 | - * @param array $dlls |
|
| 54 | 53 | * |
| 55 | 54 | * @return string |
| 56 | 55 | */ |