@@ -443,6 +443,9 @@ discard block |
||
443 | 443 | } |
444 | 444 | |
445 | 445 | |
446 | + /** |
|
447 | + * @param string[] $what |
|
448 | + */ |
|
446 | 449 | protected function closeChangelogs($what, $version) |
447 | 450 | { |
448 | 451 | $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/')); |
@@ -470,6 +473,9 @@ discard block |
||
470 | 473 | } |
471 | 474 | } |
472 | 475 | |
476 | + /** |
|
477 | + * @param string[] $what |
|
478 | + */ |
|
473 | 479 | protected function resortChangelogs($what, $version) |
474 | 480 | { |
475 | 481 | foreach($this->getChangelogs($what) as $file) { |
@@ -604,6 +610,9 @@ discard block |
||
604 | 610 | $frameworkPath . '/BaseYii.php'); |
605 | 611 | } |
606 | 612 | |
613 | + /** |
|
614 | + * @param string $pattern |
|
615 | + */ |
|
607 | 616 | protected function sed($pattern, $replace, $files) |
608 | 617 | { |
609 | 618 | foreach((array) $files as $file) { |
@@ -634,6 +643,9 @@ discard block |
||
634 | 643 | const MINOR = 'minor'; |
635 | 644 | const PATCH = 'patch'; |
636 | 645 | |
646 | + /** |
|
647 | + * @param string $type |
|
648 | + */ |
|
637 | 649 | protected function getNextVersions(array $versions, $type) |
638 | 650 | { |
639 | 651 | foreach($versions as $k => $v) { |