Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
tests/phpunit/Integration/SQLStore/RefreshSQLStoreDBIntegrationTest.php 1 patch
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.
tests/phpunit/JsonTestCaseFileHandler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -136,6 +136,7 @@  discard block
 block discarded – undo
136 136
 	/**
137 137
 	 * @since 2.2
138 138
 	 *
139
+	 * @param string $key
139 140
 	 * @return array|integer|string|boolean
140 141
 	 * @throws RuntimeException
141 142
 	 */
@@ -223,6 +224,11 @@  discard block
 block discarded – undo
223 224
 		return $this->getContentsFor( $key );
224 225
 	}
225 226
 
227
+	/**
228
+	 * @param string $index
229
+	 *
230
+	 * @return string
231
+	 */
226 232
 	private function getFileContentsFor( $index ) {
227 233
 
228 234
 		$contents = $this->fileReader->read();
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.
tests/phpunit/Unit/DataTypeRegistryTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -195,6 +195,9 @@  discard block
 block discarded – undo
195 195
 		}
196 196
 	}
197 197
 
198
+	/**
199
+	 * @param string $inputLabel
200
+	 */
198 201
 	protected function assertRegistryFindsIdForLabels( $inputLabel, array $equivalentLabels ) {
199 202
 		$id = '_wpg';
200 203
 
@@ -209,6 +212,9 @@  discard block
 block discarded – undo
209 212
 		}
210 213
 	}
211 214
 
215
+	/**
216
+	 * @param string $inputLabel
217
+	 */
212 218
 	protected function assertRegistryFindsIdForAliases( $inputLabel, array $equivalentLabels ) {
213 219
 		$id = '_wpg';
214 220
 
Please login to merge, or discard this patch.
tests/phpunit/Unit/Factbox/CachedFactboxTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param CachedFactbox $instance
127
+	 */
125 128
 	public function assertPreProcess( $expected, $result, $outputPage, $instance ) {
126 129
 
127 130
 		if ( $expected['text'] ) {
@@ -150,6 +153,9 @@  discard block
 block discarded – undo
150 153
 		}
151 154
 	}
152 155
 
156
+	/**
157
+	 * @param CachedFactbox $instance
158
+	 */
153 159
 	public function assertPostProcess( $expected, $result, $outputPage, $instance ) {
154 160
 
155 161
 		$this->assertEquals(
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Api/BrowseBySubjectTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -164,6 +164,11 @@
 block discarded – undo
164 164
 		} );
165 165
 	}
166 166
 
167
+	/**
168
+	 * @param string $field
169
+	 * @param string $internalType
170
+	 * @param \Closure $definition
171
+	 */
167 172
 	protected function assertInternalArrayStructure( $setup, $result, $field, $internalType, $definition ) {
168 173
 
169 174
 		if ( isset( $setup[$field] ) && $setup[$field] ) {
Please login to merge, or discard this patch.
tests/phpunit/Unit/SPARQLStore/QueryEngine/XmlResponseParserTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
 		$instance->parse( $rawResultProvider->getInvalidSparqlResultXml() );
56 56
 	}
57 57
 
58
+	/**
59
+	 * @param \SMW\SPARQLStore\QueryEngine\RepositoryResult $results
60
+	 */
58 61
 	protected function assertResultFormat( $expectedResultRowItemInstance, $results ) {
59 62
 
60 63
 		if ( !is_array( $expectedResultRowItemInstance ) ) {
Please login to merge, or discard this patch.
tests/phpunit/Unit/SPARQLStore/RedirectLookupTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		$this->assertFalse( $exists );
244 244
 	}
245 245
 
246
+	/**
247
+	 * @return \SMW\SPARQLStore\RepositoryConnection
248
+	 */
246 249
 	private function createRepositoryConnectionMockToUse( $listReturnValue ) {
247 250
 
248 251
 		$repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' )
Please login to merge, or discard this patch.
tests/phpunit/Utils/ByPageSemanticDataFinder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	 *
34 34
 	 * @param Store $store
35 35
 	 *
36
-	 * @return PageDataFetcher
36
+	 * @return ByPageSemanticDataFinder
37 37
 	 */
38 38
 	public function setStore( Store $store ) {
39 39
 		$this->store = $store;
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 *
46 46
 	 * @param Title $title
47 47
 	 *
48
-	 * @return PageDataFetcher
48
+	 * @return ByPageSemanticDataFinder
49 49
 	 */
50 50
 	public function setTitle( Title $title ) {
51 51
 		$this->title = $title;
Please login to merge, or discard this patch.