@@ -489,6 +489,9 @@ discard block |
||
489 | 489 | } |
490 | 490 | |
491 | 491 | |
492 | + /** |
|
493 | + * @param string[] $what |
|
494 | + */ |
|
492 | 495 | protected function closeChangelogs($what, $version) |
493 | 496 | { |
494 | 497 | $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/')); |
@@ -500,6 +503,9 @@ discard block |
||
500 | 503 | ); |
501 | 504 | } |
502 | 505 | |
506 | + /** |
|
507 | + * @param string[] $what |
|
508 | + */ |
|
503 | 509 | protected function openChangelogs($what, $version) |
504 | 510 | { |
505 | 511 | $headline = "\n$version under development\n"; |
@@ -516,6 +522,9 @@ discard block |
||
516 | 522 | } |
517 | 523 | } |
518 | 524 | |
525 | + /** |
|
526 | + * @param string[] $what |
|
527 | + */ |
|
519 | 528 | protected function resortChangelogs($what, $version) |
520 | 529 | { |
521 | 530 | foreach($this->getChangelogs($what) as $file) { |
@@ -650,6 +659,9 @@ discard block |
||
650 | 659 | $frameworkPath . '/BaseYii.php'); |
651 | 660 | } |
652 | 661 | |
662 | + /** |
|
663 | + * @param string $pattern |
|
664 | + */ |
|
653 | 665 | protected function sed($pattern, $replace, $files) |
654 | 666 | { |
655 | 667 | foreach((array) $files as $file) { |
@@ -680,6 +692,9 @@ discard block |
||
680 | 692 | const MINOR = 'minor'; |
681 | 693 | const PATCH = 'patch'; |
682 | 694 | |
695 | + /** |
|
696 | + * @param string $type |
|
697 | + */ |
|
683 | 698 | protected function getNextVersions(array $versions, $type) |
684 | 699 | { |
685 | 700 | foreach($versions as $k => $v) { |