Completed
Push — 2.1 ( 782246...46e68b )
by Alexander
16:29 queued 07:21
created
build/controllers/ReleaseController.php 1 patch
Doc Comments   +20 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 
366 366
     /**
367 367
      * @param array $what list of items
368
-     * @param array $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
368
+     * @param string[] $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
369 369
      * @throws \yii\base\Exception
370 370
      */
371 371
     protected function validateWhat(array $what, $limit = [], $ensureGitClean = true)
@@ -537,6 +537,10 @@  discard block
 block discarded – undo
537 537
 
538 538
     }
539 539
 
540
+    /**
541
+     * @param string $name
542
+     * @param string $path
543
+     */
540 544
     protected function releaseApplication($name, $path, $version)
541 545
     {
542 546
         $this->stdout("\n");
@@ -637,6 +641,9 @@  discard block
 block discarded – undo
637 641
         Yii::setAlias('@app', $this->_oldAlias);
638 642
     }
639 643
 
644
+    /**
645
+     * @param string $name
646
+     */
640 647
     protected function packageApplication($name, $version, $packagePath)
641 648
     {
642 649
         FileHelper::createDirectory($packagePath);
@@ -796,6 +803,9 @@  discard block
 block discarded – undo
796 803
     }
797 804
 
798 805
 
806
+    /**
807
+     * @param string[] $what
808
+     */
799 809
     protected function closeChangelogs($what, $version)
800 810
     {
801 811
         $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/'));
@@ -807,6 +817,9 @@  discard block
 block discarded – undo
807 817
         );
808 818
     }
809 819
 
820
+    /**
821
+     * @param string[] $what
822
+     */
810 823
     protected function openChangelogs($what, $version)
811 824
     {
812 825
         $headline = "\n$version under development\n";
@@ -957,6 +970,9 @@  discard block
 block discarded – undo
957 970
             $frameworkPath . '/BaseYii.php');
958 971
     }
959 972
 
973
+    /**
974
+     * @param string $pattern
975
+     */
960 976
     protected function sed($pattern, $replace, $files)
961 977
     {
962 978
         foreach((array) $files as $file) {
@@ -989,6 +1005,9 @@  discard block
 block discarded – undo
989 1005
     const MINOR = 'minor';
990 1006
     const PATCH = 'patch';
991 1007
 
1008
+    /**
1009
+     * @param string $type
1010
+     */
992 1011
     protected function getNextVersions(array $versions, $type)
993 1012
     {
994 1013
         foreach($versions as $k => $v) {
Please login to merge, or discard this patch.