Completed
Push — master ( f5d374...685013 )
by mw
47:54 queued 25:05
created
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 1 patch
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.
MediaWiki/Import/Maintenance/RebuildConceptCacheMaintenanceTest.php 1 patch
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.
tests/phpunit/Integration/MediaWiki/Import/RedirectPageTest.php 1 patch
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.
tests/phpunit/Integration/MediaWiki/Import/TimeDataTypeTest.php 1 patch
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.
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   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMW\Tests\Utils\PageCreator;
13 13
 use Title;
14 14
 use UnexpectedValueException;
15
-use User;
16 15
 use WikiPage;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/CategoryClassQueryDBIntegrationTest.php 1 patch
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.
tests/phpunit/Integration/SQLStore/RefreshSQLStoreDBIntegrationTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
 		$this->assertStoreHasDataToRefresh( true );
79 79
 	}
80 80
 
81
+	/**
82
+	 * @param boolean $useJobs
83
+	 */
81 84
 	protected function assertStoreHasDataToRefresh( $useJobs ) {
82 85
 		$refreshPosition = $this->title->getArticleID();
83 86
 
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\ApplicationFactory;
6 6
 use SMW\SchemaManager;
7 7
 use Title;
8
-use WikiPage;
9 8
 
10 9
 /**
11 10
  * @license GNU GPL v2+
Please login to merge, or discard this patch.
tests/phpunit/SemanticMediaWikiTestCase.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,6 @@
 block discarded – undo
144 144
 	/**
145 145
 	 * Returns RequestContext object
146 146
 	 *
147
-	 * @param array $params
148 147
 	 *
149 148
 	 * @return RequestContext
150 149
 	 */
Please login to merge, or discard this patch.