Shortened some long variable names in the test suite, as advised by PHPMD's default settings.

This commit is contained in:
Vasil Rangelov
2012-11-04 23:34:25 +02:00
parent ba1395e42d
commit d6119709ba
2 changed files with 15 additions and 15 deletions
@@ -28,9 +28,9 @@ class ParamTagTest extends \PHPUnit_Framework_TestCase
*
* @param string $type
* @param string $content
* @param string $extracted_type
* @param string $extracted_variable_name
* @param string $extracted_description
* @param string $extractedType
* @param string $extractedVarName
* @param string $extractedDescription
*
* @covers \phpDocumentor\Reflection\DocBlock\Tag\ParamTag::__construct
*
@@ -41,15 +41,15 @@ class ParamTagTest extends \PHPUnit_Framework_TestCase
public function testConstructorParsesInputsIntoCorrectFields(
$type,
$content,
$extracted_type,
$extracted_variable_name,
$extracted_description
$extractedType,
$extractedVarName,
$extractedDescription
) {
$tag = new ParamTag($type, $content);
$this->assertEquals($extracted_type, $tag->getTypes());
$this->assertEquals($extracted_variable_name, $tag->getVariableName());
$this->assertEquals($extracted_description, $tag->getDescription());
$this->assertEquals($extractedType, $tag->getTypes());
$this->assertEquals($extractedVarName, $tag->getVariableName());
$this->assertEquals($extractedDescription, $tag->getDescription());
}
/**
@@ -27,8 +27,8 @@ class ReturnTagTest extends ParamTagTest
* understand the Return DocBlock.
*
* @param string $content
* @param string $extracted_type
* @param string $extracted_description
* @param string $extractedType
* @param string $extractedDescription
*
* @covers \phpDocumentor\Reflection\DocBlock\Tag\ReturnTag::__construct
*
@@ -38,13 +38,13 @@ class ReturnTagTest extends ParamTagTest
*/
public function testConstructorParsesInputsIntoCorrectFields(
$content,
$extracted_type,
$extracted_description
$extractedType,
$extractedDescription
) {
$tag = new ReturnTag('return', $content);
$this->assertEquals($extracted_type, $tag->getTypes());
$this->assertEquals($extracted_description, $tag->getDescription());
$this->assertEquals($extractedType, $tag->getTypes());
$this->assertEquals($extractedDescription, $tag->getDescription());
}
/**