Commit Graph

  • 39faeec91d Revert "Merge pull request #10 from boenrobot/author" Vasil Rangelov 2012-11-18 17:15:48 +02:00
  • 8df7e5fb6b Removed redundant preg_split from SourceTag (mistakenly pasted from ReturnTag). Vasil Rangelov 2012-11-17 17:32:48 +02:00
  • 0c15eb99f5 Removed redundant preg_split from SourceTag (mistakenly pasted from ReturnTag). Vasil Rangelov 2012-11-17 17:32:48 +02:00
  • c33dc9e7d7 Merge pull request #10 from boenrobot/author Vasil Rangelov 2012-11-17 06:33:38 -08:00
  • 21c36677ab Merge pull request #10 from boenrobot/author Vasil Rangelov 2012-11-17 06:33:38 -08:00
  • 77d0359016 Merge pull request #12 from boenrobot/source-and-example Vasil Rangelov 2012-11-17 05:23:56 -08:00
  • ffcaa03337 Merge pull request #12 from boenrobot/source-and-example Vasil Rangelov 2012-11-17 05:23:56 -08:00
  • 86c72b291a Added @example tag handler, and registered it and @source at Tag. Vasil Rangelov 2012-11-13 20:19:34 +02:00
  • 37810ef836 Added @example tag handler, and registered it and @source at Tag. Vasil Rangelov 2012-11-13 20:19:34 +02:00
  • c70be2a745 Added reflection for @source tag. Vasil Rangelov 2012-11-13 18:39:54 +02:00
  • 587406073d Added reflection for @source tag. Vasil Rangelov 2012-11-13 18:39:54 +02:00
  • 29dcb18b95 Merge pull request #11 from boenrobot/version-and-derivatives Vasil Rangelov 2012-11-17 05:13:04 -08:00
  • aed654aa85 Merge pull request #11 from boenrobot/version-and-derivatives Vasil Rangelov 2012-11-17 05:13:04 -08:00
  • 44cf524dcf Simplified ReturnTag parsing. Vasil Rangelov 2012-11-16 21:53:17 +02:00
  • 2812eac046 Simplified ReturnTag parsing. Vasil Rangelov 2012-11-16 21:53:17 +02:00
  • a4855850d3 Moved the type separation into ReturnTag, for consistency with the type merging that is currently there. Vasil Rangelov 2012-11-16 21:43:25 +02:00
  • db20ae39fb Moved the type separation into ReturnTag, for consistency with the type merging that is currently there. Vasil Rangelov 2012-11-16 21:43:25 +02:00
  • 63a8fb34d4 Added a limit on Collection's explode(), thus (insignificantly, but still) improving performance. Vasil Rangelov 2012-11-14 22:42:56 +02:00
  • cdaa97eb31 Added a limit on Collection's explode(), thus (insignificantly, but still) improving performance. Vasil Rangelov 2012-11-14 22:42:56 +02:00
  • 09b2cb083d Fixed DocBlock giving and reception for long descriptions. Vasil Rangelov 2012-11-14 18:05:03 +02:00
  • 27bdc08a1e Fixed DocBlock giving and reception for long descriptions. Vasil Rangelov 2012-11-14 18:05:03 +02:00
  • 3bfb48da76 Doc updates and fixes. Vasil Rangelov 2012-11-13 21:50:56 +02:00
  • a18985a888 Doc updates and fixes. Vasil Rangelov 2012-11-13 21:50:56 +02:00
  • 92572a9982 Updated @author in accordance with the latest changes. Vasil Rangelov 2012-11-13 19:23:42 +02:00
  • 747e6d7cdf Updated @author in accordance with the latest changes. Vasil Rangelov 2012-11-13 19:23:42 +02:00
  • 532fb040ab Merge branch 'master' of github.com:boenrobot/ReflectionDocBlock into author Vasil Rangelov 2012-11-13 19:13:34 +02:00
  • c2f692140f Merge branch 'master' of github.com:boenrobot/ReflectionDocBlock into author Vasil Rangelov 2012-11-13 19:13:34 +02:00
  • fc53ad4139 Updated @version in accordance with the latest changes in Tag. Vasil Rangelov 2012-11-13 19:10:13 +02:00
  • 8eb596c1cc Updated @version in accordance with the latest changes in Tag. Vasil Rangelov 2012-11-13 19:10:13 +02:00
  • 3d8bcdbe5b Merge branch 'master' of github.com:boenrobot/ReflectionDocBlock into version-and-derivatives Vasil Rangelov 2012-11-13 19:05:14 +02:00
  • 26e2eade91 Merge branch 'master' of github.com:boenrobot/ReflectionDocBlock into version-and-derivatives Vasil Rangelov 2012-11-13 19:05:14 +02:00
  • 878e24d40d Made all tag handlers call Tag::__construct() rather than "manually" duplicating it; Tag::__construct() trims the description (as is common for most tag handlers), while the original contents is still in the $content property; Added the DocBlock argument to all tag handlers. Vasil Rangelov 2012-11-13 19:00:49 +02:00
  • 1ac9106c48 Made all tag handlers call Tag::__construct() rather than "manually" duplicating it; Tag::__construct() trims the description (as is common for most tag handlers), while the original contents is still in the $content property; Added the DocBlock argument to all tag handlers. Vasil Rangelov 2012-11-13 19:00:49 +02:00
  • 903722e389 Renamed LongDescription to Description, to better serve its new dual role as "holder for a place where inline tags can occur"; Removed Tag::setDocblock() in favor of an additional constructor argument that defaults to NULL; Tag::createInstance() and Description's constructor now have a second argument, allowing the specification of an owning DocBlock; Description::getParsedContents() assigns the Description's owning DocBlock object when creating tags. Vasil Rangelov 2012-11-13 17:09:05 +02:00
  • 1352ef56a6 Renamed LongDescription to Description, to better serve its new dual role as "holder for a place where inline tags can occur"; Removed Tag::setDocblock() in favor of an additional constructor argument that defaults to NULL; Tag::createInstance() and Description's constructor now have a second argument, allowing the specification of an owning DocBlock; Description::getParsedContents() assigns the Description's owning DocBlock object when creating tags. Vasil Rangelov 2012-11-13 17:09:05 +02:00
  • ea62320415 Tweaked the "testInvalidTagBlock" test to appease PHPCS (though strictly speaking, this is a bug with PHPCS "NEWDOC" handling). Vasil Rangelov 2012-11-13 16:43:36 +02:00
  • 6df31db139 Tweaked the "testInvalidTagBlock" test to appease PHPCS (though strictly speaking, this is a bug with PHPCS "NEWDOC" handling). Vasil Rangelov 2012-11-13 16:43:36 +02:00
  • 8107678560 Added reflections for @version, @since and @deprecated, which separate the version vector (if one is provided) from the description. Vasil Rangelov 2012-11-13 15:14:17 +02:00
  • 829a92e5aa Added reflections for @version, @since and @deprecated, which separate the version vector (if one is provided) from the description. Vasil Rangelov 2012-11-13 15:14:17 +02:00
  • 6602ce0375 @return now trims the content before splitting it; Removed ThrowTag.php (unnecessary, given the map, which aliases "throw" to ThrowsTag.php); Added tests for ThrowsTag, along with a few other minor test additions and fixes; Vasil Rangelov 2012-11-11 19:51:04 +02:00
  • 04936a7b39 @return now trims the content before splitting it; Removed ThrowTag.php (unnecessary, given the map, which aliases "throw" to ThrowsTag.php); Added tests for ThrowsTag, along with a few other minor test additions and fixes; Vasil Rangelov 2012-11-11 19:51:04 +02:00
  • 2348c16485 Applied multi line fixes to @param, analogous to those in @return. Vasil Rangelov 2012-11-11 17:45:16 +02:00
  • ae82b8488f Applied multi line fixes to @param, analogous to those in @return. Vasil Rangelov 2012-11-11 17:45:16 +02:00
  • b802727676 Minor syntax and doc fixes at Tag::registerTagHandler(); Split the "testTagHandlerRegistration" test into several new ones, with appropriate @covers annotations added; Although not required for single liners, class names at the built in tag handlers map are indented on a separate line for readability. Vasil Rangelov 2012-11-11 15:20:59 +02:00
  • bae65d2afe Minor syntax and doc fixes at Tag::registerTagHandler(); Split the "testTagHandlerRegistration" test into several new ones, with appropriate @covers annotations added; Although not required for single liners, class names at the built in tag handlers map are indented on a separate line for readability. Vasil Rangelov 2012-11-11 15:20:59 +02:00
  • 08dc71ba37 Refactored Tag::createInstance() to use a simple tag-to-class map, that has the default tag handlers pre-registered. Vasil Rangelov 2012-11-11 00:54:51 +02:00
  • 28df2a4cd6 Refactored Tag::createInstance() to use a simple tag-to-class map, that has the default tag handlers pre-registered. Vasil Rangelov 2012-11-11 00:54:51 +02:00
  • d73444f859 Minor doc fixes. Vasil Rangelov 2012-11-10 23:45:28 +02:00
  • fedcd8cf49 Minor doc fixes. Vasil Rangelov 2012-11-10 23:45:28 +02:00
  • f11936eaae Removed DocBlock::expandType() and associated tests, as previously advised by @mvriel; Added tests for generic Tag objects, and a few others; Increased total coverage by more appropriate use of @covers annotations. Vasil Rangelov 2012-11-10 23:19:36 +02:00
  • a868c60f8e Removed DocBlock::expandType() and associated tests, as previously advised by @mvriel; Added tests for generic Tag objects, and a few others; Increased total coverage by more appropriate use of @covers annotations. Vasil Rangelov 2012-11-10 23:19:36 +02:00
  • 6e1bb192b3 Inverted @param and @return hierarchy; More fixes to tests and code coverage increase. Vasil Rangelov 2012-11-10 20:27:57 +02:00
  • e6d2ec7c54 Inverted @param and @return hierarchy; More fixes to tests and code coverage increase. Vasil Rangelov 2012-11-10 20:27:57 +02:00
  • 038a5f3150 Introduced role, description and space separated URIs to the author tag. Vasil Rangelov 2012-11-10 16:50:39 +02:00
  • f19dac185a Introduced role, description and space separated URIs to the author tag. Vasil Rangelov 2012-11-10 16:50:39 +02:00
  • ad32c225c5 Updated tag doc comments. Vasil Rangelov 2012-11-10 14:18:40 +02:00
  • 0ba0ad6b42 Updated tag doc comments. Vasil Rangelov 2012-11-10 14:18:40 +02:00
  • ca90350e36 Made the Tag::createInstance() create generic tag objects when there are uppercase letters in the tag name (this fixes phpDocumentor/phpDocumentor2#672). Vasil Rangelov 2012-11-10 13:58:50 +02:00
  • 8b9591a7c5 Made the Tag::createInstance() create generic tag objects when there are uppercase letters in the tag name (this fixes phpDocumentor/phpDocumentor2#672). Vasil Rangelov 2012-11-10 13:58:50 +02:00
  • 19a9124274 Increased unit test coverage of DocBlock; Moved the tag block checks outside (and prior to) the tag line loop; Doc and CS fixes. Vasil Rangelov 2012-11-10 13:24:46 +02:00
  • 082c9354d0 Increased unit test coverage of DocBlock; Moved the tag block checks outside (and prior to) the tag line loop; Doc and CS fixes. Vasil Rangelov 2012-11-10 13:24:46 +02:00
  • 1a5e882877 Merge pull request #9 from boenrobot/LongDescription Vasil Rangelov 2012-11-10 01:52:46 -08:00
  • 233e4b3ff7 Merge pull request #9 from boenrobot/LongDescription Vasil Rangelov 2012-11-10 01:52:46 -08:00
  • d58be52929 Merge branch 'LongDescription' of github.com:boenrobot/ReflectionDocBlock into LongDescription Vasil Rangelov 2012-11-10 11:51:40 +02:00
  • d788b51755 Merge branch 'LongDescription' of github.com:boenrobot/ReflectionDocBlock into LongDescription Vasil Rangelov 2012-11-10 11:51:40 +02:00
  • 348177c938 Improved performance, thanks to @nikic's new regex. Vasil Rangelov 2012-11-05 17:50:11 +02:00
  • bbd5775f1f Improved performance, thanks to @nikic's new regex. Vasil Rangelov 2012-11-05 17:50:11 +02:00
  • 66b35473ec Added escape sequences that allow "literal" inline tags in descriptions. Vasil Rangelov 2012-11-04 23:04:19 +02:00
  • 044ebd68c9 Added escape sequences that allow "literal" inline tags in descriptions. Vasil Rangelov 2012-11-04 23:04:19 +02:00
  • 4bb2c04673 Implemented nested inline tag parsing; Added unit tests for LongDescription.php; Added the "src" folder as white listed for code coverage in the PHPUnit configuration; Fixed the @covers annotation inside the CoversTagTest.php (isn't this ironic?). Vasil Rangelov 2012-11-04 21:58:49 +02:00
  • e0a5a75364 Implemented nested inline tag parsing; Added unit tests for LongDescription.php; Added the "src" folder as white listed for code coverage in the PHPUnit configuration; Fixed the @covers annotation inside the CoversTagTest.php (isn't this ironic?). Vasil Rangelov 2012-11-04 21:58:49 +02:00
  • 36b46b9769 Merge pull request #8 from boenrobot/CS Vasil Rangelov 2012-11-10 01:40:09 -08:00
  • 607aa79601 Merge pull request #8 from boenrobot/CS Vasil Rangelov 2012-11-10 01:40:09 -08:00
  • df67eaf0be Restored indentation in multi-line tag descriptions, and applied them where they were previously missing. Vasil Rangelov 2012-11-05 23:14:32 +02:00
  • a4107acb6d Restored indentation in multi-line tag descriptions, and applied them where they were previously missing. Vasil Rangelov 2012-11-05 23:14:32 +02:00
  • 6bc655072f Improved performance, thanks to @nikic's new regex. Vasil Rangelov 2012-11-05 17:50:11 +02:00
  • 34eabb7d11 Improved performance, thanks to @nikic's new regex. Vasil Rangelov 2012-11-05 17:50:11 +02:00
  • f7457e64bf Added escape sequences that allow "literal" inline tags in descriptions. Vasil Rangelov 2012-11-04 23:04:19 +02:00
  • f07ab7eda0 Added escape sequences that allow "literal" inline tags in descriptions. Vasil Rangelov 2012-11-04 23:04:19 +02:00
  • e04f25a77b Shortened some long variable names in the test suite, as advised by PHPMD's default settings. Vasil Rangelov 2012-11-04 23:34:25 +02:00
  • d6119709ba Shortened some long variable names in the test suite, as advised by PHPMD's default settings. Vasil Rangelov 2012-11-04 23:34:25 +02:00
  • d31a33e846 Implemented nested inline tag parsing; Added unit tests for LongDescription.php; Added the "src" folder as white listed for code coverage in the PHPUnit configuration; Fixed the @covers annotation inside the CoversTagTest.php (isn't this ironic?). Vasil Rangelov 2012-11-04 21:58:49 +02:00
  • 21ec090933 Implemented nested inline tag parsing; Added unit tests for LongDescription.php; Added the "src" folder as white listed for code coverage in the PHPUnit configuration; Fixed the @covers annotation inside the CoversTagTest.php (isn't this ironic?). Vasil Rangelov 2012-11-04 21:58:49 +02:00
  • 54f30f83b6 Updated comments with the namespaced notation, and added the "Tag" suffix where needed. Vasil Rangelov 2012-11-04 22:19:18 +02:00
  • ba1395e42d Updated comments with the namespaced notation, and added the "Tag" suffix where needed. Vasil Rangelov 2012-11-04 22:19:18 +02:00
  • bb189b87bd Made PSR2 related fixes that are compatible with the PEAR coding standard. Vasil Rangelov 2012-11-04 15:47:55 +02:00
  • 9a3c6f50ef Made PSR2 related fixes that are compatible with the PEAR coding standard. Vasil Rangelov 2012-11-04 15:47:55 +02:00
  • 9ea3275389 Tons of coding standard fixes. Vasil Rangelov 2012-11-04 15:16:37 +02:00
  • 009237bad2 Tons of coding standard fixes. Vasil Rangelov 2012-11-04 15:16:37 +02:00
  • 0701e60839 Change behaviour of @param parsing Mike van Riel 2012-11-03 22:14:43 +01:00
  • 6b707f7166 Change behaviour of @param parsing 1.0.3 Mike van Riel 2012-11-03 22:14:43 +01:00
  • b3641c0e69 Merge branch 'patch-2' of https://github.com/boenrobot/ReflectionDocBlock into boenrobot-patch-2 Mike van Riel 2012-11-01 18:56:36 +01:00
  • 5236694595 Merge branch 'patch-2' of https://github.com/boenrobot/ReflectionDocBlock into boenrobot-patch-2 Mike van Riel 2012-11-01 18:56:36 +01:00
  • b028b5eb44 Restored the greedy-ness inversion. Vasil Rangelov 2012-10-31 11:28:53 +02:00
  • ce57e5445f Restored the greedy-ness inversion. Vasil Rangelov 2012-10-31 11:28:53 +02:00
  • f001c3cd92 Removed LongDescription::getTags() and made parsing to occur only the first time it's requested. Vasil Rangelov 2012-10-17 17:33:52 +03:00
  • 37f5090d90 Removed LongDescription::getTags() and made parsing to occur only the first time it's requested. Vasil Rangelov 2012-10-17 17:33:52 +03:00
  • 9e5e386120 Merge pull request #7 from boenrobot/patch-3 Mike van Riel 2012-10-15 13:01:19 -07:00
  • 5941846e99 Merge pull request #7 from boenrobot/patch-3 Mike van Riel 2012-10-15 13:01:19 -07:00
  • 6ff52dfc59 Added doc blocks to the new methods. Vasil Rangelov 2012-10-15 13:17:51 +03:00