Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
tests/phpunit/includes/SetupTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
 		return $this->buildDataProvider( 'wgExtensionMessagesFiles', $modules, '' );
281 281
 	}
282 282
 
283
+	/**
284
+	 * @param string $target
285
+	 */
283 286
 	private function assertArrayEntryExists( $target, $entry, $config, $type = 'class' ) {
284 287
 
285 288
 		$config = $config + $this->defaultConfig;
@@ -305,6 +308,9 @@  discard block
 block discarded – undo
305 308
 	}
306 309
 
307 310
 	/**
311
+	 * @param string $id
312
+	 * @param string[] $definitions
313
+	 * @param string $default
308 314
 	 * @return array
309 315
 	 */
310 316
 	private function buildDataProvider( $id, $definitions, $default ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/specials/SpecialsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	/**
44 44
 	 * Returns the name of the class to be tested
45 45
 	 *
46
-	 * @return string|false
46
+	 * @return boolean
47 47
 	 */
48 48
 	public function getClass() {
49 49
 		return false;
Please login to merge, or discard this patch.
tests/phpunit/includes/storage/sqlstore/DIHandlerWikiPageTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use SMW\InvalidPredefinedPropertyException;
6 6
 use SMW\StoreFactory;
7
-
8 7
 use SMWDIHandlerWikiPage;
9
-use SMWDIProperty;
10 8
 
11 9
 /**
12 10
  * Tests for the SMWDIHandlerWikiPage class
Please login to merge, or discard this patch.
tests/phpunit/includes/storage/sqlstore/SQLStoreTest.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\Test\SQLStore;
4 4
 
5 5
 use SMWSQLStore3;
6
-use SMW\Settings;
7 6
 use SMW\ApplicationFactory;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/ByJsonScript/ParserTestCaseProcessor.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
 	 * @param Store
43 43
 	 * @param SemanticDataValidator
44 44
 	 * @param StringValidator
45
+	 * @param \SMW\Store $store
46
+	 * @param \SMW\Tests\Utils\Validators\SemanticDataValidator $semanticDataValidator
47
+	 * @param \SMW\Tests\Utils\Validators\StringValidator $stringValidator
45 48
 	 */
46 49
 	public function __construct( $store, $semanticDataValidator, $stringValidator ) {
47 50
 		$this->store = $store;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Tests\Integration\ByJsonScript;
4 4
 
5
-use SMW\Tests\ByJsonTestCaseProvider;
6
-use SMW\Tests\JsonTestCaseFileHandler;
7 5
 use SMW\Tests\Utils\UtilityFactory;
8 6
 use SMW\DIWikiPage;
9 7
 
Please login to merge, or discard this patch.
tests/phpunit/Integration/ByJsonScript/QueryTestCaseInterpreter.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -250,6 +250,7 @@
 block discarded – undo
250 250
 	/**
251 251
 	 * @since 2.2
252 252
 	 *
253
+	 * @param string $id
253 254
 	 * @return array
254 255
 	 */
255 256
 	public function getExpectedFormatOuputFor( $id ) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,10 +3,7 @@
 block discarded – undo
3 3
 namespace SMW\Tests\Integration\ByJsonScript;
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6
-
7
-use SMW\FileReader;
8 6
 use SMW\DIWikiPage;
9
-use SMW\DIProperty;
10 7
 use SMW\DataTypeRegistry;
11 8
 use SMW\DataValueFactory;
12 9
 use SMW\Query\PrintRequest as PrintRequest;
Please login to merge, or discard this patch.
tests/phpunit/Integration/ByJsonScript/QueryTestCaseProcessor.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -37,6 +37,8 @@  discard block
 block discarded – undo
37 37
 	 * @since 2.2
38 38
 	 *
39 39
 	 * @param Store $store
40
+	 * @param \SMW\Tests\Utils\Validators\QueryResultValidator $queryResultValidator
41
+	 * @param \SMW\Tests\Utils\Validators\StringValidator $stringValidator
40 42
 	 */
41 43
 	public function __construct( Store $store, $queryResultValidator, $stringValidator ) {
42 44
 		$this->store = $store;
@@ -219,6 +221,9 @@  discard block
 block discarded – undo
219 221
 		);
220 222
 	}
221 223
 
224
+	/**
225
+	 * @param string $about
226
+	 */
222 227
 	private function printDescriptionToOutput( $about, $description ) {
223 228
 
224 229
 		if ( !$this->debug ) {
@@ -229,6 +234,9 @@  discard block
 block discarded – undo
229 234
 		print_r( $description );
230 235
 	}
231 236
 
237
+	/**
238
+	 * @param \SMWQueryResult $queryResult
239
+	 */
232 240
 	private function printQueryResultToOutput( $queryResult ) {
233 241
 
234 242
 		if ( !$this->debug ) {
Please login to merge, or discard this patch.
tests/phpunit/Integration/MediaWiki/ApiBrowseBySubjectDBIntegrationTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@
 block discarded – undo
133 133
 		);
134 134
 	}
135 135
 
136
+	/**
137
+	 * @param string $subject
138
+	 */
136 139
 	private function newBrowseBySubject( $subject, $asRawMode = false ) {
137 140
 
138 141
 		$instance = new BrowseBySubject(
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\MwApiFactory;
7 7
 use SMW\Tests\Utils\SemanticDataFactory;
8
-
9 8
 use SMW\MediaWiki\Api\BrowseBySubject;
10
-
11 9
 use SMW\SemanticData;
12
-use SMW\DIWikiPage;
13 10
 use SMW\DataValueFactory;
14 11
 use SMW\Subobject;
15 12
 use SMW\SerializerFactory;
Please login to merge, or discard this patch.
phpunit/Integration/MediaWiki/Hooks/ParserAfterTidyIntegrationTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace SMW\Tests\Integration\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6
-
7 6
 use SMW\ApplicationFactory;
8 7
 
9
-use Title;
10
-
11 8
 /**
12 9
  * @group semantic-mediawiki
13 10
  * @group medium
Please login to merge, or discard this patch.