Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
tests/phpunit/Unit/Factbox/FactboxTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SMW\Factbox\Factbox;
10 10
 use SMW\ParserData;
11 11
 use SMW\SemanticData;
12
-use SMW\TableFormatter;
13 12
 use SMW\Tests\TestEnvironment;
14 13
 use Title;
15 14
 
Please login to merge, or discard this patch.
tests/phpunit/Unit/IntlNumberFormatterTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Tests;
4 4
 
5
-use Language;
6 5
 use SMW\IntlNumberFormatter;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Api/BrowseBySubjectTest.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -221,6 +221,11 @@
 block discarded – undo
221 221
 			} );
222 222
 	}
223 223
 
224
+	/**
225
+	 * @param string $field
226
+	 * @param string $internalType
227
+	 * @param \Closure $definition
228
+	 */
224 229
 	protected function assertInternalArrayStructure( $setup, $result, $field, $internalType, $definition ) {
225 230
 
226 231
 		if ( isset( $setup[$field] ) && $setup[$field] ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\DIWikiPage;
6 6
 use SMW\MediaWiki\Api\BrowseBySubject;
7 7
 use SMW\Tests\TestEnvironment;
8
-use Title;
9 8
 
10 9
 /**
11 10
  * @covers \SMW\MediaWiki\Api\BrowseBySubject
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/ArticlePurgeTest.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\ApplicationFactory;
6
-use SMW\Factbox\FactboxCache;
7 6
 use SMW\MediaWiki\Hooks\ArticlePurge;
8 7
 use SMW\Tests\TestEnvironment;
9 8
 use SMW\Tests\Utils\Mock\MockTitle;
Please login to merge, or discard this patch.
tests/phpunit/Unit/ProcessingErrorMsgHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\DataItemFactory;
6 6
 use SMW\DIWikiPage;
7 7
 use SMW\ProcessingErrorMsgHandler;
8
-use SMW\Message;
9 8
 use SMW\Tests\TestEnvironment;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/SQLStore/SQLStoreFactoryTest.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\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\SQLStoreFactory;
6
-use SMW\Store;
7 6
 use SMW\Options;
8 7
 use SMWSQLStore3;
9 8
 use SMW\Tests\TestEnvironment;
Please login to merge, or discard this patch.
tests/phpunit/Utils/PageRefresher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SMW\ContentParser;
8 8
 use SMW\DIWikiPage;
9 9
 use SMW\MediaWiki\Jobs\UpdateJob;
10
-use SMW\Store;
11 10
 use Title;
12 11
 use WikiPage;
13 12
 
Please login to merge, or discard this patch.
src/InTextAnnotationParser.php 1 patch
Doc Comments   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 	 *
182 182
 	 * @param string $text
183 183
 	 *
184
-	 * @return text
184
+	 * @return string
185 185
 	 */
186 186
 	public static function decodeSquareBracket( $text ) {
187 187
 		return Obfuscator::decodeSquareBracket( $text );
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 	 *
193 193
 	 * @param string $text
194 194
 	 *
195
-	 * @return text
195
+	 * @return string
196 196
 	 */
197 197
 	public static function obfuscateAnnotation( $text ) {
198 198
 		return Obfuscator::obfuscateAnnotation( $text );
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 *
204 204
 	 * @param string $text
205 205
 	 *
206
-	 * @return text
206
+	 * @return string
207 207
 	 */
208 208
 	public static function removeAnnotation( $text ) {
209 209
 		return Obfuscator::removeAnnotation( $text );
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 	 *
246 246
 	 * @since 1.9
247 247
 	 *
248
-	 * @return array
248
+	 * @return string[]
249 249
 	 */
250 250
 	protected function getModules() {
251 251
 		return array(
@@ -326,6 +326,8 @@  discard block
 block discarded – undo
326 326
 	 * @since 1.9
327 327
 	 *
328 328
 	 * @param array $properties
329
+	 * @param DIWikiPage $subject
330
+	 * @param string $value
329 331
 	 *
330 332
 	 * @return string
331 333
 	 */
@@ -389,6 +391,10 @@  discard block
 block discarded – undo
389 391
 		return $this->applicationFactory->getNamespaceExaminer()->isSemanticEnabled( $title->getNamespace() );
390 392
 	}
391 393
 
394
+	/**
395
+	 * @param DIWikiPage $subject
396
+	 * @param string $value
397
+	 */
392 398
 	private function getPropertyLink( $subject, $properties, $value, $valueCaption ) {
393 399
 
394 400
 		// #1855
Please login to merge, or discard this patch.
src/ParserFunctions/InfoParserFunction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 * @param Parser $parser
32 32
 	 * @param ProcessingResult $result
33 33
 	 *
34
-	 * @return mixed
34
+	 * @return string
35 35
 	 */
36 36
 	public function handle( Parser $parser, ProcessingResult $result ) {
37 37
 		if ( $result->hasFatal() ) {
Please login to merge, or discard this patch.