Completed
Branch master (366b6b)
by
unknown
28:39
created
maintenance/archives/upgradeLogging.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -178,6 +178,10 @@
 block discarded – undo
178 178
 		echo "Copied $numRowsCopied rows\n";
179 179
 	}
180 180
 
181
+	/**
182
+	 * @param string $srcTable
183
+	 * @param string $dstTable
184
+	 */
181 185
 	function copyExactMatch( $srcTable, $dstTable, $copyPos ) {
182 186
 		$numRowsCopied = 0;
183 187
 		$srcRes = $this->dbw->select( $srcTable, '*', array( 'log_timestamp' => $copyPos ), __METHOD__ );
Please login to merge, or discard this patch.
maintenance/benchmarks/bench_HTTP_HTTPS.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 		print $this->getFormattedResults();
46 46
 	}
47 47
 
48
+	/**
49
+	 * @param string $proto
50
+	 */
48 51
 	static function doRequest( $proto ) {
49 52
 		Http::get( "$proto://localhost/", array(), __METHOD__ );
50 53
 	}
Please login to merge, or discard this patch.
maintenance/benchmarks/bench_strtr_str_replace.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -25,10 +25,16 @@
 block discarded – undo
25 25
 
26 26
 require_once __DIR__ . '/Benchmarker.php';
27 27
 
28
+/**
29
+ * @param string $str
30
+ */
28 31
 function bfNormalizeTitleStrTr( $str ) {
29 32
 	return strtr( $str, '_', ' ' );
30 33
 }
31 34
 
35
+/**
36
+ * @param string $str
37
+ */
32 38
 function bfNormalizeTitleStrReplace( $str ) {
33 39
 	return str_replace( '_', ' ', $str );
34 40
 }
Please login to merge, or discard this patch.
maintenance/checkSyntax.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -363,6 +363,12 @@  discard block
 block discarded – undo
363 363
 		$this->checkRegex( $file, $text, '/^[\xFF\xFE\xEF]/', 'byte-order mark' );
364 364
 	}
365 365
 
366
+	/**
367
+	 * @param string $file
368
+	 * @param string $text
369
+	 * @param string $regex
370
+	 * @param string $desc
371
+	 */
366 372
 	private function checkRegex( $file, $text, $regex, $desc ) {
367 373
 		if ( !preg_match( $regex, $text ) ) {
368 374
 			return;
@@ -375,6 +381,11 @@  discard block
 block discarded – undo
375 381
 		$this->output( "Warning in file $file: $desc found.\n" );
376 382
 	}
377 383
 
384
+	/**
385
+	 * @param string $file
386
+	 * @param string $evilToken
387
+	 * @param string $desc
388
+	 */
378 389
 	private function checkEvilToken( $file, $tokens, $evilToken, $desc ) {
379 390
 		if ( !in_array( $evilToken, $tokens ) ) {
380 391
 			return;
Please login to merge, or discard this patch.
maintenance/compareParsers.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
 		}
113 113
 	}
114 114
 
115
+	/**
116
+	 * @return string
117
+	 */
115 118
 	function stripParameters( $text ) {
116 119
 		if ( !$this->stripParametersEnabled ) {
117 120
 			return $text;
Please login to merge, or discard this patch.
maintenance/convertExtensionToRegistration.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@  discard block
 block discarded – undo
185 185
 		}
186 186
 	}
187 187
 
188
+	/**
189
+	 * @param string $dir
190
+	 */
188 191
 	private function stripPath( $val, $dir ) {
189 192
 		if ( $val === $dir ) {
190 193
 			$val = '';
@@ -266,6 +269,9 @@  discard block
 block discarded – undo
266 269
 		}
267 270
 	}
268 271
 
272
+	/**
273
+	 * @param string $path
274
+	 */
269 275
 	protected function needsComposerAutoloader( $path ) {
270 276
 		$path .= '/composer.json';
271 277
 		if ( file_exists( $path ) ) {
Please login to merge, or discard this patch.
maintenance/convertLinks.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -295,6 +295,9 @@
 block discarded – undo
295 295
 		$this->output( " done.\n\n" );
296 296
 	}
297 297
 
298
+	/**
299
+	 * @param boolean $fh
300
+	 */
298 301
 	private function performanceLog( $fh, $text ) {
299 302
 		if ( $this->logPerformance ) {
300 303
 			fwrite( $fh, $text );
Please login to merge, or discard this patch.
maintenance/copyJobQueue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
 		}
71 71
 	}
72 72
 
73
+	/**
74
+	 * @param Iterator $jobs
75
+	 */
73 76
 	protected function copyJobs( JobQueue $src, JobQueue $dst, $jobs ) {
74 77
 		$total = 0;
75 78
 		$totalOK = 0;
Please login to merge, or discard this patch.
maintenance/dumpIterator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@
 block discarded – undo
152 152
 	}
153 153
 
154 154
 	/* Core function which does whatever the maintenance script is designed to do */
155
+
156
+	/**
157
+	 * @param DatabaseBase $rev
158
+	 */
155 159
 	abstract public function processRevision( $rev );
156 160
 }
157 161
 
Please login to merge, or discard this patch.