Commit Graph
817 Commits
Author SHA1 Message Date
Jaap van Otterdijk e3324ecbde Merge pull request #256 from phpDocumentor/dependabot/composer/phpdocumentor/type-resolver-1.4.0
Bump phpdocumentor/type-resolver from 1.3.0 to 1.4.0
2020-11-18 15:27:38 +01:00
Lars Moelleken c2889e4c40 code styles fixes only 2020-10-24 10:34:38 +02:00
Lars Moelleken 0722b31031 "StandardTagFactory" -> add more tests 2020-10-24 10:33:49 +02:00
Lars Moelleken 2b6310620c "Uses" -> add more test only 2020-10-24 10:33:38 +02:00
Lars Moelleken e31c62da4c "See" -> add more test + simplify the regex 2020-10-24 10:33:28 +02:00
Lars Moelleken 5a2dd88e14 "Link" -> add some more tests 2020-10-24 10:33:17 +02:00
Lars Moelleken 3b4c4d1c2c "CoversTest" -> add only one more test 2020-10-24 10:33:08 +02:00
Lars Moelleken 591f5935c9 code styles fixes only 2020-10-24 10:29:01 +02:00
Lars Moelleken 8c3953ef86 "DocBlock" -> add "getTagsWithTypeByName()"
-> because I saw errors like this ```Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()```

-> https://github.com/Roave/BetterReflection/blob/5b4d1c53768e2a3bc32ab348752663733fd70546/src/TypesFinder/FindReturnType.php#L53
2020-10-24 10:27:35 +02:00
dependabot[bot] 78e45517b9 Bump phpdocumentor/type-resolver from 1.3.0 to 1.4.0
Bumps [phpdocumentor/type-resolver](https://github.com/phpDocumentor/TypeResolver) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/phpDocumentor/TypeResolver/releases)
- [Commits](https://github.com/phpDocumentor/TypeResolver/compare/1.3.0...1.4.0)

Signed-off-by: dependabot[bot] <[email protected]>
2020-09-21 05:40:47 +00:00
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
Lars Moelleken 2ef4c3da53 add more unit tests and normalize the "__toString" methods
-> update the code coverage level
2020-09-03 02:54:11 +02:00
Lars Moelleken 5bb97a97c0 add more unit tests and normalize the "__toString" methods
-> fix code style v2
2020-09-03 02:51:17 +02:00
Lars Moelleken 4438ee7955 add more unit tests and normalize the "__toString" methods
-> fix code style + psalm reported errors
2020-09-03 02:38:39 +02:00
Lars Moelleken 4e6d7ecd03 add more unit tests and normalize the "__toString" methods v2 2020-09-03 02:06:24 +02:00
Lars Moelleken 7b7c22ddc3 Merge remote-tracking branch 'upstream/master' into fix_for_phpstorm_stubs
* upstream/master:
  Bump mockery
  Fix FQSEN resolving on see,covers,uses
  Improve test coverage
2020-09-03 00:41:27 +02:00
Lars Moelleken 3d8d7df9f1 clean-up code comments 2020-09-03 00:35:02 +02:00
Lars Moelleken 97863e0c44 add more unit tests and normalize the "__toString" methods 2020-09-03 00:33:09 +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
Lars Moelleken bbe0f54877 add more unit tests and fixed the output v2 2020-09-02 22:55:00 +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
Lars Moelleken be6ed8b0d8 add more unit tests and fixed the output 2020-09-02 22:23:55 +02:00
Lars Moelleken acf538a461 Param: do not resolve types if it's not possible (fix code style) 2020-09-01 19:42:29 +02:00
Lars Moelleken 2e6cecb9ef Param: do not resolve types if it's not possible
-> https://travis-ci.org/github/JetBrains/phpstorm-stubs/builds/723069982

-> https://github.com/JetBrains/phpstorm-stubs/pull/892
2020-09-01 17:52:33 +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
dependabot[bot] 5ac2a85049 Merge pull request #252 from phpDocumentor/dependabot/composer/mockery/mockery-1.3.3 2020-08-22 07:18:24 +00: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
Lars Moelleken 3d38a9c3bb Param: fix phpdoc with reference hint (code style fixes v2) 2020-08-18 09:53:22 +02:00
Lars Moelleken b5f863d3da Param: fix phpdoc with reference hint (code style fixes) 2020-08-18 09:48:21 +02:00
Lars Moelleken 443d86e18e Param: fix phpdoc with reference hint
fix issue #251
2020-08-17 23:44:09 +02:00
dependabot[bot] 9281cf91b9 Bump mockery/mockery from 1.3.2 to 1.3.3
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/1.3.3/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.3.2...1.3.3)

Signed-off-by: dependabot[bot] <[email protected]>
2020-08-17 06:18:41 +00: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
Graham Campbell 44319e2691 Fixed PHP 8.0 builds 2020-07-09 09:38:20 +01: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
Martin Rademacher 321abc52ae Handle typehint value 'self' 2020-07-07 11:00:15 +12:00
Martin Rademacher 65a85616f4 Use ReflectionParameter::getType() instead of getClass()
`iReflectionParameter::getClass()` is deprecated as of PHP 8 and will
trigger a warning.
2020-07-06 17:20:21 +12:00