Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
tests/phpunit/Integration/MediaWiki/Hooks/FileUploadIntegrationTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,6 @@
 block discarded – undo
5 5
 use SMW\DIWikiPage;
6 6
 use SMW\Localizer;
7 7
 use SMW\Tests\MwDBaseUnitTestCase;
8
-use SMW\Tests\Utils\UtilityFactory;
9
-use SMW\Tests\TestEnvironment;
10
-use Title;
11 8
 
12 9
 /**
13 10
  * @group SMW
Please login to merge, or discard this patch.
includes/storage/SMW_Store.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@
 block discarded – undo
90 90
 	/**
91 91
 	 * @see EntityLookup::getInProperties
92 92
 	 *
93
-	 * @param DataItem $object
94
-	 * @param RequestOptions|null $requestOptions
93
+	 * @param SMWDataItem $object
94
+	 * @param RequestOptions|null $requestoptions
95 95
 	 *
96 96
 	 * @return DataItem[]|[]
97 97
 	 */
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use SMW\DataTypeRegistry;
4 3
 use SMW\DIConcept;
5 4
 use SMW\DIProperty;
6 5
 use SMW\DIWikiPage;
Please login to merge, or discard this patch.
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -198,12 +198,15 @@  discard block
 block discarded – undo
198 198
 		return $this->reader;
199 199
 	}
200 200
 
201
+	/**
202
+	 * @return SemanticData
203
+	 */
201 204
 	public function getSemanticData( DIWikiPage $subject, $filter = false ) {
202 205
 		return $this->getEntityLookup()->getSemanticData( $subject, $filter );
203 206
 	}
204 207
 
205 208
 	/**
206
-	 * @param mixed $subject
209
+	 * @param DIWikiPage $subject
207 210
 	 * @param DIProperty $property
208 211
 	 * @param null $requestOptions
209 212
 	 *
@@ -334,7 +337,7 @@  discard block
 block discarded – undo
334 337
 	/**
335 338
 	 * @param RequestOptions|null $requestOptions
336 339
 	 *
337
-	 * @return CachedListLookup
340
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
338 341
 	 */
339 342
 	public function getPropertiesSpecial( $requestOptions = null ) {
340 343
 		return $this->factory->newPropertyUsageCachedListLookup( $requestOptions );
@@ -343,7 +346,7 @@  discard block
 block discarded – undo
343 346
 	/**
344 347
 	 * @param RequestOptions|null $requestOptions
345 348
 	 *
346
-	 * @return CachedListLookup
349
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
347 350
 	 */
348 351
 	public function getUnusedPropertiesSpecial( $requestOptions = null ) {
349 352
 		return $this->factory->newUnusedPropertyCachedListLookup( $requestOptions );
@@ -352,7 +355,7 @@  discard block
 block discarded – undo
352 355
 	/**
353 356
 	 * @param RequestOptions|null $requestOptions
354 357
 	 *
355
-	 * @return CachedListLookup
358
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
356 359
 	 */
357 360
 	public function getWantedPropertiesSpecial( $requestOptions = null ) {
358 361
 		return $this->factory->newUndeclaredPropertyCachedListLookup( $requestOptions );
@@ -445,7 +448,7 @@  discard block
 block discarded – undo
445 448
 	 * @since 1.8
446 449
 	 *
447 450
 	 * @param SMWRequestOptions|null $requestOptions
448
-	 * @param string $valuecol
451
+	 * @param string $valueCol
449 452
 	 *
450 453
 	 * @return array
451 454
 	 */
Please login to merge, or discard this patch.
src/EntityLookup.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 * @since 2.5
28 28
 	 *
29 29
 	 * @param DIWikiPage $subject
30
-	 * @param string[]|bool $filter
30
+	 * @param boolean $filter
31 31
 	 *
32 32
 	 * @return SemanticData
33 33
 	 */
@@ -70,7 +70,6 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @since 2.5
72 72
 	 *
73
-	 * @param DIWikiPage|null $subject
74 73
 	 * @param DIProperty $property
75 74
 	 * @param RequestOptions|null $requestOptions
76 75
 	 *
@@ -110,6 +109,7 @@  discard block
 block discarded – undo
110 109
 	 * @since 2.5
111 110
 	 *
112 111
 	 * @param DIWikiPage|null $subject
112
+	 * @return void
113 113
 	 */
114 114
 	public function resetCacheBy( DIWikiPage $subject = null );
115 115
 
Please login to merge, or discard this patch.
src/SQLStore/EntityStore/DataItemHandlerDispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
 		return $this->handlers[$type] = $this->newHandlerByType( $type );
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $type
63
+	 */
61 64
 	private function newHandlerByType( $type ) {
62 65
 
63 66
 		switch ( $type ) {
Please login to merge, or discard this patch.
src/ParserFunctionFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 	 *
181 181
 	 * @param Parser $parser
182 182
 	 *
183
-	 * @return SubobjectParserFunction
183
+	 * @return SubobjectParserFunc
184 184
 	 */
185 185
 	public function newSubobjectParserFunction( Parser $parser ) {
186 186
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 	 *
210 210
 	 * @param Parser $parser
211 211
 	 *
212
-	 * @return RecurringEventsParserFunction
212
+	 * @return RecurringEventsParserFunc
213 213
 	 */
214 214
 	public function newRecurringEventsParserFunction( Parser $parser ) {
215 215
 
Please login to merge, or discard this patch.
src/Query/DebugOutputFormatter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	 * @note All strings given must be usable and safe in wiki and HTML
22 22
 	 * contexts.
23 23
 	 *
24
-	 * @param $storeName string name of the storage backend for which this is generated
24
+	 * @param string $storeName string name of the storage backend for which this is generated
25 25
 	 * @param $entries array of name => value of informative entries to display
26 26
 	 * @param $query SMWQuery or null, if given add basic data about this query as well
27 27
 	 *
@@ -72,7 +72,6 @@  discard block
 block discarded – undo
72 72
 	 * @since 2.5
73 73
 	 *
74 74
 	 * @param string $type
75
-	 * @param array $rows
76 75
 	 *
77 76
 	 * @return string
78 77
 	 */
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryDependencyLinksStore.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\ApplicationFactory;
6 6
 use SMW\DIProperty;
7 7
 use SMW\DIWikiPage;
8
-use SMW\EventHandler;
9 8
 use SMW\SQLStore\CompositePropertyTableDiffIterator;
10 9
 use SMW\Store;
11 10
 use SMW\RequestOptions;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -404,6 +404,9 @@
 block discarded – undo
404 404
 		return $row !== false && $suppressUpdateCache[$hash] > wfTimestamp( TS_MW );
405 405
 	}
406 406
 
407
+	/**
408
+	 * @param string $message
409
+	 */
407 410
 	private function log( $message, $context = array() ) {
408 411
 
409 412
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
tests/phpunit/Integration/ExtraneousLanguage/LanguageContentTest.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\Integration\ExtraneousLanguage;
4 4
 
5 5
 use SMW\ExtraneousLanguage\ExtraneousLanguage;
6
-use SMW\Tests\TestEnvironment;
7 6
 
8 7
 /**
9 8
  * @group semantic-mediawiki
Please login to merge, or discard this patch.