@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | |
372 | 372 | /** |
373 | 373 | * @param array $what list of items |
374 | - * @param array $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension` |
|
374 | + * @param string[] $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension` |
|
375 | 375 | * @param bool $ensureGitClean |
376 | 376 | * @throws \yii\base\Exception |
377 | 377 | */ |
@@ -545,6 +545,10 @@ discard block |
||
545 | 545 | $this->stdout("\n"); |
546 | 546 | } |
547 | 547 | |
548 | + /** |
|
549 | + * @param string $name |
|
550 | + * @param string $path |
|
551 | + */ |
|
548 | 552 | protected function releaseApplication($name, $path, $version) |
549 | 553 | { |
550 | 554 | $this->stdout("\n"); |
@@ -645,6 +649,9 @@ discard block |
||
645 | 649 | Yii::setAlias('@app', $this->_oldAlias); |
646 | 650 | } |
647 | 651 | |
652 | + /** |
|
653 | + * @param string $name |
|
654 | + */ |
|
648 | 655 | protected function packageApplication($name, $version, $packagePath) |
649 | 656 | { |
650 | 657 | FileHelper::createDirectory($packagePath); |
@@ -807,6 +814,9 @@ discard block |
||
807 | 814 | } |
808 | 815 | } |
809 | 816 | |
817 | + /** |
|
818 | + * @param string[] $what |
|
819 | + */ |
|
810 | 820 | protected function closeChangelogs($what, $version) |
811 | 821 | { |
812 | 822 | $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/')); |
@@ -818,6 +828,9 @@ discard block |
||
818 | 828 | ); |
819 | 829 | } |
820 | 830 | |
831 | + /** |
|
832 | + * @param string[] $what |
|
833 | + */ |
|
821 | 834 | protected function openChangelogs($what, $version) |
822 | 835 | { |
823 | 836 | $headline = "\n$version under development\n"; |
@@ -983,6 +996,9 @@ discard block |
||
983 | 996 | ); |
984 | 997 | } |
985 | 998 | |
999 | + /** |
|
1000 | + * @param string $pattern |
|
1001 | + */ |
|
986 | 1002 | protected function sed($pattern, $replace, $files) |
987 | 1003 | { |
988 | 1004 | foreach ((array) $files as $file) { |
@@ -1013,6 +1029,9 @@ discard block |
||
1013 | 1029 | return $versions; |
1014 | 1030 | } |
1015 | 1031 | |
1032 | + /** |
|
1033 | + * @param string $type |
|
1034 | + */ |
|
1016 | 1035 | protected function getNextVersions(array $versions, $type) |
1017 | 1036 | { |
1018 | 1037 | foreach ($versions as $k => $v) { |