From 41e272356c7dfb818a994c35f986332206798aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 18 Jul 2012 14:31:43 +0200 Subject: [PATCH] Adjust docblocks --- .../common/PMA_expandUserString_test.php | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/test/libraries/common/PMA_expandUserString_test.php b/test/libraries/common/PMA_expandUserString_test.php index c5b2fb61ba..d9a591129e 100644 --- a/test/libraries/common/PMA_expandUserString_test.php +++ b/test/libraries/common/PMA_expandUserString_test.php @@ -16,12 +16,16 @@ require_once 'libraries/Config.class.php'; /** * Test for PMA_CommonFunctions::expandUserString function. + * + * @package PhpMyAdmin-test */ class PMA_expandUserString_test extends PHPUnit_Framework_TestCase { /** * Setup variables needed by test. + * + * @return void */ public function setup() { @@ -39,6 +43,11 @@ class PMA_expandUserString_test extends PHPUnit_Framework_TestCase /** * Test case for expanding strings * + * @param string $in string to evaluate + * @param string $out expected output + * + * @return void + * * @dataProvider provider */ public function testExpand($in, $out) @@ -52,6 +61,11 @@ class PMA_expandUserString_test extends PHPUnit_Framework_TestCase /** * Test case for expanding strings with escaping * + * @param string $in string to evaluate + * @param string $out expected output + * + * @return void + * * @dataProvider provider */ public function testExpandEscape($in, $out) @@ -59,8 +73,9 @@ class PMA_expandUserString_test extends PHPUnit_Framework_TestCase $out = str_replace('PMA_VERSION', PMA_VERSION, $out); $this->assertEquals( htmlspecialchars($out), - PMA_CommonFunctions::getInstance() - ->expandUserString($in, 'htmlspecialchars') + PMA_CommonFunctions::getInstance()->expandUserString( + $in, 'htmlspecialchars' + ) ); }