From f836571bd1382bacf7bb91d383d55acf132fed42 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 18 Jun 2010 21:04:49 +0000 Subject: [PATCH] Fixed some doxygen warnings --- maintenance/tests/MediaWikiParserTest.php | 11 ++++++++--- maintenance/tests/UploadFromUrlTestSuite.php | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/maintenance/tests/MediaWikiParserTest.php b/maintenance/tests/MediaWikiParserTest.php index 651637c870..4d027b77b1 100644 --- a/maintenance/tests/MediaWikiParserTest.php +++ b/maintenance/tests/MediaWikiParserTest.php @@ -116,6 +116,7 @@ class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite { private $uploadDir; private $keepUploads; + /** * Remove the dummy uploads directory */ @@ -158,7 +159,8 @@ class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite { /** * Delete the specified files, if they exist. - * @param array $files full paths to files to delete. + * + * @param $files Array: full paths to files to delete. */ private static function deleteFiles( $files ) { foreach ( $files as $file ) { @@ -167,9 +169,11 @@ class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite { } } } + /** * Delete the specified directories, if they exist. Must be empty. - * @param array $dirs full paths to directories to delete. + * + * @param $dirs Array: full paths to directories to delete. */ private static function deleteDirs( $dirs ) { foreach ( $dirs as $dir ) { @@ -182,7 +186,8 @@ class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite { /** * Create a dummy uploads directory which will contain a couple * of files in order to pass existence tests. - * @return string The directory + * + * @return String: the directory */ private function setupUploadDir() { global $IP; diff --git a/maintenance/tests/UploadFromUrlTestSuite.php b/maintenance/tests/UploadFromUrlTestSuite.php index e9ddd9625b..60dd67c339 100644 --- a/maintenance/tests/UploadFromUrlTestSuite.php +++ b/maintenance/tests/UploadFromUrlTestSuite.php @@ -67,6 +67,7 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite private $uploadDir; private $keepUploads; + /** * Remove the dummy uploads directory */ @@ -110,7 +111,8 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite /** * Delete the specified files, if they exist. - * @param array $files full paths to files to delete. + * + * @param $files Array: full paths to files to delete. */ private static function deleteFiles( $files ) { foreach ( $files as $file ) { @@ -119,9 +121,11 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite } } } + /** * Delete the specified directories, if they exist. Must be empty. - * @param array $dirs full paths to directories to delete. + * + * @param $dirs Array: full paths to directories to delete. */ private static function deleteDirs( $dirs ) { foreach ( $dirs as $dir ) { @@ -134,7 +138,8 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite /** * Create a dummy uploads directory which will contain a couple * of files in order to pass existence tests. - * @return string The directory + * + * @return String: the directory */ private function setupUploadDir() { global $IP; -- 2.20.1