Alexandru Pătrănescu

Results 3 issues of Alexandru Pătrănescu

This implements readonly doubles for readonly classes (second commit) that it possible after migrating internal state associated with Stub/MockObject implementation to separate classes (first commit). Implementation was discussed in #5429...

In big projects where there are installed more than one framework, we could detect the needed library at runtime based on stack back trace. The result could be cached statically...

I will try again to add template support for promises, hopefully in a simpler way that would work both with phpstan and psalm. For https://github.com/guzzle/promises/issues/163.