Closed andypost closed 3 months ago
This PR should also fix the new deprecations reported by a optional argument before required ones (which was skipped when the default value was making the type nullable implicitly).
I scanned this branch with PHPCompatibility, which can check for both deprecations and this branch is clean of both of those issues.
Edit: at least it is at this time (when I scanned it).
Edit: at least it is at this time (when I scanned it).
It was not the case when I asked for that change, as shown by the static analysis CI job at that time: https://github.com/phpspec/prophecy/actions/runs/10492742258/job/29065879468
First part for #624