Phake is a PHP unit testing framework, Phake, and other PHP simulation framework (PHPUnit, PHPMock, etc.) the main difference is that Phake will use a verification strategy to ensure that the call. In other words, you normally call the code when you complete the code test to determine whether the program is called according to plan. This is very different from other PHP test frameworks, using the desired strategy before any calls.
Phake v3.0.1 has been released, the main update of this version is to provide additional support for PHP 7.1.
Specific updates are as follows:
- Function: Provides additional support for PHP 7.1
- Fix: Allows you to use emptable arguments to simulate classes # 250, # 251