Jaap van Otterdijk
069a785b21
Merge pull request #254 from voku/fix_for_phpstorm_stubs
...
do not resolve types if it's not possible
2020-09-03 21:13:55 +02:00
Jaapio
f6075926e9
Bump mockery
2020-09-02 23:38:01 +02:00
Jaap van Otterdijk
86733dc09c
Merge pull request #226 from phpDocumentor/fix-resolve-all-fqsen-formats
...
Fix FQSEN resolving on see,covers,uses
2020-09-02 23:14:11 +02:00
Jaapio
73650dde91
Fix FQSEN resolving on see,covers,uses
...
The See, Covers and Use tags can reference also methods, properties and
constants. Which means that the FqsenResolver cannot handle those properly.
This patch fixes that issue.
2020-09-02 22:48:30 +02:00
Jaapio
08c0b366d7
Improve test coverage
2020-09-02 22:46:14 +02:00
Jaap van Otterdijk
13d9a6bb0b
Merge pull request #239 from Kasp42/patch-1
...
Update Link.php
2020-08-22 09:19:02 +02:00
Jaap van Otterdijk
699b11ee4b
Merge pull request #253 from voku/fix_issue_251
...
Param: fix phpdoc with reference hint
2020-08-22 08:59:18 +02:00
Jaap van Otterdijk
f3ab30788f
Merge pull request #247 from phpDocumentor/safe_preg_split
...
Introduce safe preg_split
2020-08-15 14:16:28 +02:00
Jaapio
690d9cd45f
Introduce safe preg_split
...
Removes the need for extra assertions which makes the code
more readable, and reduces the overhead of an is_array check.
2020-08-15 14:06:55 +02:00
Jaap van Otterdijk
d870572532
Merge pull request #250 from phpDocumentor/fix/modified-backtrace-arguments
...
Fix issue with modified backtrace
2020-08-15 13:14:08 +02:00
Jaapio
584a54ca0d
Bump phpunit
2020-08-12 19:52:10 +02:00
Jaapio
6ff90eb7bd
Fix issue with modified backtrace
...
php allows the backtrace arguments to be modified via the
backtrace. By using array_map we make sure that we do not overwrite
references.
2020-08-12 18:07:00 +02:00
Jaapio
f0af3b7263
Add more tests
2020-08-12 15:27:12 +02:00
Jaapio
1ac416df3f
Ensure docblock defaults
2020-07-21 10:16:41 +02:00
Jaap van Otterdijk
3170448f57
Merge pull request #246 from phpDocumentor/php72/phpunit8
...
update to phpunit 9.2
2020-07-20 22:05:34 +02:00
Jaapio
a77432fbb0
update to phpunit 9.2
...
phpunit 9.2 is the latests version but not supported on php 7.2
we are supporting php 7.2 for now, so downgrade for that purpose
2020-07-20 21:59:04 +02:00
Jaapio
5316142b0f
Install tools per step to prevent errors
2020-07-20 21:38:19 +02:00
Jaapio
2b7f96583d
Enable php8 in build matrix
2020-07-20 21:27:58 +02:00
Jaapio
9781068ce1
Move away from phropecy since it is not php8 ready
2020-07-20 21:20:51 +02:00
Jaap van Otterdijk
eb3320ef01
Merge pull request #244 from GrahamCampbell/patch-1
...
Fix PHP 8.0 support
2020-07-09 14:42:26 +02:00
Jaap van Otterdijk
7c87da1725
Merge pull request #240 from DerManoMann/reflectionparameter-getclass-deprecated-php8
...
Use ReflectionParameter::getType() instead of getClass()
2020-07-07 16:44:20 +02:00
Jaapio
41f77e8697
Remove phpstan from phive
2020-07-03 08:45:43 +02:00
Jaapio
cbe141db0f
Update phpstan
2020-07-03 08:40:40 +02:00
Jaapio
664187301b
Downgrade mockery
2020-06-27 19:33:53 +02:00
Jaapio
70745c7dcb
Bump dependencies
2020-06-27 17:54:35 +02:00
Jaapio
da1c4e7d06
Remove unused dependency
2020-06-27 16:46:17 +02:00
Jaap van Otterdijk
04ad1dd646
Merge pull request #237 from phpDocumentor/php-8
...
Add php 8 to build matrix
2020-06-27 14:58:06 +02:00
Jaapio
cfd5b88569
Allow this package on php8
2020-06-27 14:48:53 +02:00
Jaapio
acd4c1fc9d
Add php 8 to build matrix
2020-06-27 14:43:28 +02:00
Jaap van Otterdijk
adacaaab2f
Merge pull request #235 from phpDocumentor/dependabot/github_actions/phpDocumentor/phpstan-ga-0.12.9
...
Bump phpDocumentor/phpstan-ga from 0.12.3 to 0.12.9
2020-06-27 14:32:41 +02:00
Jaap van Otterdijk
dcb2e76f35
Merge pull request #234 from phpDocumentor/dependabot/github_actions/actions/cache-v2
...
Bump actions/cache from v1 to v2
2020-06-27 14:30:53 +02:00
Jaapio
2e17bb199a
Add github actions to dependabot
2020-06-27 14:20:56 +02:00
Jaap van Otterdijk
e3120da3fa
Merge pull request #224 from phpDocumentor/dependabot/composer/doctrine/instantiator-1.3.1
...
Bump doctrine/instantiator from 1.3.0 to 1.3.1
2020-06-27 13:57:32 +02:00
Jaap van Otterdijk
9bdb16165f
Merge pull request #232 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.3.0
...
Bump phpdocumentor/type-resolver from 1.0.1 to 1.3.0
2020-06-27 13:57:03 +02:00
Jaap van Otterdijk
9323ba40c1
Merge pull request #231 from phpDocumentor/dependabot/composer/phpdocumentor/reflection-common-2.2.0
...
Bump phpdocumentor/reflection-common from 2.0.0 to 2.2.0
2020-06-27 13:56:39 +02:00
Jaap van Otterdijk
b1d4733ab7
Merge pull request #228 from phpDocumentor/dependabot/add-v2-config-file
...
Update Dependabot config file
2020-06-27 13:56:00 +02:00
Jaap van Otterdijk
7854965c2c
Merge pull request #225 from GrahamCampbell/patch-1
...
Removed unnecessary version constraint
2020-06-27 13:33:48 +02:00
Jaapio
a93d44f1e1
Add psalm key
2020-06-27 13:25:20 +02:00
Jaapio
4d1a808f18
Bump qa tools
2020-06-27 13:19:36 +02:00
Jaap van Otterdijk
790426f28b
Merge pull request #227 from vladyslavstartsev/patch-1
...
remove (from publishing) files that are not needed for end user
2020-06-19 20:58:43 +02:00
Jaapio
5892a510fe
Fix phpstan workflow
2020-06-18 22:57:11 +02:00
Jaapio
01848b641d
Use composer image to install dependencies
2020-06-18 22:50:07 +02:00
Jaap van Otterdijk
cd72d394ca
Merge pull request #212 from orklah/static-fixes
...
change somes things for SA
2020-02-22 13:28:44 +01:00
Jaap van Otterdijk
8bc250e5d2
Merge pull request #214 from phpDocumentor/feature/improve-ci
...
Improve ci setup
2020-02-22 11:15:11 +01:00
Jaapio
98f8eeaa24
Improve ci setup
2020-02-22 11:08:00 +01:00
Jaap van Otterdijk
5463f8d32c
Merge pull request #207 from orklah/static-analysis
...
More static analysis fixes
2020-02-20 21:42:36 +01:00
Jaap van Otterdijk
45e5409b3f
Merge pull request #210 from TysonAndre/patch-1
...
Fix typo in .PHONY for Makefile
2020-02-20 20:45:11 +01:00
Jaap van Otterdijk
edea3e8693
Merge pull request #206 from phpDocumentor/bc-check
...
Bc check
2020-02-12 21:05:04 +01:00
Jaapio
917b6648e6
CSFixes
2020-02-12 20:14:58 +01:00
Jaapio
50b2bc6670
Fetch tags
2020-02-12 20:01:06 +01:00
Jaap van Otterdijk
b21eaf3a01
Merge pull request #201 from orklah/master
...
bump phpstan to master
2020-02-12 19:32:43 +01:00
Jaapio
b73a2b7be0
Add bc check to ci
2020-02-12 19:30:27 +01:00
Jaapio
5b4b720bd1
Add bc check to ci
2020-02-12 19:29:34 +01:00
Jaap van Otterdijk
49a9955ef6
Merge pull request #205 from remicollet/issue-74
...
don't rely on 'args' in trace, not available in 7.4
2020-02-12 19:13:16 +01:00
Jaap van Otterdijk
e2ce1d210a
Merge pull request #202 from drupol/fix-for-php74
...
PHP 7.4 fix - Ensure the existence of the 'args' key.
2020-02-10 21:23:05 +01:00
Jaapio
1ef2c9d917
Build on push & pr
2020-02-10 19:44:24 +01:00
Jaapio
a48807183a
Add github action status badge
2020-02-09 10:16:15 +01:00
Jaapio
a83a19f71b
Fix code style
2020-02-09 10:13:47 +01:00
Jaapio
1e5bd86da1
Fix invalid void type default for arguments
2020-02-09 09:31:53 +01:00
Jaap van Otterdijk
a8dc047f21
Merge pull request #200 from phpDocumentor/feature/improved-tag-parsing
...
Limit characters after tag name
2020-02-09 09:15:34 +01:00
Jaapio
9169749b9e
Improve test descriptions
2020-02-09 09:11:55 +01:00
Jaapio
264bd1fff7
Handle tag specialization correctly
2020-02-09 09:05:22 +01:00
Jaapio
ed7b7919e3
Limit characters after tag name
...
Previously we allowed all characters after a tag name which made
it a bit fuzzy how tags are handled. Psr-5 is more strict about
the characters that are allowed in tags and those that are part of
the body. A tag name can now be followed by `(`, <space> and `{` all
other characters are forbidden. The first character of the body is
not restricted anymore.
fixes #165
2020-02-09 08:52:29 +01:00
Jaapio
6a88d1ae42
use phpstan action
2020-02-05 21:17:02 +01:00
Jaapio
da71602ae9
Fix issue on workflow
2020-02-02 20:24:25 +01:00
Jaapio
6239e0d184
Switch to phpdoc coding-standard
2020-02-02 11:33:17 +01:00
Jaapio
93919e334b
Fix code style
2020-01-27 21:01:09 +01:00
Jaapio
31fd6db84f
Return invalid tag when factory returned null
2020-01-25 15:52:34 +01:00
Jaapio
cf16f630f2
Fix code style
2020-01-16 09:49:07 +01:00
Jaapio
ce65c06bb6
Fix serialization issue of InvalidTag
2020-01-16 09:38:58 +01:00
Jaap van Otterdijk
f256f0b49e
Merge pull request #198 from phpDocumentor/fix/invalid-tag-usage-fix
...
Fix issue when processing invalid tags
2020-01-12 13:26:24 +01:00
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