Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Mocking serializable classes in PHP 5.5.13 results in exception #339
Since upgrading to PHP 5.5.13 our test suite has started failing due to a PHP exception:
Here's a sample line to reproduce:
This test works perfectly on 5.5.12.
I suspect this is related to a similar bug in PHPUnit: sebastianbergmann/phpunit-mock-objects#171
I've had a stab at fixing this but I couldn't quite figure it out, I'm afraid I don't know the Mockery code base well enough.