Completed
Push — master ( 820d27...9a8235 )
by mw
369:25 queued 331:54
created
tests/phpunit/ByJsonTestCaseProvider.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@  discard block
 block discarded – undo
94 94
 		parent::tearDown();
95 95
 	}
96 96
 
97
+	/**
98
+	 * @return string
99
+	 */
97 100
 	abstract protected function getTestCaseLocation();
98 101
 
99 102
 	/**
@@ -144,6 +147,9 @@  discard block
 block discarded – undo
144 147
 		return $provider;
145 148
 	}
146 149
 
150
+	/**
151
+	 * @param string $key
152
+	 */
147 153
 	protected function changeGlobalSettingTo( $key, $value ) {
148 154
 
149 155
 		if ( $key === '' || $value === '' ) {
@@ -256,6 +262,10 @@  discard block
 block discarded – undo
256 262
 	}
257 263
 
258 264
 	// http://php.net/manual/en/function.file-get-contents.php
265
+
266
+	/**
267
+	 * @param string $file
268
+	 */
259 269
 	private function getFileContentsWithEncodingDetection( $file ) {
260 270
 		$content = file_get_contents( $file );
261 271
 		return mb_convert_encoding( $content, 'UTF-8', mb_detect_encoding( $content, 'UTF-8, ISO-8859-1, ISO-8859-2', true ) );
Please login to merge, or discard this patch.