Completed
Push — master ( 96d573...f9f049 )
by Ehsan
07:54
created
vendor/phpunit/phpunit-mock-objects/src/MockBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * @param TestCase     $testCase
90
-     * @param array|string $type
90
+     * @param string $type
91 91
      */
92 92
     public function __construct(TestCase $testCase, $type)
93 93
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * Specifies the subset of methods to not mock. Default is to mock all of them.
187 187
      *
188
-     * @param array $methods
188
+     * @param string[] $methods
189 189
      *
190 190
      * @return PHPUnit_Framework_MockObject_MockBuilder
191 191
      */
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Framework/Assert.php 1 patch
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      *
209 209
      * @param mixed         $needle
210 210
      * @param string        $haystackAttributeName
211
-     * @param string|object $haystackClassOrObject
211
+     * @param \ClassWithNonPublicAttributes $haystackClassOrObject
212 212
      * @param string        $message
213 213
      * @param bool          $ignoreCase
214 214
      * @param bool          $checkForObjectIdentity
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      *
278 278
      * @param mixed         $needle
279 279
      * @param string        $haystackAttributeName
280
-     * @param string|object $haystackClassOrObject
280
+     * @param \ClassWithNonPublicAttributes $haystackClassOrObject
281 281
      * @param string        $message
282 282
      * @param bool          $ignoreCase
283 283
      * @param bool          $checkForObjectIdentity
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
      *
361 361
      * @param string        $type
362 362
      * @param string        $haystackAttributeName
363
-     * @param string|object $haystackClassOrObject
363
+     * @param \ClassWithNonPublicAttributes $haystackClassOrObject
364 364
      * @param bool          $isNativeType
365 365
      * @param string        $message
366 366
      */
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
      *
416 416
      * @param string        $type
417 417
      * @param string        $haystackAttributeName
418
-     * @param string|object $haystackClassOrObject
418
+     * @param \ClassWithNonPublicAttributes $haystackClassOrObject
419 419
      * @param bool          $isNativeType
420 420
      * @param string        $message
421 421
      */
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
      *
462 462
      * @param int           $expectedCount
463 463
      * @param string        $haystackAttributeName
464
-     * @param string|object $haystackClassOrObject
464
+     * @param \stdClass $haystackClassOrObject
465 465
      * @param string        $message
466 466
      */
467 467
     public static function assertAttributeCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '')
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
      *
506 506
      * @param int           $expectedCount
507 507
      * @param string        $haystackAttributeName
508
-     * @param string|object $haystackClassOrObject
508
+     * @param \stdClass $haystackClassOrObject
509 509
      * @param string        $message
510 510
      */
511 511
     public static function assertAttributeNotCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '')
@@ -635,7 +635,7 @@  discard block
 block discarded – undo
635 635
      * is empty.
636 636
      *
637 637
      * @param string        $haystackAttributeName
638
-     * @param string|object $haystackClassOrObject
638
+     * @param \stdClass $haystackClassOrObject
639 639
      * @param string        $message
640 640
      */
641 641
     public static function assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $message = '')
@@ -664,7 +664,7 @@  discard block
 block discarded – undo
664 664
      * is not empty.
665 665
      *
666 666
      * @param string        $haystackAttributeName
667
-     * @param string|object $haystackClassOrObject
667
+     * @param \stdClass $haystackClassOrObject
668 668
      * @param string        $message
669 669
      */
670 670
     public static function assertAttributeNotEmpty($haystackAttributeName, $haystackClassOrObject, $message = '')
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
      *
693 693
      * @param mixed         $expected
694 694
      * @param string        $actualAttributeName
695
-     * @param string|object $actualClassOrObject
695
+     * @param \ClassWithNonPublicAttributes $actualClassOrObject
696 696
      * @param string        $message
697 697
      */
698 698
     public static function assertAttributeGreaterThan($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -725,7 +725,7 @@  discard block
 block discarded – undo
725 725
      *
726 726
      * @param mixed         $expected
727 727
      * @param string        $actualAttributeName
728
-     * @param string|object $actualClassOrObject
728
+     * @param \ClassWithNonPublicAttributes $actualClassOrObject
729 729
      * @param string        $message
730 730
      */
731 731
     public static function assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
754 754
      *
755 755
      * @param mixed         $expected
756 756
      * @param string        $actualAttributeName
757
-     * @param string|object $actualClassOrObject
757
+     * @param \ClassWithNonPublicAttributes $actualClassOrObject
758 758
      * @param string        $message
759 759
      */
760 760
     public static function assertAttributeLessThan($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
      *
784 784
      * @param mixed         $expected
785 785
      * @param string        $actualAttributeName
786
-     * @param string|object $actualClassOrObject
786
+     * @param \ClassWithNonPublicAttributes $actualClassOrObject
787 787
      * @param string        $message
788 788
      */
789 789
     public static function assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -1482,7 +1482,7 @@  discard block
 block discarded – undo
1482 1482
      *
1483 1483
      * @param mixed         $expected
1484 1484
      * @param string        $actualAttributeName
1485
-     * @param string|object $actualClassOrObject
1485
+     * @param \ClassWithNonPublicAttributes $actualClassOrObject
1486 1486
      * @param string        $message
1487 1487
      */
1488 1488
     public static function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -1556,7 +1556,7 @@  discard block
 block discarded – undo
1556 1556
      *
1557 1557
      * @param string        $expected
1558 1558
      * @param string        $attributeName
1559
-     * @param string|object $classOrObject
1559
+     * @param \stdClass $classOrObject
1560 1560
      * @param string        $message
1561 1561
      */
1562 1562
     public static function assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $message = '')
@@ -1593,7 +1593,7 @@  discard block
 block discarded – undo
1593 1593
      *
1594 1594
      * @param string        $expected
1595 1595
      * @param string        $attributeName
1596
-     * @param string|object $classOrObject
1596
+     * @param \stdClass $classOrObject
1597 1597
      * @param string        $message
1598 1598
      */
1599 1599
     public static function assertAttributeInternalType($expected, $attributeName, $classOrObject, $message = '')
@@ -1630,7 +1630,7 @@  discard block
 block discarded – undo
1630 1630
      *
1631 1631
      * @param string        $expected
1632 1632
      * @param string        $attributeName
1633
-     * @param string|object $classOrObject
1633
+     * @param \stdClass $classOrObject
1634 1634
      * @param string        $message
1635 1635
      */
1636 1636
     public static function assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $message = '')
@@ -1966,7 +1966,7 @@  discard block
 block discarded – undo
1966 1966
      * Asserts that two XML documents are equal.
1967 1967
      *
1968 1968
      * @param string             $expectedFile
1969
-     * @param string|DOMDocument $actualXml
1969
+     * @param string $actualXml
1970 1970
      * @param string             $message
1971 1971
      */
1972 1972
     public static function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = '')
@@ -1981,7 +1981,7 @@  discard block
 block discarded – undo
1981 1981
      * Asserts that two XML documents are not equal.
1982 1982
      *
1983 1983
      * @param string             $expectedFile
1984
-     * @param string|DOMDocument $actualXml
1984
+     * @param string $actualXml
1985 1985
      * @param string             $message
1986 1986
      */
1987 1987
     public static function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = '')
@@ -1996,7 +1996,7 @@  discard block
 block discarded – undo
1996 1996
      * Asserts that two XML documents are equal.
1997 1997
      *
1998 1998
      * @param string|DOMDocument $expectedXml
1999
-     * @param string|DOMDocument $actualXml
1999
+     * @param string $actualXml
2000 2000
      * @param string             $message
2001 2001
      */
2002 2002
     public static function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = '')
@@ -2011,7 +2011,7 @@  discard block
 block discarded – undo
2011 2011
      * Asserts that two XML documents are not equal.
2012 2012
      *
2013 2013
      * @param string|DOMDocument $expectedXml
2014
-     * @param string|DOMDocument $actualXml
2014
+     * @param string $actualXml
2015 2015
      * @param string             $message
2016 2016
      */
2017 2017
     public static function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = '')
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Framework/Assert/Functions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1318,7 +1318,7 @@  discard block
 block discarded – undo
1318 1318
  *
1319 1319
  * @param callable $callback
1320 1320
  *
1321
- * @return Callback
1321
+ * @return PHPUnit\Framework\Constraint\Callback
1322 1322
  */
1323 1323
 function callback($callback)
1324 1324
 {
@@ -1669,7 +1669,6 @@  discard block
 block discarded – undo
1669 1669
 }
1670 1670
 
1671 1671
 /**
1672
- * @param mixed $value, ...
1673 1672
  *
1674 1673
  * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
1675 1674
  */
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      * @param string $description  Additional information about the test
105 105
      * @param bool   $returnResult Whether to return a result or throw an exception
106 106
      *
107
-     * @return mixed
107
+     * @return boolean
108 108
      *
109 109
      * @throws ExpectationFailedException
110 110
      */
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Framework/TestCase.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1157,6 +1157,7 @@  discard block
 block discarded – undo
1157 1157
      * Sets the name of a TestCase.
1158 1158
      *
1159 1159
      * @param  string
1160
+     * @param string $name
1160 1161
      */
1161 1162
     public function setName($name)
1162 1163
     {
@@ -1367,8 +1368,6 @@  discard block
 block discarded – undo
1367 1368
      * This method is a wrapper for the setlocale() function that automatically
1368 1369
      * resets the locale to its original value after the test is run.
1369 1370
      *
1370
-     * @param int    $category
1371
-     * @param string $locale
1372 1371
      *
1373 1372
      * @throws Exception
1374 1373
      */
@@ -1661,7 +1660,7 @@  discard block
 block discarded – undo
1661 1660
      * @param bool   $callOriginalClone
1662 1661
      * @param bool   $callAutoload
1663 1662
      *
1664
-     * @return object
1663
+     * @return PHPUnit_Framework_MockObject_MockObject
1665 1664
      *
1666 1665
      * @throws Exception
1667 1666
      */
@@ -1871,7 +1870,6 @@  discard block
 block discarded – undo
1871 1870
     }
1872 1871
 
1873 1872
     /**
1874
-     * @param mixed $value , ...
1875 1873
      *
1876 1874
      * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
1877 1875
      */
@@ -2340,7 +2338,6 @@  discard block
 block discarded – undo
2340 2338
 
2341 2339
     /**
2342 2340
      * @param array $testArguments
2343
-     * @param array $originalTestArguments
2344 2341
      */
2345 2342
     private function registerMockObjectsFromTestArguments(array $testArguments, array &$visited = [])
2346 2343
     {
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Runner/PhptTestCase.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -415,6 +415,7 @@  discard block
 block discarded – undo
415 415
      * Parse --INI-- section key value pairs and return as array.
416 416
      *
417 417
      * @param string
418
+     * @param string $content
418 419
      *
419 420
      * @return array
420 421
      */
@@ -423,6 +424,9 @@  discard block
 block discarded – undo
423 424
         return \preg_split('/\n|\r/', $content, -1, PREG_SPLIT_NO_EMPTY);
424 425
     }
425 426
 
427
+    /**
428
+     * @param string $content
429
+     */
426 430
     protected function parseEnvSection($content)
427 431
     {
428 432
         $env = [];
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      * @param bool       $verbose
136 136
      * @param string     $colors
137 137
      * @param bool       $debug
138
-     * @param int|string $numberOfColumns
138
+     * @param integer $numberOfColumns
139 139
      * @param bool       $reverse
140 140
      *
141 141
      * @throws Exception
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/Test.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -573,6 +573,9 @@  discard block
 block discarded – undo
573 573
         }
574 574
     }
575 575
 
576
+    /**
577
+     * @param string $docComment
578
+     */
576 579
     private static function cleanUpMultiLineAnnotation($docComment)
577 580
     {
578 581
         //removing initial '   * ' for docComment
@@ -742,7 +745,7 @@  discard block
 block discarded – undo
742 745
      * @param string $className
743 746
      * @param string $methodName
744 747
      *
745
-     * @return bool
748
+     * @return boolean|null
746 749
      */
747 750
     public static function getErrorHandlerSettings($className, $methodName)
748 751
     {
@@ -862,7 +865,7 @@  discard block
 block discarded – undo
862 865
      * @param string $className
863 866
      * @param string $methodName
864 867
      *
865
-     * @return bool
868
+     * @return boolean|null
866 869
      */
867 870
     public static function getPreserveGlobalStateSettings($className, $methodName)
868 871
     {
@@ -938,7 +941,7 @@  discard block
 block discarded – undo
938 941
      * @param string $methodName
939 942
      * @param string $settingName
940 943
      *
941
-     * @return bool
944
+     * @return boolean|null
942 945
      */
943 946
     private static function getBooleanAnnotationSetting($className, $methodName, $settingName)
944 947
     {
@@ -1127,7 +1130,7 @@  discard block
 block discarded – undo
1127 1130
     /**
1128 1131
      * @param ReflectionMethod $method
1129 1132
      *
1130
-     * @return bool
1133
+     * @return integer
1131 1134
      */
1132 1135
     private static function isBeforeMethod(ReflectionMethod $method)
1133 1136
     {
@@ -1147,7 +1150,7 @@  discard block
 block discarded – undo
1147 1150
     /**
1148 1151
      * @param ReflectionMethod $method
1149 1152
      *
1150
-     * @return bool
1153
+     * @return integer
1151 1154
      */
1152 1155
     private static function isAfterMethod(ReflectionMethod $method)
1153 1156
     {
@@ -1158,9 +1161,9 @@  discard block
 block discarded – undo
1158 1161
      * Trims any extensions from version string that follows after
1159 1162
      * the <major>.<minor>[.<patch>] format
1160 1163
      *
1161
-     * @param $version (Optional)
1164
+     * @param string $version (Optional)
1162 1165
      *
1163
-     * @return mixed
1166
+     * @return string
1164 1167
      */
1165 1168
     private static function sanitizeVersionNumber($version)
1166 1169
     {
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/_files/BankAccount.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Returns the bank account's balance.
29 29
      *
30
-     * @return float
30
+     * @return integer
31 31
      */
32 32
     public function getBalance()
33 33
     {
Please login to merge, or discard this patch.