phpspec / prophecy

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

Allow PHP 8.2 #550

Closed ricardoboss closed 2 years ago

ricardoboss commented 2 years ago

Hi! I want to test code using nightly builds of PHP 8.2. Will you be adding an experimental branch or do we have to wait until a release candidate is ready?

stof commented 2 years ago

Composer 2.2 added a feature to solve that case: --ignore-platform-req=php+. The + indicates to ignore the upper bound of the requirement only, which is precisely what you need when you want to test nightly builds of PHP.

ricardoboss commented 2 years ago

Thanks! That did the trick.