Closed barryvdh closed 7 months ago
Hmm it seems to show the classes for itself as FQN which is not really ideal probably.
@mfn we can remove it for the Model collector at least, except there a few changes (see comments mostly). Not sure if we need to change those, but it would be nice if we could just use the upstream package.
But we would need to do the same for the other generator command still.
Yeah I think the upstream lib doesn't handle generics like we want to. And in general, it tries to 'fix' this for us, which we don't really need..
Hmm not really happy with this as-is. Might leave it to think about it, or explore alternatives (see #1511)
Stumbled upon this. Would it be possible if we would update the barrryvdh/ReflectionDocBlock to the newest version and re-apply the needed modifications?
Especially this is kinda needed: Serializer::removeTrailingSpaces()
PHPCs is biting my butt for those trailing spaces xD
Summary
Try to avoid using the fork of ReflectionDocBlock.
The official lib still doesn't support changing the docs but it does support creating a new one..
Type of change
Checklist
composer fix-style