Completed
Push — master ( 99c28a...4c4331 )
by Robin
47:48
created
build/integration/features/bootstrap/BasicStructure.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@  discard block
 block discarded – undo
93 93
 
94 94
 	/**
95 95
 	 * @When /^sending "([^"]*)" to "([^"]*)" with$/
96
-	 * @param \Behat\Gherkin\Node\TableNode|null $formData
97 96
 	 */
98 97
 	public function sendingToWith($verb, $url, $body) {
99 98
 		$fullUrl = $this->baseUrl . "v{$this->apiVersion}.php" . $url;
@@ -136,6 +135,10 @@  discard block
 block discarded – undo
136 135
 		PHPUnit_Framework_Assert::assertEquals($statusCode, $this->response->getStatusCode());
137 136
 	}
138 137
 
138
+	/**
139
+	 * @param string $path
140
+	 * @param string $filename
141
+	 */
139 142
 	public static function removeFile($path, $filename){
140 143
 		if (file_exists("$path" . "$filename")) {
141 144
 			unlink("$path" . "$filename");
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6 4
 use GuzzleHttp\Message\ResponseInterface;
7 5
 
Please login to merge, or discard this patch.
build/integration/features/bootstrap/Provisioning.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6 4
 use GuzzleHttp\Message\ResponseInterface;
7 5
 
Please login to merge, or discard this patch.
build/integration/features/bootstrap/Sharing.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 
20 20
 	/**
21 21
 	 * @When /^creating a share with$/
22
-	 * @param \Behat\Gherkin\Node\TableNode|null $formData
23 22
 	 */
24 23
 	public function creatingShare($body) {
25 24
 		$fullUrl = $this->baseUrl . "v{$this->apiVersion}.php/apps/files_sharing/api/v1/shares";
@@ -149,6 +148,9 @@  discard block
 block discarded – undo
149 148
 		PHPUnit_Framework_Assert::assertEquals(200, $this->response->getStatusCode());
150 149
 	}
151 150
 
151
+	/**
152
+	 * @param integer $shareType
153
+	 */
152 154
 	public function createShare($user,
153 155
 								$path = null,
154 156
 								$shareType = null,
@@ -356,7 +358,6 @@  discard block
 block discarded – undo
356 358
 
357 359
 	/**
358 360
 	 * @Then /^Share fields of last share match with$/
359
-	 * @param \Behat\Gherkin\Node\TableNode|null $formData
360 361
 	 */
361 362
 	public function checkShareFields($body){
362 363
 		if ($body instanceof \Behat\Gherkin\Node\TableNode) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Message\ResponseInterface;
7 4
 
8 5
 require __DIR__ . '/../../vendor/autoload.php';
9 6
 
Please login to merge, or discard this patch.
build/integration/features/bootstrap/WebDav.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 		$this->davPath = $davPath;
21 21
 	}	
22 22
 
23
+	/**
24
+	 * @param string $method
25
+	 */
23 26
 	public function makeDavRequest($user, $method, $path, $headers){
24 27
 		$fullUrl = substr($this->baseUrl, 0, -4) . $this->davPath . "$path";
25 28
 		$client = new Client();
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Message\ResponseInterface;
7 4
 
8 5
 require __DIR__ . '/../../vendor/autoload.php';
9 6
 
Please login to merge, or discard this patch.
lib/private/user/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
 	/**
311 311
 	 * get the users email address
312 312
 	 *
313
-	 * @return string|null
313
+	 * @return string
314 314
 	 * @since 9.0.0
315 315
 	 */
316 316
 	public function getEMailAddress() {
Please login to merge, or discard this patch.