Jordi Boggiano
019848728e
Add support for rest argument notation
2016-09-28 18:42:19 +02:00
Niklas Keller
4e19318f81
Escape literal "%" because of vsprintf
...
Fixes #81 .
2016-08-23 08:13:57 +02:00
Guilhem N
1be8bc1738
Fix an unexpected behaviour with @deprecated tags
2016-07-18 15:04:51 +02:00
Mike van Riel
9270140b94
Merge pull request #75 from hboomsma/feature/php71_compat
...
Feature/php71 compat
2016-06-10 11:48:41 +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
ea48fd2c79
Merge pull request #77 from Soullivaneuh/example-to-string
...
Fix missing Example::__toString method
2016-06-10 09:04:47 +02:00
Sullivan SENECHAL
c8bfd60f52
Fix missing Example::__toString method
...
This method is required by the Tag interface.
2016-06-09 10:39:27 +02:00
Hidde Boomsma
018dc90abb
build php nightly
2016-06-08 09:33:05 +02:00
Mike van Riel
45ada3e3fd
Merge pull request #73 from hboomsma/feature/typed-array
...
Allow typed arrays in @method annotation.
2016-06-06 08:44:13 +02:00
Mike van Riel
9a0bd76f6f
Merge pull request #72 from fabiang/fix-missing-parenthesis
...
Fix method name is empty when parenthesis is missing in @method
2016-06-06 08:41:09 +02:00
Hidde Boomsma
10c99960dc
Allow typed arrays in @method annotation.
...
Since the type resolver has support for typed arrays,
I allowed the syntax for the @method annotation.
In effect you can now annotate magic methods like:
@method Object[] myMethod($arg1, $arg2)
@method int[] myOtherMethod()
2016-04-07 15:42:51 +02:00
Mike van Riel
52723f0fb8
Add aliases for Context class because newer phpunit versions have a global Context class
2016-02-26 21:44:16 +01:00
Fabian Grutschus
678cf682bf
Fix method name is empty when parenthesis is missing in @method
2016-02-26 17:10:44 +01: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
Mike van Riel
fc4fe7a67b
Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock
2016-01-28 13:29:54 +01:00
Mike van Riel
1900685cf9
Update README for v3 release
2016-01-28 13:29:32 +01:00
Mike van Riel
ba00c4ba78
Merge pull request #68 from willemstuursma/patch-1
...
Add mandatory description element to composer.json
2015-12-24 07:44:45 +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
Mike van Riel
82f9aba5a5
Merge pull request #66 from jaapio/feature/filterNullTags
...
Allow only tags in Docblock argument
2015-10-26 15:52:52 +01:00
Mike van Riel
28632e065c
Merge pull request #65 from jaapio/feature/versionBumpTypeResolver
...
Version bump phpdocumentor/type-resolver
2015-10-26 15:52:38 +01:00
Jaapio
e516af3a1b
Allow only tags in Docblock argument
...
The array of tags in the docblock constructor should only contain tags.
Some of the factory methods of the tags are returning a null when the tag could not be created.
This causes issues during parsing. By filtering these null values in the factory this use is resolved.
2015-10-26 15:45:03 +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
1f637ffba2
Merge pull request #61 from jaapio/hotfix/PassContextToFactory
...
pass context to tag factory for correct type resolving
2015-08-02 17:12:31 +02:00
Jaapio
ff18c828dc
pass context to tag factory for correct type resolving
2015-08-02 14:20:58 +02:00
Mike van Riel
0cc2b073b4
Merge pull request #60 from jaapio/fix/returntag
...
fix type mapping for return tag
2015-07-05 11:46:50 +02:00
Jaapio
6a6a4ca739
add missing @uses
2015-07-05 11:37:49 +02:00
Jaapio
8d24ce351f
fix type mapping for return tag
2015-07-05 11:30:12 +02:00
Mike van Riel
ed4c6b77ab
Write example on escaping values in a DocBlock
2015-06-28 19:49:32 +02:00
Mike van Riel
216cf0025f
Add example on writing your own Tag and prepare for TagFactory objects
2015-06-28 11:56:16 +02:00
Mike van Riel
a6ffa93e28
Add example and functional test for reconstituting a DocBlock
2015-06-27 16:47:47 +02:00
Mike van Riel
1b5279c777
Add tests for StandardTagFactory and adjust for found bugs
2015-06-27 15:53:47 +02:00
Mike van Riel
bcfc8360c1
Fixed indentation error in the travis yml
2015-06-26 13:29:29 +02:00
Mike van Riel
033701111e
Ensure that we also test the code after a composer update
2015-06-26 13:25:43 +02:00
Mike van Riel
19c75b3950
Write tests for DescriptionFactory and adjust components for minor bugs that were found
2015-06-26 12:16:45 +02: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
cff8a80680
Add integration test and example on how to read tags
2015-06-24 22:50:12 +02:00
Mike van Riel
97c3735b32
Add first integration test
2015-06-24 08:42:24 +02:00
Mike van Riel
de7bc574ea
Refactored method tag and added test
2015-06-23 08:28:00 +02:00
Mike van Riel
3b060b555e
Refactored the source tag and written test
2015-06-22 08:12:13 +02:00
Mike van Riel
d29061ea4d
Rewritten Since tag and added test
2015-06-22 07:03:18 +02:00
Mike van Riel
01ddd0ae64
Rewritten Version tag and added test
2015-06-22 07:00:31 +02:00
Mike van Riel
c27aeede5d
Rewritten Var tag and added test
2015-06-22 06:57:24 +02:00
Mike van Riel
2bab7d9c1f
Refactored Uses tag and written test
2015-06-22 06:52:05 +02:00
Mike van Riel
6b92695a71
Refactored throws tag
2015-06-22 06:49:41 +02:00
Mike van Riel
447acda736
Written unit tests for See tag and made it more solid
2015-06-22 06:42:11 +02:00
Mike van Riel
255bc6ffda
Written unit tests for return tag
2015-06-22 06:09:54 +02:00
Mike van Riel
75bb275a99
Fixed build fail due to replaced class name
2015-06-21 08:56:53 +02:00
Mike van Riel
db3f56cfff
Refactored PropertyRead and PropertyWrite tags and added tests
2015-06-21 08:53:18 +02:00
Mike van Riel
a7a4d3ff69
Rewritten Property tag and added test
2015-06-21 08:47:34 +02:00