Added support for namespaced tags;

Simplified @see and @link parsing;
Added comments to the regexes of @method, @example and @source;
Added a test case for what 2812eac046 intended to fix.
This commit is contained in:
Vasil Rangelov
2012-11-22 00:37:22 +02:00
parent 3e91fb4071
commit 2dbc608a51
8 changed files with 77 additions and 23 deletions
@@ -92,6 +92,13 @@ class ReturnTagTest extends \PHPUnit_Framework_TestCase
'int',
array('int'),
"Number of Bobs"
),
array(
'return',
"int\nNumber of Bobs",
'int',
array('int'),
"Number of Bobs"
)
);
}
@@ -90,6 +90,13 @@ class ThrowsTagTest extends \PHPUnit_Framework_TestCase
'int',
array('int'),
"Number of Bobs"
),
array(
'throws',
"int\nNumber of Bobs",
'int',
array('int'),
"Number of Bobs"
)
);
}