Commit Graph
583 Commits
Author SHA1 Message Date
Jaap van Otterdijk 78dca37266 Merge pull request #285 from jrfnl/feature/tests-annotate-no-assertions
Tests: mark test without assertions as such
2021-08-01 22:21:35 +02:00
Jaap van Otterdijk d5fef100cc Merge pull request #286 from jrfnl/feature/tests-add-missing-coversnothing
Tests: fix missing `@covers` tag
2021-08-01 22:21:05 +02:00
Jaap van Otterdijk 88b67bd355 Merge pull request #283 from jrfnl/feature/docs-minor-fix
Docblock/Tags/Author: fix typo in method docblock
2021-08-01 22:19:28 +02:00
Jaap van Otterdijk ef02f64d74 Merge pull request #280 from jrfnl/feature/tests-fix-namespace
Tests: fix incorrect namespace
2021-08-01 22:17:39 +02:00
Jaap van Otterdijk e774a02926 Merge pull request #279 from jrfnl/feature/tests-fix-type-in-methodname
Tests: fix typo in test method name
2021-08-01 22:16:55 +02:00
Jaap van Otterdijk 384307b665 Merge pull request #269 from phpDocumentor/dependabot/composer/mockery/mockery-1.3.4
Bump mockery/mockery from 1.3.3 to 1.3.4
2021-08-01 21:39:08 +02:00
jrfnl 6eee464f8d Tests: fix missing @covers tag
... or rather add the missing `@coversNothing` as this is an integration test.

This prevents the test from being marked as "risky" due to the missing tag on PHPUnit 9.x:
```
There was 1 risky test:

1) phpDocumentor\Reflection\DocblockSeeTagResolvingTest::testResolvesSeeFQSENOfInlineTags
This test does not have a @covers annotation but is expected to have one
```
2021-08-01 14:17:11 +02:00
jrfnl 36f4124fa4 Tests: mark test without assertions as such
... to prevent it from being considered "risky" and being listed as "risky" below each test run.

```
There was 1 risky test:

1) phpDocumentor\Reflection\ModifyBackTraceSafeTest::testBackTraceModificationDoesNotImpactFunctionArguments
This test did not perform any assertions

/home/runner/work/ReflectionDocBlock/ReflectionDocBlock/tests/integration/ModifyBackTraceSafeTest.php:15
```
2021-08-01 14:16:50 +02:00
jrfnl d73732391f Docblock/Tags/Author: fix typo in method docblock 2021-08-01 05:16:32 +02:00
jrfnl 294709592f Tests: fix incorrect namespace 2021-08-01 04:33:44 +02:00
jrfnl 261f5b2a16 Tests: fix typo in test method name 2021-08-01 04:27:53 +02:00
Jaap van Otterdijk 8719cc12e2 Merge pull request #267 from phpDocumentor/dependabot/github_actions/actions/cache-v2.1.4
Bump actions/cache from v2 to v2.1.4
2021-04-23 11:50:58 +02:00
Jaap van Otterdijk 99e3fb891c Merge pull request #260 from voku/get_tags_with_type_by_name
Get tags with type by name
2021-04-23 11:50:05 +02:00
Jaap van Otterdijk f8d350d851 Merge pull request #262 from voku/more_tests
Only more tests
2021-03-07 12:12:25 +01:00
dependabot[bot] 56e4e57a1b Bump mockery/mockery from 1.3.3 to 1.3.4
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.3.3...1.3.4)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-01 05:21:34 +00:00
dependabot[bot] ed0587db7f Bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-08 05:20:56 +00:00
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