Commit Graph
63 Commits
Author SHA1 Message Date
Hidde Boomsma 02fa9f585e Void is a reserved keyword in PHP7.1.
Running the unit tests with php nightly exposed the bug:

Fatal error: Cannot use phpDocumentor\Reflection\Types\Void as Void
because 'Void' is a special class name in
/home/travis/build/hboomsma/ReflectionDocBlock/tests/unit/DocBlock/Tags/MethodTest.php
on line 25
2016-06-10 11:10:02 +02:00
Mike van Riel 332c96dab8 Remove 3.0.x alias from composer.json before tagging 3.0.0 2016-01-28 13:45:51 +01:00
Jaapio ab334170b7 Version bump phpdocumentor/type-resolver
Due a hotfix done in the the type resolver library version 0.1.5 is the new minimal version of type-resolver.
Without this fix an infinitive loop is created when the use keyword is used in a class.
2015-10-26 15:19:12 +01:00
Mike van Riel 09230bda94 Updated dependencies to match other packages 2015-06-26 12:10:13 +02:00
Mike van Riel 50b104f2c0 Add tests for DocBlockFactory and extract interface 2015-06-26 08:59:00 +02:00
Mike van Riel 090cf6b3ad Added assertion library and downgraded phpunit
PHPUnit 4.4 was the last version without phpspec. phpspec conflicts
with this package because it requires v2 of this component and
this causes a cyclic issue with composer
2015-06-13 18:30:22 +02:00
Mike van Riel 2c18f0e883 Work towards stabilizing the API.
- Changed Tag to an interface and flattened hierarchy
- Changed Description to accept a list of tags and a template
- Allow auto-wiring when constructing tags
2015-06-13 14:30:43 +02:00
Colin O'Dell 3b76919329 Remove composer.lock
Per the Composer documentation:

> Note: For libraries it is not necessarily recommended to commit the lock file (...)

https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
2015-02-23 15:03:39 -05:00
Graham Campbell 0233433e59 Composer updates 2014-08-21 13:02:41 +01:00
Mike van Riel 506de88c26 Add support for Parsedown as a markdown parser 2013-12-05 09:16:55 +01: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 bad318bc39 Adjusted composer files for consistency with PhpDocumentor. 2012-11-29 20:12:53 +02:00
Mike van Riel 0701e60839 Change behaviour of @param parsing
In issue report phpDocumentor/phpDocumentor2#620 @bobef reported that when he
used just a Type as content of the @param that it would be recognized as
description instead of the Type.

According to the unit tests this is correct behaviour but after reviewing the
pattern of the output his version is more consistent. As such I have altered
the behaviour to act as following:

If only one word is found after an @param (word means white-space bounded
series of characters) then interpret that as the type and not description.

During this item several issues in unit tests were fixed and a new 'Type'
Collection was introduced that is capable of expanding types based on a given
namespace and series of aliases.
This should be re-used in phpDocumentor's Transformer as a duplication exists
there with the expanding of the Types.

Please note: the suggested format by @bobef is not valid according to the
PHPDoc Standard but is provided for convenience.
2012-11-03 22:14:43 +01:00