Barry vd. Heuvel
d5e4b2ec73
Also check if it is not already absolute
2013-06-08 23:02:34 +02:00
Barry vd. Heuvel
bae8be0dcd
Test for false relative paths
...
Closure -> \Closure etc
2013-06-08 22:53:54 +02:00
Barry vd. Heuvel
3a5d30e027
Use parsed types for content
2013-06-08 22:37:52 +02:00
Barry vd. Heuvel
d2414cd3dc
Add setType and addType
2013-06-08 22:37:36 +02:00
Barry vd. Heuvel
070b13745a
Correct namespace
2.0.0
2013-06-08 12:58:42 +02:00
Barry vd. Heuvel
df7807cd73
Add markdown to suggest instead of require
2013-06-08 12:52:45 +02:00
Barry vd. Heuvel
b07e3c36b7
Change namespace
2013-06-08 12:45:35 +02:00
Barry vd. Heuvel
163dd7877e
Add __toString() methods for Description and Tag
...
And let the Serializer make use of the (string) $tag
2013-06-08 12:40:01 +02:00
Vasil Rangelov
6d705c1a0f
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
ab0bcb8d31
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
ac6e37af97
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
4a7affe15b
Minor doc fix at Serializer.php.
2013-05-27 01:31:58 +03:00
Vasil Rangelov
b7797b4e1a
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
8b529636bf
Merge pull request #20 from barryvdh/master
...
Export docblock comment
2013-05-26 13:55:34 -07:00
Barry vd. Heuvel
2e9fd6a2e8
Revert setType
...
Doesn't really belong to this PR
2013-05-26 22:36:53 +02:00
Barry vd. Heuvel
cbb14bab1e
Move serializer to seperate class
2013-05-26 22:36:31 +02:00
Barry vd. Heuvel
d57128e65c
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
d9c0928243
Set return type
2013-05-26 21:16:30 +02:00
Vasil Rangelov
63c9de4e8b
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
76619d4a16
Adjusted Unit tests and docs to match the latest dot separation.
2013-04-16 19:25:40 +03:00
Vasil Rangelov
47d3f86c53
Fixed the dot separation to match the latest PSR
...
(see phpDocumentor/phpDocumentor2#797 )
2.0.0a3
2013-04-16 17:22:15 +03:00
Mike van Riel
cfb104b8c8
Merge pull request #17 from joncave/cotnent-typo
...
Fix typo in "cotnent"
2013-02-01 10:47:35 -08:00
Jon Cave
5c51ccf185
Fix typo in "cotnent"
2013-02-01 18:08:30 +00:00
Vasil Rangelov
5d93f42598
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).
2.0.0a2
2012-12-02 22:26:45 +02:00
Vasil Rangelov
eb83d810de
Added a Travis status image to README.md;
...
Also, fixed a typo.
2012-11-30 22:43:34 +02:00
Vasil Rangelov
6f0fc03c49
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
b09525332f
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
c2796044a6
Adjusted composer files for consistency with PhpDocumentor.
2012-11-29 20:12:53 +02:00
Vasil Rangelov
8418970624
CS fixes.
2.0.0a1
2012-11-27 19:52:28 +02:00
Vasil Rangelov
0d38c84407
Added @boenrobot to Travis' email notifications;
...
Some CS fixes at TagTest.php.
2012-11-22 13:22:00 +02:00
Vasil Rangelov
bfc443b40c
Merge pull request #15 from ashnazg/make-build
...
Make travis build
2012-11-22 03:03:34 -08:00
Chuck Burgess
4a9ddd15fe
restore original
2012-11-21 19:16:31 -06:00
Chuck Burgess
87ed522579
graphviz isn't necessary
2012-11-21 19:15:29 -06:00
Chuck Burgess
f01f8ea41d
use phpunit in vendor
2012-11-21 19:08:28 -06:00
Chuck Burgess
620b932272
restore color=true
2012-11-21 19:05:59 -06:00
Vasil Rangelov
beb96a487b
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
7a03741e0b
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
a79e4c174c
initial travis build
2012-11-21 15:09:44 -06:00
Chuck Burgess
be61012d74
add --dev deps
2012-11-21 15:09:22 -06:00
Chuck Burgess
99de44e96f
tighten up dist file
2012-11-21 15:08:31 -06:00
Vasil Rangelov
b20c7da00b
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
99054d341f
Introduced Context and Location, and adapted Collection and ReturnTag accordingly.
2012-11-21 15:55:10 +02:00
Vasil Rangelov
9da4a65065
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
39faeec91d
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
0c15eb99f5
Removed redundant preg_split from SourceTag (mistakenly pasted from ReturnTag).
2012-11-17 17:32:48 +02:00
Vasil Rangelov
21c36677ab
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
ffcaa03337
Merge pull request #12 from boenrobot/source-and-example
...
Reflections for @source and @example
2012-11-17 05:23:56 -08:00
Vasil Rangelov
37810ef836
Added @example tag handler, and registered it and @source at Tag.
2012-11-17 15:23:16 +02:00
Vasil Rangelov
587406073d
Added reflection for @source tag.
2012-11-17 15:16:56 +02:00
Vasil Rangelov
aed654aa85
Merge pull request #11 from boenrobot/version-and-derivatives
...
Reflections for @version, @since and @deprecated
2012-11-17 05:13:04 -08:00