Passed
Push — 1.10.x ( ef00db...25211a )
by Yannick
279:14 queued 234:31
created
main/inc/lib/pear/Text/Password.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -180,6 +180,7 @@  discard block
 block discarded – undo
180 180
      * @access private
181 181
      * @param  string  Login
182 182
      * @param  integer Key
183
+     * @param integer $key
183 184
      * @return string
184 185
      */
185 186
     function _xor($login, $key)
@@ -208,6 +209,7 @@  discard block
 block discarded – undo
208 209
      * @access private
209 210
      * @param  string  Login
210 211
      * @param  integer Key
212
+     * @param integer $key
211 213
      * @return string
212 214
      */
213 215
     function _rotx($login, $key)
@@ -241,6 +243,7 @@  discard block
 block discarded – undo
241 243
      * @access private
242 244
      * @param  string  Login
243 245
      * @param  integer Key
246
+     * @param integer $key
244 247
      * @return string
245 248
      */
246 249
     function _rotxpp($login, $key)
@@ -274,6 +277,7 @@  discard block
 block discarded – undo
274 277
      * @access private
275 278
      * @param  string  Login
276 279
      * @param  integer Key
280
+     * @param integer $key
277 281
      * @return string
278 282
      */
279 283
     function _rotxmm($login, $key)
@@ -306,6 +310,7 @@  discard block
 block discarded – undo
306 310
      * @access private
307 311
      * @param  string  Login
308 312
      * @param  integer Key
313
+     * @param integer $key
309 314
      * @return string
310 315
      */
311 316
     function _asciiRotx($login, $key)
@@ -340,6 +345,7 @@  discard block
 block discarded – undo
340 345
      * @access private
341 346
      * @param  string  Login
342 347
      * @param  integer Key
348
+     * @param integer $key
343 349
      * @return string
344 350
      */
345 351
     function _asciiRotxpp($login, $key)
@@ -374,6 +380,7 @@  discard block
 block discarded – undo
374 380
      * @access private
375 381
      * @param  string  Login
376 382
      * @param  integer Key
383
+     * @param integer $key
377 384
      * @return string
378 385
      */
379 386
     function _asciiRotxmm($login, $key)
@@ -430,6 +437,7 @@  discard block
 block discarded – undo
430 437
      *
431 438
      * @access private
432 439
      * @param  integer Length of the password
440
+     * @param integer $length
433 441
      * @return string  Returns the password
434 442
      */
435 443
     function _createPronounceable($length)
@@ -475,6 +483,8 @@  discard block
 block discarded – undo
475 483
      * @param  string  Character which could be use in the
476 484
      *                 unpronounceable password ex : 'ABCDEFG'
477 485
      *                 or numeric, alphabetical or alphanumeric.
486
+     * @param integer $length
487
+     * @param string $chars
478 488
      * @return string  Returns the password
479 489
      */
480 490
     function _createUnpronounceable($length, $chars)
Please login to merge, or discard this patch.
main/inc/lib/phpmailer/class.phpmailer.php 1 patch
Doc Comments   +15 added lines, -3 removed lines patch added patch discarded remove patch
@@ -891,6 +891,7 @@  discard block
 block discarded – undo
891 891
   /**
892 892
    * Creates recipient headers.
893 893
    * @access public
894
+   * @param string $type
894 895
    * @return string
895 896
    */
896 897
   public function AddrAppend($type, $addr) {
@@ -1258,6 +1259,9 @@  discard block
 block discarded – undo
1258 1259
   /**
1259 1260
    * Returns the start of a message boundary.
1260 1261
    * @access private
1262
+   * @param string $charSet
1263
+   * @param string $contentType
1264
+   * @param string $encoding
1261 1265
    */
1262 1266
   private function GetBoundary($boundary, $charSet, $contentType, $encoding) {
1263 1267
     $result = '';
@@ -1311,6 +1315,7 @@  discard block
 block discarded – undo
1311 1315
   /**
1312 1316
    *  Returns a formatted header line.
1313 1317
    * @access public
1318
+   * @param string $name
1314 1319
    * @return string
1315 1320
    */
1316 1321
   public function HeaderLine($name, $value) {
@@ -1320,6 +1325,7 @@  discard block
 block discarded – undo
1320 1325
   /**
1321 1326
    * Returns a formatted mail line.
1322 1327
    * @access public
1328
+   * @param string $value
1323 1329
    * @return string
1324 1330
    */
1325 1331
   public function TextLine($value) {
@@ -1521,6 +1527,7 @@  discard block
 block discarded – undo
1521 1527
   /**
1522 1528
    * Encode a header string to best (shortest) of Q, B, quoted or none.
1523 1529
    * @access public
1530
+   * @param string $str
1524 1531
    * @return string
1525 1532
    */
1526 1533
   public function EncodeHeader($str, $position = 'text') {
@@ -1647,7 +1654,6 @@  discard block
 block discarded – undo
1647 1654
   * Encode string to quoted-printable.
1648 1655
   * Only uses standard PHP, slow, but will always work
1649 1656
   * @access public
1650
-  * @param string $string the text to encode
1651 1657
   * @param integer $line_max Number of chars allowed on a line before wrapping
1652 1658
   * @return string
1653 1659
   */
@@ -1917,6 +1923,7 @@  discard block
 block discarded – undo
1917 1923
   /**
1918 1924
    * Adds the error message to the error container.
1919 1925
    * @access protected
1926
+   * @param string $msg
1920 1927
    * @return void
1921 1928
    */
1922 1929
   protected function SetError($msg) {
@@ -1966,6 +1973,7 @@  discard block
 block discarded – undo
1966 1973
   /**
1967 1974
    * Returns a message in the appropriate language.
1968 1975
    * @access private
1976
+   * @param string $key
1969 1977
    * @return string
1970 1978
    */
1971 1979
   private function Lang($key) {
@@ -1992,6 +2000,7 @@  discard block
 block discarded – undo
1992 2000
   /**
1993 2001
    * Changes every end of line from CR or LF to CRLF.
1994 2002
    * @access private
2003
+   * @param string $str
1995 2004
    * @return string
1996 2005
    */
1997 2006
   private function FixEOL($str) {
@@ -2203,8 +2212,6 @@  discard block
 block discarded – undo
2203 2212
    * Set the private key file and password to sign the message.
2204 2213
    *
2205 2214
    * @access public
2206
-   * @param string $key_filename Parameter File Name
2207
-   * @param string $key_pass Password for private key
2208 2215
    */
2209 2216
   public function DKIM_QP($txt) {
2210 2217
     $tmp="";
@@ -2318,6 +2325,11 @@  discard block
 block discarded – undo
2318 2325
     return "X-PHPMAILER-DKIM: phpmailer.worxware.com\r\n".$dkimhdrs.$signed."\r\n";
2319 2326
   }
2320 2327
 
2328
+  /**
2329
+   * @param integer $isSent
2330
+   * @param string $subject
2331
+   * @param string $body
2332
+   */
2321 2333
   protected function doCallback($isSent,$to,$cc,$bcc,$subject,$body) {
2322 2334
     if (!empty($this->action_function) && function_exists($this->action_function)) {
2323 2335
       $params = array($isSent,$to,$cc,$bcc,$subject,$body);
Please login to merge, or discard this patch.
main/inc/lib/phpmailer/class.pop3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
    * @param string $host
193 193
    * @param integer $port
194 194
    * @param integer $tval
195
-   * @return boolean
195
+   * @return boolean|null
196 196
    */
197 197
   public function Connect ($host, $port = false, $tval = 30) {
198 198
     //  Are we already connected?
Please login to merge, or discard this patch.
main/inc/lib/phpmailer/class.smtp.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -321,6 +321,7 @@  discard block
 block discarded – undo
321 321
    * SMTP CODE FAILURE: 451,554
322 322
    * SMTP CODE ERROR  : 500,501,503,421
323 323
    * @access public
324
+   * @param string $msg_data
324 325
    * @return bool
325 326
    */
326 327
   public function Data($msg_data) {
@@ -488,6 +489,8 @@  discard block
 block discarded – undo
488 489
   /**
489 490
    * Sends a HELO/EHLO command.
490 491
    * @access private
492
+   * @param string $hello
493
+   * @param string $host
491 494
    * @return bool
492 495
    */
493 496
   private function SendHello($hello, $host) {
@@ -528,6 +531,7 @@  discard block
 block discarded – undo
528 531
    * SMTP CODE SUCCESS: 552,451,452
529 532
    * SMTP CODE SUCCESS: 500,501,421
530 533
    * @access public
534
+   * @param string $from
531 535
    * @return bool
532 536
    */
533 537
   public function Mail($from) {
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Crypt/DES.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -742,6 +742,7 @@  discard block
 block discarded – undo
742 742
      * CRYPT_DES_MODE_ECB or CRYPT_DES_MODE_CBC.  If not explictly set, CRYPT_DES_MODE_CBC will be used.
743 743
      *
744 744
      * @param optional Integer $mode
745
+     * @param integer $mode
745 746
      * @return Crypt_DES
746 747
      * @access public
747 748
      */
@@ -1445,6 +1446,7 @@  discard block
 block discarded – undo
1445 1446
      *
1446 1447
      * @see Crypt_DES::_unpad()
1447 1448
      * @access private
1449
+     * @param string $text
1448 1450
      */
1449 1451
     function _pad($text)
1450 1452
     {
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Crypt/Hash.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -783,8 +783,7 @@
 block discarded – undo
783 783
      * _sha256() adds multiple unsigned 32-bit integers.  Since PHP doesn't support unsigned integers and since the
784 784
      * possibility of overflow exists, care has to be taken.  Math_BigInteger() could be used but this should be faster.
785 785
      *
786
-     * @param Integer $...
787
-     * @return Integer
786
+     * @return double
788 787
      * @see _sha256()
789 788
      * @access private
790 789
      */
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Crypt/Rijndael.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -1456,6 +1456,7 @@  discard block
 block discarded – undo
1456 1456
      *
1457 1457
      * @see Crypt_Rijndael::_unpad()
1458 1458
      * @access private
1459
+     * @param string $text
1459 1460
      */
1460 1461
     function _pad($text)
1461 1462
     {
@@ -1483,6 +1484,7 @@  discard block
 block discarded – undo
1483 1484
      *
1484 1485
      * @see Crypt_Rijndael::_pad()
1485 1486
      * @access private
1487
+     * @param string $text
1486 1488
      */
1487 1489
     function _unpad($text)
1488 1490
     {
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Crypt/RSA.php 1 patch
Doc Comments   +5 added lines, -12 removed lines patch added patch discarded remove patch
@@ -677,7 +677,6 @@  discard block
 block discarded – undo
677 677
      *
678 678
      * @access private
679 679
      * @see setPrivateKeyFormat()
680
-     * @param String $RSAPrivateKey
681 680
      * @return String
682 681
      */
683 682
     function _convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients)
@@ -830,7 +829,6 @@  discard block
 block discarded – undo
830 829
      *
831 830
      * @access private
832 831
      * @see setPublicKeyFormat()
833
-     * @param String $RSAPrivateKey
834 832
      * @return String
835 833
      */
836 834
     function _convertPublicKey($n, $e)
@@ -1491,7 +1489,6 @@  discard block
 block discarded – undo
1491 1489
      *
1492 1490
      * @see getPublicKey()
1493 1491
      * @access public
1494
-     * @param String $key
1495 1492
      * @param Integer $type optional
1496 1493
      */
1497 1494
     function getPublicKey($type = CRYPT_RSA_PUBLIC_FORMAT_PKCS1)
@@ -1514,7 +1511,6 @@  discard block
 block discarded – undo
1514 1511
      *
1515 1512
      * @see getPublicKey()
1516 1513
      * @access public
1517
-     * @param String $key
1518 1514
      * @param Integer $type optional
1519 1515
      */
1520 1516
     function getPrivateKey($type = CRYPT_RSA_PUBLIC_FORMAT_PKCS1)
@@ -1538,8 +1534,7 @@  discard block
 block discarded – undo
1538 1534
      *
1539 1535
      * @see getPrivateKey()
1540 1536
      * @access private
1541
-     * @param String $key
1542
-     * @param Integer $type optional
1537
+     * @param integer $mode
1543 1538
      */
1544 1539
     function _getPrivatePublicKey($mode = CRYPT_RSA_PUBLIC_FORMAT_PKCS1)
1545 1540
     {
@@ -1742,7 +1737,6 @@  discard block
 block discarded – undo
1742 1737
      *    of the hash function Hash) and 0.
1743 1738
      *
1744 1739
      * @access public
1745
-     * @param Integer $format
1746 1740
      */
1747 1741
     function setSaltLength($sLen)
1748 1742
     {
@@ -1991,7 +1985,6 @@  discard block
 block discarded – undo
1991 1985
      *
1992 1986
      * @access private
1993 1987
      * @param String $mgfSeed
1994
-     * @param Integer $mgfLen
1995 1988
      * @return String
1996 1989
      */
1997 1990
     function _mgf1($mgfSeed, $maskLen)
@@ -2284,7 +2277,7 @@  discard block
 block discarded – undo
2284 2277
      * @param String $m
2285 2278
      * @param String $em
2286 2279
      * @param Integer $emBits
2287
-     * @return String
2280
+     * @return boolean
2288 2281
      */
2289 2282
     function _emsa_pss_verify($m, $em, $emBits)
2290 2283
     {
@@ -2356,7 +2349,7 @@  discard block
 block discarded – undo
2356 2349
      * @access private
2357 2350
      * @param String $m
2358 2351
      * @param String $s
2359
-     * @return String
2352
+     * @return boolean
2360 2353
      */
2361 2354
     function _rsassa_pss_verify($m, $s)
2362 2355
     {
@@ -2477,7 +2470,8 @@  discard block
 block discarded – undo
2477 2470
      *
2478 2471
      * @access private
2479 2472
      * @param String $m
2480
-     * @return String
2473
+     * @param string $s
2474
+     * @return boolean
2481 2475
      */
2482 2476
     function _rsassa_pkcs1_v1_5_verify($m, $s)
2483 2477
     {
@@ -2610,7 +2604,6 @@  discard block
 block discarded – undo
2610 2604
      *
2611 2605
      * @see encrypt()
2612 2606
      * @access public
2613
-     * @param String $plaintext
2614 2607
      * @return String
2615 2608
      */
2616 2609
     function decrypt($ciphertext)
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Crypt/TripleDES.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@  discard block
 block discarded – undo
98 98
      * CRYPT_DES_MODE_ECB or CRYPT_DES_MODE_CBC.  If not explictly set, CRYPT_DES_MODE_CBC will be used.
99 99
      *
100 100
      * @param optional Integer $mode
101
+     * @param integer $mode
101 102
      * @return Crypt_TripleDES
102 103
      * @access public
103 104
      */
@@ -318,6 +319,7 @@  discard block
 block discarded – undo
318 319
      *
319 320
      * @access public
320 321
      * @param String $plaintext
322
+     * @return string
321 323
      */
322 324
     function encrypt($plaintext)
323 325
     {
Please login to merge, or discard this patch.