Completed
Push — master ( f835ba...dee201 )
by mw
47:53 queued 08:25
created
src/SQLStore/QueryDependency/QueryResultDependencyListResolver.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\SQLStoreFactory;
6
-use SMW\Store;
7 6
 use SMWSQLStore3;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@  discard block
 block discarded – undo
170 170
 		return $dependencySubjectList;
171 171
 	}
172 172
 
173
+	/**
174
+	 * @param DIWikiPage[] $subjects
175
+	 */
173 176
 	private function doResolveDependenciesFromDescription( &$subjects, $description ) {
174 177
 
175 178
 		if ( $description instanceof ValueDescription && $description->getDataItem() instanceof DIWikiPage ) {
@@ -249,6 +252,9 @@  discard block
 block discarded – undo
249 252
 		}
250 253
 	}
251 254
 
255
+	/**
256
+	 * @param DIWikiPage|null $subject
257
+	 */
252 258
 	private function doMatchSubproperty( &$subjects, $subject, DIProperty $property ) {
253 259
 
254 260
 		$subproperties = array();
Please login to merge, or discard this patch.
src/ApplicationFactory.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	/**
203 203
 	 * @since 2.0
204 204
 	 *
205
-	 * @return Cache
205
+	 * @return string
206 206
 	 */
207 207
 	public function getCache() {
208 208
 		return $this->callbackLoader->singleton( 'Cache' );
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 	/**
308 308
 	 * @since 2.4
309 309
 	 *
310
-	 * @return MediaWikiNsContentReader
310
+	 * @return MediaWiki\MediaWikiNsContentReader
311 311
 	 */
312 312
 	public function getMediaWikiNsContentReader() {
313 313
 		return $this->callbackLoader->singleton( 'MediaWikiNsContentReader' );
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use SMW\MediaWiki\MwCollaboratorFactory;
14 14
 use SMW\MediaWiki\PageCreator;
15 15
 use SMW\MediaWiki\TitleCreator;
16
-use SMW\Query\ProfileAnnotator\QueryProfileAnnotatorFactory;
17 16
 use SMWQueryParser as QueryParser;
18 17
 use Title;
19 18
 
Please login to merge, or discard this patch.
src/DataValues/AllowsPatternValue.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * @see DataValue::parseUserValue
31 31
 	 *
32
-	 * @param string $value
33 32
 	 */
34 33
 	protected function parseUserValue( $userValue ) {
35 34
 
Please login to merge, or discard this patch.
src/DataValues/ValueParsers/AllowsPatternContentParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 		return $contentList[$userValue];
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $contents
67
+	 */
65 68
 	private function doParseContent( $contents ) {
66 69
 
67 70
 		$list = array();
Please login to merge, or discard this patch.
src/Maintenance/DistinctEntityDataRebuilder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
 	/**
72 72
 	 * @since 2.1
73 73
 	 *
74
-	 * @param MessageReporter $reporter
75 74
 	 */
76 75
 	public function setOptions( Options $options ) {
77 76
 		$this->options = $options;
@@ -281,6 +280,10 @@  discard block
 block discarded – undo
281 280
 		}
282 281
 	}
283 282
 
283
+	/**
284
+	 * @param boolean $verbose
285
+	 * @param string $progress
286
+	 */
284 287
 	private function doPrintDotProgressIndicator( $verbose, $progress ) {
285 288
 
286 289
 		if ( ( $this->rebuildCount - 1 ) % 60 === 0 ) {
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_Writers.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
89 89
 		\Hooks::run( 'SMW::SQLStore::AfterDeleteSubjectComplete', array( $this->store, $title ) );
90 90
 	}
91 91
 
92
+	/**
93
+	 * @param DIWikiPage $subject
94
+	 */
92 95
 	private function doDeleteFor( $id, $subject, $subobjects ) {
93 96
 
94 97
 		if ( $subject->getNamespace() === SMW_NS_CONCEPT ) { // make sure to clear caches
@@ -128,7 +131,6 @@  discard block
 block discarded – undo
128 131
 	 * @see SMWStore::doDataUpdate
129 132
 	 *
130 133
 	 * @since 1.8
131
-	 * @param SMWSemanticData $data
132 134
 	 */
133 135
 	public function doDataUpdate( SMWSemanticData $semanticData ) {
134 136
 		\Hooks::run( 'SMWSQLStore3::updateDataBefore', array( $this->store, $semanticData ) );
@@ -987,6 +989,9 @@  discard block
 block discarded – undo
987 989
 		return ( $new_tid == 0 ) ? $sid : $new_tid;
988 990
 	}
989 991
 
992
+	/**
993
+	 * @param integer $redirectId
994
+	 */
990 995
 	private function addToDeferredUpdate( $oldTitle, $newTitle, $redirectId ) {
991 996
 
992 997
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/DependencyLinksTableUpdater.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,6 @@
 block discarded – undo
99 99
 	/**
100 100
 	 * @since 2.4
101 101
 	 *
102
-	 * @param array $dependencyList
103 102
 	 */
104 103
 	public function deleteDependenciesFromList( array $deleteIdList ) {
105 104
 
Please login to merge, or discard this patch.
src/Maintenance/DataRebuilder.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,6 +305,9 @@  discard block
 block discarded – undo
305 305
 		return true;
306 306
 	}
307 307
 
308
+	/**
309
+	 * @param double $byIdDataRebuildDispatcher
310
+	 */
308 311
 	private function doExecuteFor( $byIdDataRebuildDispatcher, &$id ) {
309 312
 
310 313
 		if ( !$this->options->has( 'ignore-exceptions' ) ) {
@@ -388,6 +391,9 @@  discard block
 block discarded – undo
388 391
 		return true;
389 392
 	}
390 393
 
394
+	/**
395
+	 * @param double $byIdDataRebuildDispatcher
396
+	 */
391 397
 	private function deleteMarkedSubjects( $byIdDataRebuildDispatcher ) {
392 398
 
393 399
 		$matches = array();
@@ -421,6 +427,9 @@  discard block
 block discarded – undo
421 427
 		$this->reportMessage( "\n\n{$matchesCount} IDs removed.\n\n" );
422 428
 	}
423 429
 
430
+	/**
431
+	 * @param string $startIdFile
432
+	 */
424 433
 	private function idFileIsWritable( $startIdFile ) {
425 434
 
426 435
 		if ( !is_writable( file_exists( $startIdFile ) ? $startIdFile : dirname( $startIdFile ) ) ) {
@@ -437,7 +446,7 @@  discard block
 block discarded – undo
437 446
 	}
438 447
 
439 448
 	/**
440
-	 * @param array $options
449
+	 * @param Options $options
441 450
 	 */
442 451
 	private function setFiltersFromOptions( Options $options ) {
443 452
 		$this->filters = array();
@@ -457,6 +466,10 @@  discard block
 block discarded – undo
457 466
 		}
458 467
 	}
459 468
 
469
+	/**
470
+	 * @param boolean $verbose
471
+	 * @param string $progress
472
+	 */
460 473
 	private function doPrintDotProgressIndicator( $verbose, $progress ) {
461 474
 
462 475
 		if ( ( $this->rebuildCount - 1 ) % 60 === 0 ) {
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_Property.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -259,6 +259,7 @@  discard block
 block discarded – undo
259 259
 	/**
260 260
 	 * @since  2.0
261 261
 	 *
262
+	 * @param string $propertyTypeId
262 263
 	 * @return self
263 264
 	 * @throws RuntimeException
264 265
 	 * @throws InvalidArgumentException
@@ -391,6 +392,7 @@  discard block
 block discarded – undo
391 392
 
392 393
 	/**
393 394
 	 * @deprecated since 2.1, use PropertyRegistry::findPropertyIdByLabel
395
+	 * @param string $label
394 396
 	 */
395 397
 	public static function findPropertyID( $label, $useAlias = true ) {
396 398
 		return PropertyRegistry::getInstance()->findPropertyIdByLabel( $label, $useAlias );
@@ -424,6 +426,9 @@  discard block
 block discarded – undo
424 426
 		PropertyRegistry::getInstance()->registerPropertyAlias( $id, $label );
425 427
 	}
426 428
 
429
+	/**
430
+	 * @param string $subobjectName
431
+	 */
427 432
 	private function newDIWikiPage( $dbkey, $subobjectName ) {
428 433
 
429 434
 		// If an inverse marker is present just omit the marker so a normal
Please login to merge, or discard this patch.