chore(deps): allow webmozart/assert v2
@simPod There are no changes to composer.json in commit.
I was tinkering with CI and accidentally removed the change. Fixed, thx.
Could you please change the types like suggested by Psalm? https://github.com/phpDocumentor/ReflectionDocBlock/blob/5.x/src/Utils.php#L58
I've cleaned up the composer.lock change. It should not be committed in the library repo so I'll try not to touch it.
i am not sure if psalm run is correct now. My intention was this change. https://github.com/phpDocumentor/ReflectionDocBlock/pull/427/files#diff-29604b8d3d680574d348a450de44692476847958c077b350b4dd553c4864f07dR46
I know but the point is that it is not relevant to this change. The psalm issue is on master as well right now.
Currently psalm check passes on this commit, same as it does on master https://github.com/simPod/ReflectionDocBlock/actions/runs/20441409379/job/58735043783
It could be the psalm error is triggered by a change in webmozart/assert. I see @Chris53897 created a new PR. CI is running on both now.
I don't know why CI did not pass at the first run, it's now ok. So merged this.
Thanks for your help!
Thanks @simPod @jaapio