}
// NOTE; some things such as Closures are not serializable
// in this case just set the value!
- catch( Exception $e ) {
+ catch ( Exception $e ) {
$this->mwGlobals[$globalKey] = $GLOBALS[$globalKey];
}
}
*/
public function __call( $func, $args ) {
static $compatibility = array(
- 'assertInternalType' => 'assertType', // assertInternalType was added in phpunit 3.5.0
- 'assertNotInternalType' => 'assertNotType', // assertNotInternalType was added in phpunit 3.5.0
- 'assertInstanceOf' => 'assertType', // assertInstanceOf was added in phpunit 3.5.0
'assertEmpty' => 'assertEmpty2', // assertEmpty was added in phpunit 3.7.32
);