Commit Graph
50 Commits
Author SHA1 Message Date
Jaapio bb629f6469 Improvements to code 2020-01-12 13:19:45 +01:00
Jaapio 1b78639b8b Add testcase for invalid tag creation 2020-01-03 14:06:44 +01:00
Jaapio bdecc2d3bf Fix issue when processing invalid tags
When invalid tags are processed a null was returned causing all kind
of issues in the normal behavior of this libary. As a solution a generic tag
could be created. But that would just drop the error information in.
Therefore a new tag was introduced, `invalidTag` the tag is just like the
generic tag but does contain the error triggered during the creation of the
tag. Which might help applications like phpdocumentor to display validation issues.
2020-01-03 13:33:06 +01:00
Jaapio c19ab7ef57 Upgrade phive phpstan:0.12.2 2019-12-20 14:36:14 +01:00
Jaap van Otterdijk d9e1217896 Merge pull request #188 from othercorey/method-arguments
Fixed @method annotations with an empty argument list and description
2019-12-20 14:23:12 +01:00
Jaapio 79fd4a9475 Allow dependabot automerge 2019-12-13 16:01:35 +01:00
Jaap van Otterdijk 03ddbe014b Merge pull request #179 from phpDocumentor/cleanup
Cleanup
2019-12-13 15:42:32 +01:00
Jaapio 043df2c565 remove bc check for now 2019-12-13 15:31:58 +01:00
Jaapio 0bbc74b119 Remove ci configs to switch to github actions 2019-12-11 09:32:27 +01:00
Jaapio fc2eb2355e Add phpdoc workflow 2019-12-11 09:18:05 +01:00
Jaapio d7d476a5da Bump minimal required php version 2019-12-11 09:13:46 +01:00
Jaapio c14c01875a Make static anlisys pass 2019-12-10 23:46:06 +01:00
Jaapio 09e086ecf1 Cleanup build files 2019-09-26 21:19:59 +02:00
Jaapio 73ea6784b3 Add workflow to ensure checks 2019-09-26 21:11:19 +02:00
Jaapio 50ec1362de Psalm fixes 2019-09-26 21:09:37 +02:00
Jaapio 19a1f3a91f Phpstan to max level 2019-09-20 16:52:17 +02:00
Jaapio aee984014b Apply new code style 2019-09-20 10:54:12 +02:00
Jaap van Otterdijk 48351665a8 Merge pull request #167 from michbeck/master
Fix for generic tag description properly parsing 0
2019-04-30 20:01:57 +02:00
Jaap van Otterdijk 90ae750874 Merge pull request #161 from andreybolonin/patch-1
add php 7.3 to travis
2018-10-30 09:13:41 +01:00
Jaap van Otterdijk 6537078c5e Merge pull request #154 from jakzal/patch-1
Update the branch alias for 5.x releases
2018-04-19 10:00:57 +02:00
Jaap van Otterdijk 9ff23ace62 Merge pull request #145 from ashnazg/ci
update travis build; add appveyor
2018-01-09 21:25:16 +01:00
Jaap van Otterdijk 3bf31c9f4e Merge pull request #144 from ashnazg/bug-63
Ellipsis in summary
2018-01-07 21:52:59 +01:00
Jaap van Otterdijk c8a91684d6 Merge pull request #143 from TomasVotruba/ecs-fix
EasyCodingStandard - config path fixes + apply coding style
2018-01-03 09:19:52 +01:00
Jaap van Otterdijk 996d0fb0e5 Merge pull request #142 from carusogabriel/2018
Welcome 2018 🎉
2018-01-02 08:30:15 +01:00
Jaapio 4595df959d bump type resolver 2017-12-28 22:17:47 +01:00
Jaapio 14f9edf1ae Switch to phpdocumentor/reflection-common stable 2017-09-11 20:06:11 +02:00
Jaapio c5545d1519 Adds sort to order expected keys
Without this sort the order of argument name and type matter. But
we accually don't care about the order. Only name and type are allowed
but the order doesn't matter.
2017-09-11 19:56:35 +02:00
Jaapio 2d3d238c43 Adds name to example tag 2017-08-30 20:51:59 +02:00
Jaapio 1d3a5e8585 Fixes namespace error in ExampleFinder 2017-08-30 20:51:28 +02:00
Jaapio 86e24012a3 Merge remote-tracking branch 'warxcell/empty_var_name' 2017-08-29 21:37:41 +02:00
Jaapio 125c8b15c8 Fixes risky tests 2017-08-18 23:01:43 +02:00
Jaapio ac75d9af0a Adds codecoverage reporting 2017-08-18 23:00:55 +02:00
Jaapio c054cfdfe1 Fixes implementation of Example tag 2017-08-18 23:00:12 +02:00
Jaapio 3c8d2425b5 Drop hhvm support 2017-08-04 23:25:06 +02:00
Jaapio 2b49b7962a Allow see tag to url
The see tag allows Fqsen and uri's. But in the current implementation
only Fqsen where allowed. This wrapps the uri and Fqsen in an uniform class
to be able address them in the same way.

Fixes #78
2017-08-04 23:11:57 +02:00
Jaapio 51911abd63 Stop building for php 5 2017-08-04 23:11:13 +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 183824db76 Restores future support for annotations
In #89 the regex to parse tags was to strict. The first character after a tag
had to be a single string. Annotations typically start with a parentheses. Only character not
allowed after a tag is a [.
2017-08-04 22:55:59 +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 46f7e8bb07 Allows usage of compound array types
fixes #50
2017-07-15 13:38:20 +02:00
Jaapio b453d2c304 Allow omitting method return type
Support for `@method myMethod()` was missing but according to the
docs of phpdocumentor this is possible.
2017-07-15 13:38:20 +02:00
Jaapio 8ba1708217 Updates phpunit dependencies 2017-07-15 13:30:40 +02:00
Jaapio 382d7cd6f3 Removes space after tag without description
fixes #86
2017-07-14 18:33:36 +02:00
Jaapio 7c33776cd8 Upgrade typeresolver to 0.4 2017-07-14 16:40:01 +02:00
Jaap van Otterdijk 1d3dd12a7f Merge pull request #89 from Seldaek/fix_regex
Fix regex for tag name extraction and restore disabled test
2017-04-24 22:45:54 +02: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
Jaapio ff18c828dc pass context to tag factory for correct type resolving 2015-08-02 14:20:58 +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