Completed
Push — stable8.2 ( 31336e...ccafa4 )
by Thomas
11:44
created
tests/lib/appframework/http/RequestTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace OC\AppFramework\Http;
12 12
 
13
-use OC\Security\Crypto;
14 13
 use OCP\Security\ISecureRandom;
15 14
 use OCP\IConfig;
16 15
 
Please login to merge, or discard this patch.
tests/lib/appframework/middleware/security/CORSMiddlewareTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use OC\AppFramework\Http\Request;
16 16
 use OC\AppFramework\Utility\ControllerMethodReflector;
17
-
18
-use OCP\AppFramework\Http;
19 17
 use OCP\AppFramework\Http\JSONResponse;
20 18
 use OCP\AppFramework\Http\Response;
21 19
 
Please login to merge, or discard this patch.
tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@
 block discarded – undo
72 72
 	}
73 73
 
74 74
 
75
+	/**
76
+	 * @param boolean $isLoggedIn
77
+	 * @param boolean $isAdminUser
78
+	 */
75 79
 	private function getMiddleware($isLoggedIn, $isAdminUser){
76 80
 		return new SecurityMiddleware(
77 81
 			$this->request,
Please login to merge, or discard this patch.
tests/lib/appframework/utility/ControllerMethodReflectorTest.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,6 @@  discard block
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * @Annotation
95
-	 * @param int $test
96 95
 	 */
97 96
 	public function testReadTypeIntAnnotations(){
98 97
 		$reader = new ControllerMethodReflector();
@@ -107,7 +106,6 @@  discard block
 block discarded – undo
107 106
 
108 107
 	/**
109 108
 	 * @Annotation
110
-	 * @param double $test something special
111 109
 	 */
112 110
 	public function testReadTypeDoubleAnnotations(){
113 111
 		$reader = new ControllerMethodReflector();
@@ -121,7 +119,6 @@  discard block
 block discarded – undo
121 119
 
122 120
 	/**
123 121
 	 * @Annotation
124
-	 * @param 	string  $foo
125 122
 	 */
126 123
 	public function testReadTypeWhitespaceAnnotations(){
127 124
 		$reader = new ControllerMethodReflector();
Please login to merge, or discard this patch.
tests/lib/command/asyncbus.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
 class StateFullCommand implements ICommand {
25 25
 	private $state;
26 26
 
27
+	/**
28
+	 * @param string $state
29
+	 */
27 30
 	function __construct($state) {
28 31
 		$this->state = $state;
29 32
 	}
Please login to merge, or discard this patch.
tests/lib/contacts/localadressbook.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -46,6 +46,10 @@
 block discarded – undo
46 46
 
47 47
 class SimpleUserForTesting implements \OCP\IUser {
48 48
 
49
+	/**
50
+	 * @param string $uid
51
+	 * @param string $displayName
52
+	 */
49 53
 	public function __construct($uid, $displayName) {
50 54
 
51 55
 		$this->uid = $uid;
Please login to merge, or discard this patch.
tests/lib/datetimeformatter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 		$this->formatter = new \OC\DateTimeFormatter(new \DateTimeZone('UTC'), new \OC_L10N('lib', 'en'));
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param integer $time
42
+	 */
40 43
 	protected function getTimestampAgo($time, $seconds = 0, $minutes = 0, $hours = 0, $days = 0, $years = 0) {
41 44
 		return $time - $seconds - $minutes * 60 - $hours * 3600 - $days * 24*3600 - $years * 365*24*3600;
42 45
 	}
Please login to merge, or discard this patch.
tests/lib/db.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -322,11 +322,19 @@
 block discarded – undo
322 322
 		$this->assertSame(2, $query->execute(array('uri1')));
323 323
 	}
324 324
 
325
+	/**
326
+	 * @param string $fullname
327
+	 * @param string $uri
328
+	 */
325 329
 	protected function insertCardData($fullname, $uri) {
326 330
 		$query = OC_DB::prepare("INSERT INTO `*PREFIX*{$this->table2}` (`fullname`, `uri`, `carddata`) VALUES (?, ?, ?)");
327 331
 		$this->assertSame(1, $query->execute(array($fullname, $uri, $this->getUniqueID())));
328 332
 	}
329 333
 
334
+	/**
335
+	 * @param string $fullname
336
+	 * @param string $uri
337
+	 */
330 338
 	protected function updateCardData($fullname, $uri) {
331 339
 		$query = OC_DB::prepare("UPDATE `*PREFIX*{$this->table2}` SET `uri` = ? WHERE `fullname` = ?");
332 340
 		return $query->execute(array($uri, $fullname));
Please login to merge, or discard this patch.
tests/lib/db/migrator.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
 
54 54
 	/**
55
-	 * @return \Doctrine\DBAL\Schema\Schema[]
55
+	 * @return Schema[]
56 56
 	 */
57 57
 	private function getDuplicateKeySchemas() {
58 58
 		$startSchema = new Schema(array(), array(), $this->getSchemaConfig());
Please login to merge, or discard this patch.