phpspec / prophecy

Highly opinionated mocking framework for PHP 5.3+
MIT License
8.53k stars 241 forks source link

Disallow intersection types with a nicer error message #543

Closed ciaranmcnulty closed 2 years ago

ciaranmcnulty commented 2 years ago

Does not really address #535 but makes doubling an intersection type produce a sensible error message, so unblocks an 8.1-supporting release