Mike van Riel
e4a6e492f3
Merge pull request #84 from Seldaek/support_rest_arg
...
Add support for rest argument notation
2016-09-30 09:11:17 +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
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
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
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
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
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
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
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
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
Mike van Riel
d1f4ee3c03
Written test for Param tag
2015-06-21 08:38:48 +02:00
Mike van Riel
0c63d0ae5b
Rename Other tag class to Generic and write test
2015-06-15 07:04:42 +02:00
Mike van Riel
4b4fc8fdf6
Write test for Link tag
2015-06-15 06:47:27 +02:00
Mike van Riel
7ade5b89fc
Write tests for Deprecated tag
2015-06-14 09:11:50 +02:00
Mike van Riel
70eadb02df
Add tests for covers tag
2015-06-14 08:50:52 +02:00
Mike van Riel
260a74a77b
Expand tests of Author tag with BaseTag covered functionality
2015-06-14 08:18:12 +02:00
Mike van Riel
0d29e96332
Add test for Author Tag
2015-06-14 00:33:59 +02:00
Mike van Riel
8798633221
Add test for passthroughformatter
2015-06-14 00:10:36 +02:00
Mike van Riel
73185b45fd
Moved formatters from Description to tags namespace because they only format a Tag now
2015-06-14 00:02:36 +02:00
Mike van Riel
66c45cf480
Update Serializer to match new architecture and add test for it
2015-06-13 23:41:44 +02:00
Mike van Riel
e1e2b5cd98
Tweak phpunit configuration and fix mocking errors
2015-06-13 21:46:07 +02:00
Mike van Riel
056607296e
Update travis and scrutinizer config
2015-06-13 21:29:32 +02:00
Mike van Riel
c24f8ead92
Write test for the Description object and stabilize the API
2015-06-13 21:25:21 +02:00
Mike van Riel
53d5adb324
Descriptions were not separated into tags
2015-06-13 20:27:27 +02:00
Mike van Riel
ab3ebf467c
Add assertions to DocBlock
2015-06-13 18:41:45 +02:00
Mike van Riel
57c78b2c8b
Merge pull request #59 from mvriel/feature/refactor-to-v2
...
Feature/refactor to v2
2015-06-13 18:31:39 +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
c150553124
Add getName() method to tag interface
2015-06-13 18:02:21 +02:00
Mike van Riel
e586a50170
Remove final from DescriptionFactory; making an interface is overkill
2015-06-13 18:02:05 +02:00
Mike van Riel
21e6a9679a
Re-make Link tag in new image
2015-06-13 18:01:26 +02:00
Mike van Riel
5749b814fb
Add test for DocBlock class
2015-06-13 18:01:00 +02:00
Mike van Riel
b87a111eb2
Remove tests that fail and should be re-made
2015-06-13 18:00:29 +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
Mike van Riel
2054338d51
Remove old tag tests because they need to be rewritten from scratch
2015-06-13 14:28:28 +02:00
Mike van Riel
c80c4b84ee
Merge pull request #57 from GrahamCampbell/patch-1
...
dev-master should always be avoided
2015-06-13 00:18:32 +02: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
b640140928
Merge pull request #54 from mvriel/feature/refactor-to-v2
...
Add support for types and improve resolution
2015-06-10 14:55:27 +02:00
Mike van Riel
58d09836c1
Add interface for the DocBlockFactory
2015-06-10 14:53:41 +02:00
Mike van Riel
53a142d672
Make resolver final
2015-06-08 08:02:07 +02:00
Mike van Riel
b54671f51f
Introduce Types
...
phpDocumentor is capable of representing a whole series of types, more
than PHP supports in fact, and this commit represents those types and a
Resolver that is capable of taking a type Expression and resolving that
to a series of Value Objects representing those types.
2015-06-08 07:05:32 +02:00
Mike van Riel
6e3bf405b3
Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock
2015-06-07 15:07:55 +02:00
Mike van Riel
2e3172c173
Upped master dev version to 3.0
2015-06-07 15:07:32 +02:00
Mike van Riel
fab7169255
Add support for types and improve resolution
...
As part of the re-architecting of phpDocumentor and its Reflection component
we needed to move the type classes from the \phpDocumentor\Descriptor
namespace to \phpDocumentor\Reflection\Types.
In addition to this I have removed the resolution / type creation from the
Collection class into a new Resolver class that is capable of resolving any
type into a Type or Fqsen object.
This is the first commit with the base classes and a test for the Resolver
functionality in subsequent commits we need to add tests for the other
classes and to refactor the collection object.
2015-06-07 11:03:28 +02:00
Mike van Riel
bd622adfac
Merge pull request #53 from mvriel/feature/refactor-to-v2
...
Make Context leaner and enable third parties to create them
2015-06-06 21:40:28 +02:00
Mike van Riel
f3f4d07808
Make Context leaner and enable third parties to create them
...
Contexts are necessary for factories to resolve QSEN into FQSENs based
on partial namespaces and namespace aliases. These provide DocBlocks
with the namespace name and namespace aliases.
The new ContextFactory will enable third parties who don't use
phpDocumentor's Reflection component to construct a Context based on
a class reflector or namespace name (and file contents).
2015-06-06 20:03:59 +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
Mike van Riel
0862bda1a7
Merge pull request #47 from TomasVotruba/patch-1
...
travis: PHP 7.0 nightly added
2015-02-27 10:28:18 +01:00
Mike van Riel
139de61110
Merge pull request #46 from colinodell/remove-composer-lock
...
Remove composer.lock
2015-02-25 18:26:05 +01:00
Mike van Riel
6af9d09011
Merge pull request #45 from colinodell/commonmark-support
...
Add support for the league/commonmark Markdown parser
2015-02-25 18:24:05 +01:00
Mike van Riel
27848b2a25
Merge pull request #44 from dunglas/patch-1
...
minor: typo fix in PHPDoc
2015-02-12 13:17:11 +01:00
Mike van Riel
1d43dcf418
Remove external code coverage
2015-02-03 21:57:02 +01:00
Mike van Riel
fa01efa273
Remove external code coverage and fix scrutinizer issues
2015-02-03 21:43:12 +01:00
Mike van Riel
6bddbfdd2b
Add scrutinizer config
2015-02-03 13:17:25 +01:00
Mike van Riel
9f929a987a
Disable failing test before tagging
2015-02-03 13:10:50 +01:00
Mike van Riel
e2d20cf798
Merge pull request #41 from cebe/patch-1
...
Create LICENSE
2015-02-03 07:38:02 +01:00
Mike van Riel
6142bbbbbf
Add missing DocBlock (info).
2014-08-30 11:16:26 +02:00
Mike van Riel
fe8652b292
Add support for DocBlock template markers
...
DocBlocks may start with #@+ and #@- to indicate that they are (the start) of a DocBlock
template or the end of a template.
In this commit I have changed the way a DocBlock is parsed to interpret this information
and added tests to show for it. In addition I have added more comments to the Regular
Expression responsible for splitting a DocBlock to show the business rules more clearly.
This is the first step in implementing https://github.com/phpDocumentor/phpDocumentor2/issues/42 .
2014-08-30 11:08:15 +02:00
Mike van Riel
70bca88316
Merge pull request #38 from GrahamCampbell/stuff
...
Composer And Travis Updates
2014-08-21 23:05:07 +02:00
Mike van Riel
c830f38cf3
Merge pull request #37 from alexkn/fix-error-display
...
Remove Error display at MethodTag
2014-08-09 12:27:07 +02:00
Mike van Riel
0d8a07252b
Merge pull request #33 from Nyholm/patch-1
...
Added PHP 5.6 and HHVM to travis.yml
2014-07-19 08:49:33 +02:00
Mike van Riel
5f8ee928b6
Merge branch 'master' of github.com:phpDocumentor/ReflectionDocBlock
2014-04-26 12:10:44 +02:00
Mike van Riel
d798405fae
Implement support for Variadic arguments
...
Fixes https://github.com/phpDocumentor/phpDocumentor2/issues/629 , in
this commit we add support for recognizing and displaying variadic
arguments as described in the Variadics RFC on Internals
(https://wiki.php.net/rfc/variadics ).
This adds support for describing Variadics even before PHP 5.6, where
this feature is planned.
2014-03-28 10:21:30 +01:00