Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
tests/phpunit/JsonTestCaseFileHandler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@  discard block
 block discarded – undo
120 120
 	/**
121 121
 	 * @since 2.2
122 122
 	 *
123
+	 * @param string $version
123 124
 	 * @return boolean
124 125
 	 */
125 126
 	public function requiredToSkipForJsonVersion( $version ) {
@@ -305,6 +306,11 @@  discard block
 block discarded – undo
305 306
 		} );
306 307
 	}
307 308
 
309
+	/**
310
+	 * @param string $index
311
+	 *
312
+	 * @return string
313
+	 */
308 314
 	private function getFileContentsFor( $index ) {
309 315
 
310 316
 		$contents = $this->fileReader->read();
Please login to merge, or discard this patch.
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.
includes/datavalues/SMW_DV_Property.php 2 patches
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 * the provided name is not allowed. An object is returned
83 83
 	 * in any case.
84 84
 	 *
85
-	 * @param string $propertyName
85
+	 * @param string $propertyLabel
86 86
 	 *
87 87
 	 * @return SMWPropertyValue
88 88
 	 */
@@ -247,6 +247,9 @@  discard block
 block discarded – undo
247 247
 		}
248 248
 	}
249 249
 
250
+	/**
251
+	 * @param boolean $isinverse
252
+	 */
250 253
 	public function setInverse( $isinverse ) {
251 254
 		return $this->m_dataitem = new DIProperty( $this->m_dataitem->getKey(), ( $isinverse == true ) );
252 255
 	}
@@ -448,6 +451,9 @@  discard block
 block discarded – undo
448 451
 		return $this->m_dataitem->getLabel();
449 452
 	}
450 453
 
454
+	/**
455
+	 * @param string $value
456
+	 */
451 457
 	private function doNormalizeUserValue( $value ) {
452 458
 
453 459
 		if (
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 use SMW\DataValues\ValueFormatters\DataValueFormatter;
5 5
 use SMW\DataValueFactory;
6 6
 use SMW\DIProperty;
7
-use SMW\Highlighter;
8
-use SMW\Message;
9 7
 
10 8
 /**
11 9
  * Objects of this class represent properties in SMW.
Please login to merge, or discard this patch.