Jaapio
50bf16734e
Add support for constant types.
...
phpstan supports contant definitions and expressions to
link to constants.
2022-11-04 11:21:53 +01:00
Jaapio
81553b535f
Add default types to method tag arguments
2022-10-28 22:37:28 +02:00
Jaapio
e4ac07bc40
Add method support
2022-10-28 22:25:08 +02:00
Jaapio
cfe9845260
Add property support
2022-10-28 21:07:34 +02:00
Jaapio
1dd491c8ec
Add return tag factory
2022-10-28 16:47:01 +02:00
Jaapio
25d696587f
Cleanup and var implementation
2022-10-28 16:27:10 +02:00
Jaapio
b66b6dc644
Fix some php8+ issues
2022-10-28 14:54:08 +02:00
Jaapio
d6c050a533
WIP
2022-10-28 14:05:33 +02:00
Fabien Villepinte
29ed9ae60d
Support reference in method tag
2022-03-31 13:22:11 +00:00
Jaap van Otterdijk
d708b18227
Merge pull request #299 from villfa/test/298
...
Tests: add a case to cover issue #298
2021-09-17 10:37:36 +02:00
Fabien Villepinte
98e82e39fa
Tests: add a case to cover issue #298
2021-09-05 18:57:50 +00:00
Jaapio
6fa60f9f08
Fix code style
2021-08-26 22:32:25 +02:00
Jaapio
bca4974b0b
Make split platform independend
2021-08-26 22:31:30 +02:00
jrfnl
11315744bf
CS: blank line between different use statement types
2021-08-08 19:41:03 +02:00
jrfnl
a607236134
CS: no whitespace before return type colon
2021-08-08 19:41:03 +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
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
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
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
97863e0c44
add more unit tests and normalize the "__toString" methods
2020-09-03 00:33:09 +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
3d38a9c3bb
Param: fix phpdoc with reference hint (code style fixes v2)
2020-08-18 09:53:22 +02:00
Lars Moelleken
443d86e18e
Param: fix phpdoc with reference hint
...
fix issue #251
2020-08-17 23:44:09 +02:00
Jaapio
f0af3b7263
Add more tests
2020-08-12 15:27:12 +02:00
Jaapio
9781068ce1
Move away from phropecy since it is not php8 ready
2020-07-20 21:20:51 +02:00
Jaapio
70745c7dcb
Bump dependencies
2020-06-27 17:54:35 +02:00
Jaapio
917b6648e6
CSFixes
2020-02-12 20:14:58 +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
Remi Collet
e8384e45fa
don't rely on 'args' in trace, not available in 7.4
2020-02-12 13:46:34 +01:00
Mike van Riel
50e77ace68
Change unit testing to match phpDocumentor itself
2020-02-12 08:18:08 +01:00
Daniel Rotter
8727095d6b
Add failing testcase for long method name
2020-02-12 07:28:49 +01:00
Orklah
ada1b6be7f
bump phpstan to master. Fixed ignored errors
2020-02-10 21:41:22 +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
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
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