Siad Ardroumli
832559be31
Fixed method call.
...
Related to https://github.com/phpDocumentor/phpDocumentor2/pull/1145
2014-03-16 13:23:37 +01:00
Mike van Riel
54c707b480
Merge pull request #30 from cebe/preserve-newlines
...
Preserve newlines in docblock tags
2014-03-01 11:01:55 +01:00
Carsten Brandt
4922a4a286
Preserve newlines in docblock tags
...
This is especially important when using markdown.
Adding a blank line between text introduces a new paragraph.
Current implementation will result in all text staying in one paragraph
and also other elements like lists and code do not get recognized in
most cases.
2014-02-28 17:17:48 +01:00
Mike van Riel
506de88c26
Add support for Parsedown as a markdown parser
2013-12-05 09:16:55 +01:00
Vasil Rangelov
d67d5f41ee
Merge pull request #25 from barryvdh/patch-1
...
Markdown is not required, so move to suggest
2013-08-08 09:31:39 -07:00
Barry vd. Heuvel
7a5d99cd4f
Markdown is not required, so move to suggest
...
Markdown is only used once and a check is in place to see if the markdown classes exists. So perhaps it is better to move this to suggest instead of require, so the people who don't need it, don't have to download it.
2013-08-08 18:25:04 +02:00
Vasil Rangelov
57eadf5708
Merge pull request #24 from tommygnr/travis-5.5
...
Enable travis builds on php5.5
2013-08-07 04:04:22 -07:00
Tom Corrigan
fbecde4331
Enable travis builds on php5.5
2013-08-07 13:08:11 +10:00
Mike van Riel
ec3d9f5c39
Merge pull request #23 from tommygnr/patch-1
...
Add a branch alias
2013-08-01 12:16:50 -07:00
Tom Corrigan
0814579afd
Add a branch alias
...
This will enable improved version constraints in phpdocumentor/reflection
2013-08-02 02:40:14 +10:00
Vasil Rangelov
49c718367a
Merge pull request #22 from barryvdh/tostring
...
Add __toString() methods for Description and Tag
2013-05-27 10:54:22 -07:00
Barry vd. Heuvel
21148759ac
Add __toString() methods for Description and Tag
...
And let the Serializer make use of the (string) $tag
2013-05-27 18:16:15 +02:00
Vasil Rangelov
5000a2878d
Added "{}" around all double quoted variables, for readability's sake;
...
Performance improvement in Serializer - wrap length is calculated once during the text portion only. Tags reuse the result. Also no "prefix" adding in tags - the name is simply added before wrapping.
2013-05-27 02:04:23 +03:00
Vasil Rangelov
a2aae72328
Minor doc fix at Serializer.php.
2013-05-27 01:31:58 +03:00
Vasil Rangelov
5b2b43e2a9
Added getters for Serializer options;
...
Swapped the indent and indent string options at Serializer's constructor;
Renamed Serializer::setIndentFirstLine() to setIsFirstLineIndented() in accordance with the getter (PHPMD fix);
Line length is now ACTUALLY line length, i.e. it takes the indentation into account, and is applied to tags as well;
Fixed ReturnTag::setContent() to set "types" to NULL;
A lot of doc and CS fixes at Serializer.php.
2013-05-27 01:27:07 +03:00
Vasil Rangelov
f910025d29
Merge pull request #20 from barryvdh/master
...
Export docblock comment
2013-05-26 13:55:34 -07:00
Barry vd. Heuvel
6ac49cd709
Revert setType
...
Doesn't really belong to this PR
2013-05-26 22:36:53 +02:00
Barry vd. Heuvel
eb4ab2c720
Move serializer to seperate class
2013-05-26 22:36:31 +02:00
Barry vd. Heuvel
f331d328a4
Export DocBlock & full description
...
Add get/set for entire description, and create a docblock comment, based
on the description/tags
2013-05-26 21:17:09 +02:00
Barry vd. Heuvel
3760d10ace
Set return type
2013-05-26 21:16:30 +02:00
Vasil Rangelov
d99732612a
Added support for static method declarations at MethodTag and according unit tests.
...
Fixed MethodTag::getContent() to actually return the content as opposed to $this;
2013-05-16 22:17:15 +03:00
Vasil Rangelov
7f55602948
Adjusted Unit tests and docs to match the latest dot separation.
2013-04-16 19:25:40 +03:00
Vasil Rangelov
510159bace
Fixed the dot separation to match the latest PSR
...
(see phpDocumentor/phpDocumentor2#797 )
2013-04-16 17:22:15 +03:00
Mike van Riel
e06ea450a4
Merge pull request #17 from joncave/cotnent-typo
...
Fix typo in "cotnent"
2013-02-01 10:47:35 -08:00
Jon Cave
8f7ec6bd4a
Fix typo in "cotnent"
2013-02-01 18:08:30 +00:00
Vasil Rangelov
13466286b0
Added "scalar" as a recognized keyword ( phpDocumentor/phpDocumentor2#694 );
...
Changed the list of keywords to be static (for the purpose of reducing memory consumption);
Updated composer.lock with the latest dependencies (PHPUnit in particular).
2012-12-02 22:26:45 +02:00
Vasil Rangelov
e2528539ac
Added a Travis status image to README.md;
...
Also, fixed a typo.
2012-11-30 22:43:34 +02:00
Vasil Rangelov
ff09e61782
Added setters at Location and Description;
...
Added DocBlock::appendTag();
Minor reorganization at the tag setters;
2012-11-30 22:37:41 +02:00
Vasil Rangelov
8223e475fa
Refactored all tags to have setters for all of their components;
...
Removed the special handling for VarTag (it's now equivalent to ParamTag);
Minor doc, CS and coverage fixes.
2012-11-30 19:26:19 +02:00
Vasil Rangelov
bad318bc39
Adjusted composer files for consistency with PhpDocumentor.
2012-11-29 20:12:53 +02:00
Vasil Rangelov
23dedb3e10
CS fixes.
2012-11-27 19:52:28 +02:00
Vasil Rangelov
5712aa6efd
Added @boenrobot to Travis' email notifications;
...
Some CS fixes at TagTest.php.
2012-11-22 13:22:00 +02:00
Vasil Rangelov
afd4645858
Merge pull request #15 from ashnazg/make-build
...
Make travis build
2012-11-22 03:03:34 -08:00
Chuck Burgess
a7e0e19229
restore original
2012-11-21 19:16:31 -06:00
Chuck Burgess
b102a8d9c5
graphviz isn't necessary
2012-11-21 19:15:29 -06:00
Chuck Burgess
8e0a07cbd8
use phpunit in vendor
2012-11-21 19:08:28 -06:00
Chuck Burgess
62f64a3423
restore color=true
2012-11-21 19:05:59 -06:00
Vasil Rangelov
bf3e86788d
Added tests related to the namespaced tag support;
...
Restored ReturnTag::getTypesCollection() to "protected", to avoid potential BC breaks later.
2012-11-22 01:23:31 +02:00
Vasil Rangelov
2dbc608a51
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.
2012-11-22 00:37:22 +02:00
Chuck Burgess
6804adcc87
initial travis build
2012-11-21 15:09:44 -06:00
Chuck Burgess
658d11b7b5
add --dev deps
2012-11-21 15:09:22 -06:00
Chuck Burgess
a4d8641dea
tighten up dist file
2012-11-21 15:08:31 -06:00
Vasil Rangelov
3e91fb4071
Merge pull request #13 from boenrobot/location
...
Abstracting away namespace (and other context dependent) information into a new object
2012-11-21 12:36:31 -08:00
Vasil Rangelov
8bb304309c
Introduced Context and Location, and adapted Collection and ReturnTag accordingly.
2012-11-21 15:55:10 +02:00
Vasil Rangelov
a4b899e96c
Reverted the move of explode() into Return, and moved the implode() into Collection's new __toString() method instead;
...
Also had to made type resolution lazy, as a pleasant side effect.
This reverts commit db20ae39fb .
2012-11-18 18:50:45 +02:00
Vasil Rangelov
cee63f991d
Revert "Merge pull request #10 from boenrobot/author"
...
This reverts commit 21c36677ab , reversing
changes made to ffcaa03337 .
2012-11-18 17:15:48 +02:00
Vasil Rangelov
8df7e5fb6b
Removed redundant preg_split from SourceTag (mistakenly pasted from ReturnTag).
2012-11-17 17:32:48 +02:00
Vasil Rangelov
c33dc9e7d7
Merge pull request #10 from boenrobot/author
...
Introduced role, description and space separated URIs to the author tag.
2012-11-17 06:33:38 -08:00
Vasil Rangelov
77d0359016
Merge pull request #12 from boenrobot/source-and-example
...
Reflections for @source and @example
2012-11-17 05:23:56 -08:00
Vasil Rangelov
86c72b291a
Added @example tag handler, and registered it and @source at Tag.
2012-11-17 15:23:16 +02:00