public function SinceTagTest::provideDataForConstuctor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SinceTagTest.php \phpDocumentor\Reflection\DocBlock\Tag\SinceTagTest::provideDataForConstuctor()
Data provider for testConstructorParesInputsIntoCorrectFields
Return value
array
File
- vendor/
phpdocumentor/ reflection-docblock/ tests/ phpDocumentor/ Reflection/ DocBlock/ Tag/ SinceTagTest.php, line 60
Class
- SinceTagTest
- Test class for \phpDocumentor\Reflection\DocBlock\Tag\SinceTag
Namespace
phpDocumentor\Reflection\DocBlock\TagCode
public function provideDataForConstuctor() {
// $type, $content, $exContent, $exDescription, $exVersion
return array(
array(
'since',
'1.0 First release.',
'1.0 First release.',
'First release.',
'1.0',
),
array(
'since',
"1.0\nFirst release.",
"1.0\nFirst release.",
'First release.',
'1.0',
),
array(
'since',
"1.0\nFirst\nrelease.",
"1.0\nFirst\nrelease.",
"First\nrelease.",
'1.0',
),
array(
'since',
'Unfinished release',
'Unfinished release',
'Unfinished release',
'',
),
array(
'since',
'1.0',
'1.0',
'',
'1.0',
),
array(
'since',
'GIT: $Id$',
'GIT: $Id$',
'',
'GIT: $Id$',
),
array(
'since',
'GIT: $Id$ Dev build',
'GIT: $Id$ Dev build',
'Dev build',
'GIT: $Id$',
),
);
}