Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
tests/phpunit/Benchmark/PageImportBenchmarkRunner.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@
 block discarded – undo
96 96
 		}
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param string $file
101
+	 */
99 102
 	private function doXmlImport( $file, array $case ) {
100 103
 
101 104
 		$this->xmlImportRunner->setFile( $file );
Please login to merge, or discard this patch.
tests/phpunit/Benchmark/QueryBenchmarkRunner.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@
 block discarded – undo
101 101
 		);
102 102
 	}
103 103
 
104
+	/**
105
+	 * @param Query $query
106
+	 */
104 107
 	private function doQuery( array $case, $query ) {
105 108
 
106 109
 		$this->benchmarker->clear();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 use SMWQuery as Query;
9 9
 use SMW\Store;
10 10
 use SMWQueryParser as QueryParser;
11
-use SMWQueryResult as QueryResult;
12
-use Title;
13 11
 use RuntimeException;
14 12
 
15 13
 /**
Please login to merge, or discard this patch.
tests/phpunit/Utils/Runners/XmlImportRunner.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
 	 */
32 32
 	private $testEnvironment;
33 33
 
34
+	/**
35
+	 * @param string $file
36
+	 */
34 37
 	public function __construct( $file = null ) {
35 38
 		$this->file = $file;
36 39
 		$this->testEnvironment = new TestEnvironment();
@@ -130,7 +133,7 @@  discard block
 block discarded – undo
130 133
 	}
131 134
 
132 135
 	/**
133
-	 * @return integer
136
+	 * @return double
134 137
 	 */
135 138
 	public function getElapsedImportTimeInSeconds() {
136 139
 		return round( $this->importTime, 7 );
@@ -145,6 +148,9 @@  discard block
 block discarded – undo
145 148
 		return $this->requestContext;
146 149
 	}
147 150
 
151
+	/**
152
+	 * @param string $file
153
+	 */
148 154
 	private function assertThatFileIsReadableOrThrowException( $file ) {
149 155
 
150 156
 		$file = str_replace( array( '\\', '/' ), DIRECTORY_SEPARATOR, $file );
Please login to merge, or discard this patch.
includes/articlepages/SMW_PropertyPage.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\Localizer;
6 6
 use SMW\RequestOptions;
7 7
 use SMW\StringCondition;
8
-use SMW\PropertyRegistry;
9 8
 use SMWDataValue as DataValue;
10 9
 use SMW\DataValues\ValueFormatters\DataValueFormatter;
11 10
 use SMW\DIProperty;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -163,6 +163,10 @@  discard block
 block discarded – undo
163 163
 	 * Get the HTML for displaying subproperties of this property. This list
164 164
 	 * is usually short and we implement no additional navigation.
165 165
 	 *
166
+	 * @param DIProperty $property
167
+	 * @param RequestOptions $requestOptions
168
+	 * @param integer $listLimit
169
+	 * @param string $header
166 170
 	 * @return string
167 171
 	 */
168 172
 	protected function getPropertyList( $property, $requestOptions, $listLimit, $header ) {
@@ -374,6 +378,9 @@  discard block
 block discarded – undo
374 378
 		return $this->store->getQueryResult( $query )->getResults();
375 379
 	}
376 380
 
381
+	/**
382
+	 * @return null|SMW\SemanticData
383
+	 */
377 384
 	private function getSemanticData() {
378 385
 
379 386
 		$applicationFactory = ApplicationFactory::getInstance();
Please login to merge, or discard this patch.
src/PropertyHierarchyLookup.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -160,6 +160,11 @@  discard block
 block discarded – undo
160 160
 		return $this->doFind( '_SUBC', $category->getDBKey(), $category, new RequestOptions() );
161 161
 	}
162 162
 
163
+	/**
164
+	 * @param string $id
165
+	 * @param string $key
166
+	 * @param RequestOptions $requestOptions
167
+	 */
163 168
 	private function doFind( $id, $key, DIWikiPage $subject, $requestOptions ) {
164 169
 
165 170
 		$key = $id . '#' . $key . '#' . md5( $requestOptions->getHash() );
@@ -184,6 +189,9 @@  discard block
 block discarded – undo
184 189
 		return $result;
185 190
 	}
186 191
 
192
+	/**
193
+	 * @param string $message
194
+	 */
187 195
 	private function log( $message, $context = array() ) {
188 196
 
189 197
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
src/RequestOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 	 *
89 89
 	 * @since 1.0
90 90
 	 *
91
-	 * @return array
91
+	 * @return StringCondition[]
92 92
 	 */
93 93
 	public function getStringConditions() {
94 94
 		return $this->stringConditions;
Please login to merge, or discard this patch.
src/PermissionPthValidator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
87 87
 		return true;
88 88
 	}
89 89
 
90
+	/**
91
+	 * @param string $action
92
+	 */
90 93
 	private function checkMwNamespaceEditPermission( Title &$title, User $user, $action, &$errors ) {
91 94
 
92 95
 		// @see https://www.semantic-mediawiki.org/wiki/Help:Special_property_Allows_pattern
@@ -99,6 +102,9 @@  discard block
 block discarded – undo
99 102
 		return false;
100 103
 	}
101 104
 
105
+	/**
106
+	 * @param string $action
107
+	 */
102 108
 	private function checkPermissionOn( Title &$title, User $user, $action, &$errors ) {
103 109
 
104 110
 		// @see https://www.semantic-mediawiki.org/wiki/Help:Special_property_Is_edit_protected
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/EditPageFormTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\MediaWiki\Hooks\EditPageForm;
6
-use SMW\MediaWiki\Renderer\HtmlFormRenderer;
7 6
 use Title;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/MediaWiki/Renderer/HtmlFormRenderer.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,7 +182,6 @@  discard block
 block discarded – undo
182 182
 	/**
183 183
 	 * @since 2.1
184 184
 	 *
185
-	 * @param string $description
186 185
 	 * @param array $attributes
187 186
 	 *
188 187
 	 * @return HtmlFormRenderer
@@ -217,8 +216,8 @@  discard block
 block discarded – undo
217 216
 	/**
218 217
 	 * @since 2.1
219 218
 	 *
220
-	 * @param $level
221
-	 * @param $text
219
+	 * @param string $level
220
+	 * @param string $text
222 221
 	 *
223 222
 	 * @return HtmlFormRenderer
224 223
 	 */
Please login to merge, or discard this patch.