@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * |
| 237 | 237 | * @param string $name Property name. |
| 238 | 238 | * @param string $path_or_url Path to get property from. |
| 239 | - * @param mixed $revision Revision. |
|
| 239 | + * @param integer|null $revision Revision. |
|
| 240 | 240 | * |
| 241 | 241 | * @return string |
| 242 | 242 | * @throws RepositoryCommandException When other, then missing property exception happens. |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | * |
| 320 | 320 | * @param string $path Path to a file. |
| 321 | 321 | * |
| 322 | - * @return string|boolean |
|
| 322 | + * @return string|false |
|
| 323 | 323 | * @see getProjectUrl |
| 324 | 324 | */ |
| 325 | 325 | public function getRefByPath($path) |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | namespace ConsoleHelpers\SVNBuddy\Repository\Connector; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | +use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
| 14 | 15 | use ConsoleHelpers\ConsoleKit\ConsoleIO; |
| 15 | 16 | use ConsoleHelpers\SVNBuddy\Cache\CacheManager; |
| 16 | -use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
| 17 | 17 | use ConsoleHelpers\SVNBuddy\Exception\RepositoryCommandException; |
| 18 | 18 | use ConsoleHelpers\SVNBuddy\Process\IProcessFactory; |
| 19 | 19 | use ConsoleHelpers\SVNBuddy\Repository\Parser\RevisionListParser; |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Defines parsing statistic types. |
| 81 | 81 | * |
| 82 | - * @return array |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function defineStatisticTypes() |
| 85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Defines parsing statistic types. |
| 81 | 81 | * |
| 82 | - * @return array |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function defineStatisticTypes() |
| 85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Defines parsing statistic types. |
| 81 | 81 | * |
| 82 | - * @return array |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function defineStatisticTypes() |
| 85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Defines parsing statistic types. |
| 81 | 81 | * |
| 82 | - * @return array |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function defineStatisticTypes() |
| 85 | 85 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | /** |
| 128 | 128 | * Returns available sub command names. |
| 129 | 129 | * |
| 130 | - * @return array |
|
| 130 | + * @return integer[] |
|
| 131 | 131 | */ |
| 132 | 132 | protected function getSubCommandNames() |
| 133 | 133 | { |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | /** |
| 421 | 421 | * Returns list of config settings. |
| 422 | 422 | * |
| 423 | - * @return AbstractConfigSetting[] |
|
| 423 | + * @return PathsConfigSetting[] |
|
| 424 | 424 | */ |
| 425 | 425 | public function getConfigSettings() |
| 426 | 426 | { |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | +use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
| 14 | 15 | use ConsoleHelpers\SVNBuddy\Config\AbstractConfigSetting; |
| 15 | 16 | use ConsoleHelpers\SVNBuddy\Config\PathsConfigSetting; |
| 16 | -use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
| 17 | 17 | use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; |
| 18 | 18 | use Symfony\Component\Console\Application; |
| 19 | 19 | use Symfony\Component\Console\Command\Command; |
@@ -11,18 +11,14 @@ |
||
| 11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | -use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
| 15 | 14 | use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
| 16 | 15 | use ConsoleHelpers\SVNBuddy\Process\ProcessFactory; |
| 17 | 16 | use ConsoleHelpers\SVNBuddy\Updater\Stability; |
| 18 | 17 | use ConsoleHelpers\SVNBuddy\Updater\UpdateManager; |
| 19 | 18 | use ConsoleHelpers\SVNBuddy\Updater\Updater; |
| 20 | -use ConsoleHelpers\SVNBuddy\Updater\VersionUpdateStrategy; |
|
| 21 | 19 | use Symfony\Component\Console\Input\InputInterface; |
| 22 | 20 | use Symfony\Component\Console\Input\InputOption; |
| 23 | 21 | use Symfony\Component\Console\Output\OutputInterface; |
| 24 | -use Symfony\Component\Process\PhpExecutableFinder; |
|
| 25 | -use Symfony\Component\Process\ProcessBuilder; |
|
| 26 | 22 | |
| 27 | 23 | class SelfUpdateCommand extends AbstractCommand |
| 28 | 24 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Creates new Symfony PHP process with given arguments. |
| 42 | 42 | * |
| 43 | 43 | * @param string $command Command. |
| 44 | - * @param array $arguments Arguments. |
|
| 44 | + * @param string[] $arguments Arguments. |
|
| 45 | 45 | * |
| 46 | 46 | * @return Process |
| 47 | 47 | * @throws \RuntimeException When PHP executable can't be found. |