Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
MediaWiki/Import/Maintenance/RebuildConceptCacheMaintenanceTest.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -116,6 +116,10 @@
 block discarded – undo
116 116
 			->run();
117 117
 	}
118 118
 
119
+	/**
120
+	 * @param string $name
121
+	 * @param string $condition
122
+	 */
119 123
 	protected function createConceptPage( $name, $condition ) {
120 124
 
121 125
 		$this->pageCreator
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use ImportReporter;
7 7
 use WikiImporter;
8 8
 use RequestContext;
9
-
10 9
 use RuntimeException;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/MediaWiki/Import/RedirectPageTest.php 2 patches
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -166,6 +166,9 @@  discard block
 block discarded – undo
166 166
 		}
167 167
 	}
168 168
 
169
+	/**
170
+	 * @param \SMW\SemanticData $semanticData
171
+	 */
169 172
 	protected function assertThatSemanticDataValuesForPropertyAreSet( $expected, $semanticData ) {
170 173
 
171 174
 		$runValueAssert = false;
@@ -186,6 +189,10 @@  discard block
 block discarded – undo
186 189
 		// $this->assertTrue( $runValueAssert, __METHOD__ );
187 190
 	}
188 191
 
192
+	/**
193
+	 * @param string $source
194
+	 * @param string $target
195
+	 */
189 196
 	protected function createPageWithRedirectFor( $source, $target ) {
190 197
 
191 198
 		$this->pageCreator
@@ -195,6 +202,9 @@  discard block
 block discarded – undo
195 202
 		return $this->pageCreator->getPage();
196 203
 	}
197 204
 
205
+	/**
206
+	 * @param string $target
207
+	 */
198 208
 	protected function movePageToTargetRedirect( $page, $target ) {
199 209
 
200 210
 		$moveToTargetTitle = Title::newFromText( $target );
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 7
 use SMW\MediaWiki\Hooks\InternalParseBeforeLinks;
9
-
10 8
 use SMW\ApplicationFactory;
11 9
 use SMW\Settings;
12
-
13 10
 use Title;
14 11
 
15 12
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/MediaWiki/Import/TimeDataTypeTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -216,6 +216,9 @@
 block discarded – undo
216 216
 
217 217
 	}
218 218
 
219
+	/**
220
+	 * @param \SMW\SemanticData $semanticData
221
+	 */
219 222
 	protected function assertBatchesOfDateValues( $assertionBatches, $semanticData ) {
220 223
 		foreach ( $assertionBatches as $singleAssertionBatch ) {
221 224
 			$this->assertThatDateValuesAreSet( $singleAssertionBatch, $semanticData );
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 7
 use SMW\MediaWiki\Hooks\InternalParseBeforeLinks;
9
-
10 8
 use SMW\ApplicationFactory;
11 9
 use SMW\Settings;
12
-
13 10
 use Title;
14 11
 
15 12
 /**
Please login to merge, or discard this patch.
phpunit/Integration/MediaWiki/LinksUpdateSQLStoreDBIntegrationTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@
 block discarded – undo
163 163
 		$this->assertPropertyCount( $expected['poAfter'], $expected['storeAfter'], $parserData );
164 164
 	}
165 165
 
166
+	/**
167
+	 * @param ParserData $parserData
168
+	 */
166 169
 	protected function assertPropertyCount( $poExpected, $storeExpected, $parserData ) {
167 170
 		$this->semanticDataValidator->assertThatSemanticDataHasPropertyCountOf(
168 171
 			$poExpected['count'],
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -5,21 +5,16 @@
 block discarded – undo
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\PageCreator;
7 7
 use SMW\Tests\Utils\PageDeleter;
8
-
9 8
 use SMW\Tests\MwDBaseUnitTestCase;
10
-
11 9
 use SMW\ApplicationFactory;
12 10
 use SMW\ParserData;
13 11
 use SMW\DIWikiPage;
14 12
 use SMW\ContentParser;
15
-
16 13
 use ParserOutput;
17 14
 use LinksUpdate;
18 15
 use Revision;
19 16
 use WikiPage;
20 17
 use Title;
21
-use User;
22
-
23 18
 use UnexpectedValueException;
24 19
 
25 20
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/CategoryClassQueryDBIntegrationTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@
 block discarded – undo
111 111
 		);
112 112
 	}
113 113
 
114
+	/**
115
+	 * @param string $categoryName
116
+	 */
114 117
 	private function searchForResultsThatCompareEqualToClassOf( $categoryName ) {
115 118
 
116 119
 		$propertyValue = new PropertyValue( '__pro' );
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -4,20 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\UtilityFactory;
7
-
8 7
 use SMW\Query\Language\ThingDescription;
9 8
 use SMW\Query\Language\ClassDescription;
10 9
 use SMW\Query\Language\SomeProperty;
11
-
12 10
 use SMW\DIWikiPage;
13 11
 use SMW\DIProperty;
14 12
 use SMW\DataValueFactory;
15
-
16
-use SMWDIBlob as DIBlob;
17 13
 use SMWQuery as Query;
18
-use SMWQueryResult as QueryResult;
19
-use SMWDataValue as DataValue;
20
-use SMWDataItem as DataItem;
21 14
 use SMW\Query\PrintRequest as PrintRequest;
22 15
 use SMWPropertyValue as PropertyValue;
23 16
 
Please login to merge, or discard this patch.
Integration/Query/ComparatorFilterConditionQueryDBIntegrationTest.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -4,21 +4,14 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\UtilityFactory;
7
-
8 7
 use SMW\SPARQLStore\SPARQLStore;
9
-
10 8
 use SMW\Query\Language\ValueDescription;
11 9
 use SMW\Query\Language\SomeProperty;
12
-use SMW\Query\Language\ThingDescription;
13
-
14
-use SMW\DIWikiPage;
15 10
 use SMW\DIProperty;
16
-
17 11
 use SMWDINumber as DINumber;
18 12
 use SMWDIBlob as DIBlob;
19 13
 use SMWDITime as DITime;
20 14
 use SMWQuery as Query;
21
-use SMWQueryResult as QueryResult;
22 15
 use SMwConjunction as Conjunction;
23 16
 
24 17
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/DatePropertyValueQueryDBIntegrationTest.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -4,20 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\UtilityFactory;
7
-
8
-use SMW\DIWikiPage;
9 7
 use SMW\DIProperty;
10 8
 use SMW\DataValueFactory;
11
-
12 9
 use SMW\Query\Language\SomeProperty;
13 10
 use SMW\Query\Language\ThingDescription;
14 11
 use SMW\Query\Language\ValueDescription;
15
-
16
-use SMWDIBlob as DIBlob;
17 12
 use SMWQuery as Query;
18
-use SMWQueryResult as QueryResult;
19
-use SMWDataValue as DataValue;
20
-use SMWDataItem as DataItem;
21 13
 use SMW\Query\PrintRequest as PrintRequest;
22 14
 use SMWPropertyValue as PropertyValue;
23 15
 use SMWExporter as Exporter;
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/DisjunctionQueryDBIntegrationTest.php 1 patch
Unused Use Statements   -9 removed lines patch added patch discarded remove patch
@@ -4,23 +4,14 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\UtilityFactory;
7
-
8
-use SMW\Query\Language\ThingDescription;
9 7
 use SMW\Query\Language\ValueDescription;
10
-use SMW\Query\Language\Conjunction;
11 8
 use SMW\Query\Language\Disjunction;
12 9
 use SMW\Query\Language\ClassDescription;
13 10
 use SMW\Query\Language\SomeProperty;
14
-
15 11
 use SMW\DIWikiPage;
16 12
 use SMW\DIProperty;
17
-use SMW\SemanticData;
18
-
19 13
 use SMWQueryParser as QueryParser;
20
-use SMWDIBlob as DIBlob;
21
-use SMWDINumber as DINumber;
22 14
 use SMWQuery as Query;
23
-use SMWPropertyValue as PropertyValue;
24 15
 
25 16
 /**
26 17
  *
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/GeneralQueryDBIntegrationTest.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,16 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\MwDBaseUnitTestCase;
6 6
 use SMW\Tests\Utils\UtilityFactory;
7
-
8 7
 use SMW\Query\Language\ThingDescription;
9 8
 use SMW\Query\Language\SomeProperty;
10
-
11
-use SMW\DIWikiPage;
12 9
 use SMW\DIProperty;
13 10
 use SMW\DataValueFactory;
14
-
15 11
 use SMWQuery as Query;
16
-use SMWQueryResult as QueryResult;
17 12
 use SMW\Query\PrintRequest as PrintRequest;
18 13
 use SMWPropertyValue as PropertyValue;
19 14
 
Please login to merge, or discard this patch.