Repository navigation
Commit 41b3703
committed
Update to phpdocumentor/reflection-docblock ^6
The current major, unlocked by the PHP 8.4 requirement, along with
phpdocumentor/type-resolver 2.0. No API changes were needed; the
exporter now also trims tag descriptions, which the legacy parser
always did and which v6's tokenizer no longer does for @throws.
Corpus differences against the v5 build are rendering fidelity
improvements: generic types print with a space after commas as written
in source (`array<string, string>`), `mixed[]` is no longer collapsed
to `array`, complex nested generics in @PARAM tags parse into proper
types/variable fields instead of leaking markup into tag content, and
multi-line emphasis markers are preserved (`*Never*` renders as
`<em>Never</em>` instead of the mangled `Never*`).1 parent 8c4484c commit 41b3703
3 files changed
Lines changed: 29 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
290 | 293 | | |
291 | 294 | | |
292 | 295 | | |
| |||
0 commit comments