r68245 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68244‎ | r68245 | r68246 >
Date:21:04, 18 June 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/maintenance/tests/MediaWikiParserTest.php (modified) (history)
  • /trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php
@@ -67,6 +67,7 @@
6868
6969 private $uploadDir;
7070 private $keepUploads;
 71+
7172 /**
7273 * Remove the dummy uploads directory
7374 */
@@ -110,7 +111,8 @@
111112
112113 /**
113114 * Delete the specified files, if they exist.
114 - * @param array $files full paths to files to delete.
 115+ *
 116+ * @param $files Array: full paths to files to delete.
115117 */
116118 private static function deleteFiles( $files ) {
117119 foreach ( $files as $file ) {
@@ -119,9 +121,11 @@
120122 }
121123 }
122124 }
 125+
123126 /**
124127 * Delete the specified directories, if they exist. Must be empty.
125 - * @param array $dirs full paths to directories to delete.
 128+ *
 129+ * @param $dirs Array: full paths to directories to delete.
126130 */
127131 private static function deleteDirs( $dirs ) {
128132 foreach ( $dirs as $dir ) {
@@ -134,7 +138,8 @@
135139 /**
136140 * Create a dummy uploads directory which will contain a couple
137141 * of files in order to pass existence tests.
138 - * @return string The directory
 142+ *
 143+ * @return String: the directory
139144 */
140145 private function setupUploadDir() {
141146 global $IP;
Index: trunk/phase3/maintenance/tests/MediaWikiParserTest.php
@@ -116,6 +116,7 @@
117117
118118 private $uploadDir;
119119 private $keepUploads;
 120+
120121 /**
121122 * Remove the dummy uploads directory
122123 */
@@ -158,7 +159,8 @@
159160
160161 /**
161162 * Delete the specified files, if they exist.
162 - * @param array $files full paths to files to delete.
 163+ *
 164+ * @param $files Array: full paths to files to delete.
163165 */
164166 private static function deleteFiles( $files ) {
165167 foreach ( $files as $file ) {
@@ -167,9 +169,11 @@
168170 }
169171 }
170172 }
 173+
171174 /**
172175 * Delete the specified directories, if they exist. Must be empty.
173 - * @param array $dirs full paths to directories to delete.
 176+ *
 177+ * @param $dirs Array: full paths to directories to delete.
174178 */
175179 private static function deleteDirs( $dirs ) {
176180 foreach ( $dirs as $dir ) {
@@ -182,7 +186,8 @@
183187 /**
184188 * Create a dummy uploads directory which will contain a couple
185189 * of files in order to pass existence tests.
186 - * @return string The directory
 190+ *
 191+ * @return String: the directory
187192 */
188193 private function setupUploadDir() {
189194 global $IP;

Status & tagging log