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
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
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