Commit Graph
33 Commits
Author SHA1 Message Date
TomasVotruba f9d1a0c177 travis + composer: bump to PHP 7.1 2017-11-30 10:27:01 +01:00
Gabriel Caruso 7524aba21f Fix tests 2017-11-15 08:29:42 +01:00
Gabriel Caruso fd1a734d29 Remove composer.lock, and update to PHPUnit 6 and Mockery 1 2017-11-15 08:29:42 +01:00
Jaapio 14f9edf1ae Switch to phpdocumentor/reflection-common stable 2017-09-11 20:06:11 +02:00
Jaapio 007a536bc5 Upgrades type-resolver to 0.4.0
Type resolver has renamed some classes.
Dropping php 5.5 support
2017-08-04 23:11:13 +02:00
Jaapio 48d3720bf4 Downgrade phpdocumentor/type-resolver to 0.3
In order to restore a bc break made in 3.2.0 I downgraded the
type-resolver. This makes the version less compatible with php 7.1
But will help our users to upgrade.
2017-08-04 22:52:58 +02:00
Jaapio 7c33776cd8 Upgrade typeresolver to 0.4 2017-07-14 16:40:01 +02:00
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
Willem Stuursma 607a0d60d9 Add mandatory description element to composer.json
composer validate gives the following warning: 

````
phpdocumentor/reflection-docblock is valid for simple usage with composer but has
strict errors that make it unable to be published as a package:
description : The property description is required
````
2015-12-22 13:52:16 +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 33ab09f4f5 Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock into feature/refactor-to-v2
Conflicts:
	composer.json
2015-06-13 14:32:12 +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
Graham Campbell 9440ae1b6b dev-master should always be avoided 2015-06-12 23:17:06 +01:00
Mike van Riel 0574a870e4 Merge pull request #56 from mvriel/feature/refactor-to-v2
Refactored 90% of the library
2015-06-13 00:14:52 +02:00
Mike van Riel 18ef0a8055 Refactored 90% of the library 2015-06-12 20:58:56 +02:00
Mike van Riel 2e3172c173 Upped master dev version to 3.0 2015-06-07 15:07:32 +02:00
Mike van Riel f5e35e0629 [#52] Removed dflydev/markdown from suggested list
The markdown package by DFlyDev is deprecated and is not recommended
anymore due to the provided alternatives (parsedown or commonmark).
2015-05-12 09:21:12 +02:00
Colin O'Dell b268342bf1 Add support for the league/commonmark Markdown parser 2015-02-23 14:50:38 -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
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
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 bad318bc39 Adjusted composer files for consistency with PhpDocumentor. 2012-11-29 20:12:53 +02:00
Chuck Burgess 658d11b7b5 add --dev deps 2012-11-21 15:09:22 -06: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
Mike van Riel 663df2c65b Expanded README file and added Markdown class as dependency since it is used in the long description and parameter parsing 2012-05-26 10:28:28 +02:00
Mike van Riel 3f8a4fca6d fixed autoloading error 2012-04-07 11:49:54 +02:00
Mike van Riel 6a34cf123c fixed error in composer file 2012-04-06 20:39:59 +02:00
Mike van Riel fea7abe168 Imported DocBlock Reflection and transformed into a PHP 5.3 module 2012-04-06 20:15:46 +02:00