phpspec / prophecy

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

Add PHP nightly support #551

Closed gilbertsoft closed 1 year ago

gilbertsoft commented 2 years ago

Closes #556

mvorisek commented 2 years ago

It would be great if someone can merge this PR, PHP 8.2 alpha is already out.

ciaranmcnulty commented 2 years ago

I'm happy adding it explicitly to the matrix, we can add to composer.json at the RC stage I think? Prophecy will likely hold it back though in the real world

ciaranmcnulty commented 2 years ago

We also need to go through the new features and see what breaks - for instance if you type hint the new types that are added in a test case - ideally someone could open an issue for each new feature that may be relevant and/or add a failing test and/or fix anything that breaks :)

gilbertsoft commented 2 years ago

Added the first fixes.

Would be nice if someone could approve the tests....

stof commented 1 year ago

Closing this as support for PHP 8.2 was added in 1.16 through other PRs.