Completed
Push — stable8.2 ( 747614...a3effd )
by Thomas
09:18
created
lib/private/files/filesystem.php 2 patches
Doc Comments   +52 added lines patch added patch discarded remove patch
@@ -336,6 +336,9 @@  discard block
 block discarded – undo
336 336
 		}
337 337
 	}
338 338
 
339
+	/**
340
+	 * @param string $root
341
+	 */
339 342
 	static public function init($user, $root) {
340 343
 		if (self::$defaultInstance) {
341 344
 			return false;
@@ -624,11 +627,15 @@  discard block
 block discarded – undo
624 627
 
625 628
 	/**
626 629
 	 * following functions are equivalent to their php builtin equivalents for arguments/return values.
630
+	 * @param string $path
627 631
 	 */
628 632
 	static public function mkdir($path) {
629 633
 		return self::$defaultInstance->mkdir($path);
630 634
 	}
631 635
 
636
+	/**
637
+	 * @param string $path
638
+	 */
632 639
 	static public function rmdir($path) {
633 640
 		return self::$defaultInstance->rmdir($path);
634 641
 	}
@@ -645,6 +652,9 @@  discard block
 block discarded – undo
645 652
 		return self::$defaultInstance->is_dir($path);
646 653
 	}
647 654
 
655
+	/**
656
+	 * @param string $path
657
+	 */
648 658
 	static public function is_file($path) {
649 659
 		return self::$defaultInstance->is_file($path);
650 660
 	}
@@ -657,6 +667,9 @@  discard block
 block discarded – undo
657 667
 		return self::$defaultInstance->filetype($path);
658 668
 	}
659 669
 
670
+	/**
671
+	 * @param string $path
672
+	 */
660 673
 	static public function filesize($path) {
661 674
 		return self::$defaultInstance->filesize($path);
662 675
 	}
@@ -669,6 +682,9 @@  discard block
 block discarded – undo
669 682
 		return self::$defaultInstance->isCreatable($path);
670 683
 	}
671 684
 
685
+	/**
686
+	 * @param string $path
687
+	 */
672 688
 	static public function isReadable($path) {
673 689
 		return self::$defaultInstance->isReadable($path);
674 690
 	}
@@ -681,6 +697,9 @@  discard block
 block discarded – undo
681 697
 		return self::$defaultInstance->isDeletable($path);
682 698
 	}
683 699
 
700
+	/**
701
+	 * @param string $path
702
+	 */
684 703
 	static public function isSharable($path) {
685 704
 		return self::$defaultInstance->isSharable($path);
686 705
 	}
@@ -689,37 +708,64 @@  discard block
 block discarded – undo
689 708
 		return self::$defaultInstance->file_exists($path);
690 709
 	}
691 710
 
711
+	/**
712
+	 * @param string $path
713
+	 */
692 714
 	static public function filemtime($path) {
693 715
 		return self::$defaultInstance->filemtime($path);
694 716
 	}
695 717
 
718
+	/**
719
+	 * @param string $path
720
+	 * @param integer $mtime
721
+	 */
696 722
 	static public function touch($path, $mtime = null) {
697 723
 		return self::$defaultInstance->touch($path, $mtime);
698 724
 	}
699 725
 
700 726
 	/**
727
+	 * @param string $path
701 728
 	 * @return string
702 729
 	 */
703 730
 	static public function file_get_contents($path) {
704 731
 		return self::$defaultInstance->file_get_contents($path);
705 732
 	}
706 733
 
734
+	/**
735
+	 * @param string $path
736
+	 * @param string $data
737
+	 */
707 738
 	static public function file_put_contents($path, $data) {
708 739
 		return self::$defaultInstance->file_put_contents($path, $data);
709 740
 	}
710 741
 
742
+	/**
743
+	 * @param string $path
744
+	 */
711 745
 	static public function unlink($path) {
712 746
 		return self::$defaultInstance->unlink($path);
713 747
 	}
714 748
 
749
+	/**
750
+	 * @param string $path1
751
+	 * @param string $path2
752
+	 */
715 753
 	static public function rename($path1, $path2) {
716 754
 		return self::$defaultInstance->rename($path1, $path2);
717 755
 	}
718 756
 
757
+	/**
758
+	 * @param string $path1
759
+	 * @param string $path2
760
+	 */
719 761
 	static public function copy($path1, $path2) {
720 762
 		return self::$defaultInstance->copy($path1, $path2);
721 763
 	}
722 764
 
765
+	/**
766
+	 * @param string $path
767
+	 * @param string $mode
768
+	 */
723 769
 	static public function fopen($path, $mode) {
724 770
 		return self::$defaultInstance->fopen($path, $mode);
725 771
 	}
@@ -735,6 +781,9 @@  discard block
 block discarded – undo
735 781
 		return self::$defaultInstance->fromTmpFile($tmpFile, $path);
736 782
 	}
737 783
 
784
+	/**
785
+	 * @param string $path
786
+	 */
738 787
 	static public function getMimeType($path) {
739 788
 		return self::$defaultInstance->getMimeType($path);
740 789
 	}
@@ -747,6 +796,9 @@  discard block
 block discarded – undo
747 796
 		return self::$defaultInstance->free_space($path);
748 797
 	}
749 798
 
799
+	/**
800
+	 * @param string $query
801
+	 */
750 802
 	static public function search($query) {
751 803
 		return self::$defaultInstance->search($query);
752 804
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 
59 59
 namespace OC\Files;
60 60
 
61
-use OC\Cache\File;
62 61
 use OC\Cache\CappedMemoryCache;
63 62
 use OC\Files\Config\MountProviderCollection;
64 63
 use OC\Files\Storage\StorageFactory;
Please login to merge, or discard this patch.
apps/user_ldap/lib/mapping/abstractmapping.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 	/**
93 93
 	 * Performs a DELETE or UPDATE query to the database.
94 94
 	 * @param \Doctrine\DBAL\Driver\Statement $query
95
-	 * @param array $parameters
95
+	 * @param string[] $parameters
96 96
 	 * @return bool true if at least one row was modified, false otherwise
97 97
 	 */
98 98
 	protected function modify($query, $parameters) {
Please login to merge, or discard this patch.
apps/files_external/lib/smb.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
 use Icewind\SMB\Exception\NotFoundException;
35 35
 use Icewind\SMB\NativeServer;
36 36
 use Icewind\SMB\Server;
37
-use Icewind\Streams\CallbackWrapper;
38 37
 use Icewind\Streams\IteratorDirectory;
39 38
 use OC\Cache\CappedMemoryCache;
40 39
 use OC\Files\Filesystem;
Please login to merge, or discard this patch.
apps/files_trashbin/lib/backgroundjob/expiretrash.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 namespace OCA\Files_Trashbin\BackgroundJob;
25 25
 
26
-use OCP\IConfig;
27 26
 use OCP\IUser;
28 27
 use OCP\IUserManager;
29 28
 use OCA\Files_Trashbin\AppInfo\Application;
Please login to merge, or discard this patch.
apps/files_versions/lib/storage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -651,7 +651,7 @@
 block discarded – undo
651 651
 	/**
652 652
 	 * Expire versions which exceed the quota
653 653
 	 *
654
-	 * @param $filename
654
+	 * @param string $filename
655 655
 	 * @return bool|int|null
656 656
 	 */
657 657
 	public static function expire($filename) {
Please login to merge, or discard this patch.
user_ldap/tests/integration/lib/integrationtestfetchusersbyloginname.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 namespace OCA\user_ldap\tests\integration\lib;
23 23
 
24
-use OCA\user_ldap\lib\user\Manager as LDAPUserManager;
25 24
 use OCA\user_ldap\tests\integration\AbstractIntegrationTest;
26 25
 use OCA\User_LDAP\Mapping\UserMapping;
27 26
 use OCA\user_ldap\USER_LDAP;
Please login to merge, or discard this patch.
lib/private/memcache/memcached.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	 * Set a value in the cache if it's not already stored
65 65
 	 *
66 66
 	 * @param string $key
67
-	 * @param mixed $value
67
+	 * @param integer $value
68 68
 	 * @param int $ttl Time To Live in seconds. Defaults to 60*60*24
69 69
 	 * @return bool
70 70
 	 */
Please login to merge, or discard this patch.
lib/private/route/router.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -136,6 +136,7 @@
 block discarded – undo
136 136
 	/**
137 137
 	 * loads the api routes
138 138
 	 *
139
+	 * @param string $app
139 140
 	 * @return void
140 141
 	 */
141 142
 	public function loadRoutes($app = null) {
Please login to merge, or discard this patch.
tests/lib/connector/sabre/requesttest/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 	 *
42 42
 	 * @param \Sabre\DAV\Server $server
43 43
 	 * @param string $realm
44
-	 * @return bool
44
+	 * @return boolean|null
45 45
 	 */
46 46
 	function authenticate(\Sabre\DAV\Server $server, $realm) {
47 47
 		$userSession = \OC::$server->getUserSession();
Please login to merge, or discard this patch.