GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 1501c6...0e2b6c )
by Robert
12:51
created
build/controllers/PhpDocController.php 1 patch
Doc Comments   +24 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
         return array_merge(parent::options($actionID), ['updateFiles', 'skipFrameworkRequirements']);
114 114
     }
115 115
 
116
+    /**
117
+     * @param string|null $root
118
+     */
116 119
     protected function findFiles($root, $needsInclude = true)
117 120
     {
118 121
         $except = [];
@@ -233,6 +236,9 @@  discard block
 block discarded – undo
233 236
         return FileHelper::findFiles($root, $options);
234 237
     }
235 238
 
239
+    /**
240
+     * @param string $extensionPath
241
+     */
236 242
     private function setUpExtensionAliases($extensionPath)
237 243
     {
238 244
         foreach (scandir($extensionPath) as $extension) {
@@ -340,6 +346,9 @@  discard block
 block discarded – undo
340 346
         }
341 347
     }
342 348
 
349
+    /**
350
+     * @param string $line
351
+     */
343 352
     protected function fixParamTypes($line)
344 353
     {
345 354
         return preg_replace_callback('~@(param|return) ([\w\\|]+)~i', function ($matches) {
@@ -476,6 +485,10 @@  discard block
 block discarded – undo
476 485
         // TODO
477 486
     }
478 487
 
488
+    /**
489
+     * @param null|string $className
490
+     * @param string $propertyDoc
491
+     */
479 492
     protected function updateClassPropertyDocs($file, $className, $propertyDoc)
480 493
     {
481 494
         try {
@@ -556,7 +569,7 @@  discard block
 block discarded – undo
556 569
     /**
557 570
      * remove multi empty lines and trim trailing whitespace.
558 571
      *
559
-     * @param $doc
572
+     * @param string $doc
560 573
      * @return string
561 574
      */
562 575
     protected function cleanDocComment($doc)
@@ -575,7 +588,7 @@  discard block
 block discarded – undo
575 588
 
576 589
     /**
577 590
      * Replace property annotations in doc comment.
578
-     * @param $doc
591
+     * @param string $doc
579 592
      * @param $properties
580 593
      * @return string
581 594
      */
@@ -742,6 +755,9 @@  discard block
 block discarded – undo
742 755
         return [$className, $phpdoc];
743 756
     }
744 757
 
758
+    /**
759
+     * @param string $pattern
760
+     */
745 761
     protected function match($pattern, $subject, $split = false)
746 762
     {
747 763
         $sets = [];
@@ -766,6 +782,9 @@  discard block
 block discarded – undo
766 782
         return $sets;
767 783
     }
768 784
 
785
+    /**
786
+     * @param string $str
787
+     */
769 788
     protected function fixSentence($str)
770 789
     {
771 790
         // TODO fix word wrap
@@ -776,6 +795,9 @@  discard block
 block discarded – undo
776 795
         return strtoupper(substr($str, 0, 1)) . substr($str, 1) . ($str[strlen($str) - 1] != '.' ? '.' : '');
777 796
     }
778 797
 
798
+    /**
799
+     * @param string $param
800
+     */
779 801
     protected function getPropParam($prop, $param)
780 802
     {
781 803
         return isset($prop['property']) ? $prop['property'][$param] : (isset($prop['get']) ? $prop['get'][$param] : $prop['set'][$param]);
Please login to merge, or discard this patch.
build/controllers/ReleaseController.php 1 patch
Doc Comments   +20 added lines, -1 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
 
369 369
     /**
370 370
      * @param array $what list of items
371
-     * @param array $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
371
+     * @param string[] $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
372 372
      * @param bool $ensureGitClean
373 373
      * @throws \yii\base\Exception
374 374
      */
@@ -548,6 +548,10 @@  discard block
 block discarded – undo
548 548
         $this->stdout("\n");
549 549
     }
550 550
 
551
+    /**
552
+     * @param string $name
553
+     * @param string $path
554
+     */
551 555
     protected function releaseApplication($name, $path, $version)
552 556
     {
553 557
         $this->stdout("\n");
@@ -650,6 +654,9 @@  discard block
 block discarded – undo
650 654
         Yii::setAlias('@app', $this->_oldAlias);
651 655
     }
652 656
 
657
+    /**
658
+     * @param string $name
659
+     */
653 660
     protected function packageApplication($name, $version, $packagePath)
654 661
     {
655 662
         FileHelper::createDirectory($packagePath);
@@ -811,6 +818,9 @@  discard block
 block discarded – undo
811 818
     }
812 819
 
813 820
 
821
+    /**
822
+     * @param string[] $what
823
+     */
814 824
     protected function closeChangelogs($what, $version)
815 825
     {
816 826
         $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/'));
@@ -822,6 +832,9 @@  discard block
 block discarded – undo
822 832
         );
823 833
     }
824 834
 
835
+    /**
836
+     * @param string[] $what
837
+     */
825 838
     protected function openChangelogs($what, $version)
826 839
     {
827 840
         $headline = "\n$version under development\n";
@@ -986,6 +999,9 @@  discard block
 block discarded – undo
986 999
             $frameworkPath . '/BaseYii.php');
987 1000
     }
988 1001
 
1002
+    /**
1003
+     * @param string $pattern
1004
+     */
989 1005
     protected function sed($pattern, $replace, $files)
990 1006
     {
991 1007
         foreach ((array) $files as $file) {
@@ -1019,6 +1035,9 @@  discard block
 block discarded – undo
1019 1035
     const MINOR = 'minor';
1020 1036
     const PATCH = 'patch';
1021 1037
 
1038
+    /**
1039
+     * @param string $type
1040
+     */
1022 1041
     protected function getNextVersions(array $versions, $type)
1023 1042
     {
1024 1043
         foreach ($versions as $k => $v) {
Please login to merge, or discard this patch.
framework/console/controllers/MessageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -623,7 +623,7 @@
 block discarded – undo
623 623
      * Finds out a line of the first non-char PHP token found.
624 624
      *
625 625
      * @param array $tokens
626
-     * @return int|string
626
+     * @return string
627 627
      * @since 2.0.1
628 628
      */
629 629
     protected function getLine($tokens)
Please login to merge, or discard this patch.
framework/i18n/MessageFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Get the error code from the last operation.
54 54
      * @link http://php.net/manual/en/messageformatter.geterrorcode.php
55
-     * @return string Code of the last error.
55
+     * @return integer Code of the last error.
56 56
      */
57 57
     public function getErrorCode()
58 58
     {
Please login to merge, or discard this patch.
framework/validators/DateValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
      * Parses date string into UNIX timestamp.
322 322
      *
323 323
      * @param string $value string representing date
324
-     * @return int|false a UNIX timestamp or `false` on failure.
324
+     * @return integer a UNIX timestamp or `false` on failure.
325 325
      */
326 326
     protected function parseDateValue($value)
327 327
     {
Please login to merge, or discard this patch.
framework/web/UrlManager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
      * @param string $cacheKey generated cache key to store data.
454 454
      * @param string $route the route (e.g. `site/index`).
455 455
      * @param array $params rule params.
456
-     * @return bool|string the created URL
456
+     * @return string|false the created URL
457 457
      * @see createUrl()
458 458
      * @since 2.0.8
459 459
      */
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
 
476 476
     /**
477 477
      * Store rule (e.g. [[UrlRule]]) to internal cache.
478
-     * @param $cacheKey
478
+     * @param string $cacheKey
479 479
      * @param UrlRuleInterface $rule
480 480
      * @since 2.0.8
481 481
      */
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
      * Note that unlike [[\yii\helpers\Url::toRoute()]], this method always treats the given route
493 493
      * as an absolute route.
494 494
      *
495
-     * @param string|array $params use a string to represent a route (e.g. `site/index`),
495
+     * @param string[] $params use a string to represent a route (e.g. `site/index`),
496 496
      * or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`).
497 497
      * @param string|null $scheme the scheme to use for the URL (either `http`, `https` or empty string
498 498
      * for protocol-relative URL).
Please login to merge, or discard this patch.