You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If assertType() assertion is used with autoloader, autoloader tries to load asserted type as php file. For example with Zend Framework autoloader enabled, calling assertType('array', array()) results in error include_once(array.php): failed to open stream: No such file or directory.
This could be fixed by setting parameter $autoload=false to functions class_exists() and interface_exists() in PHPUnit_Util_Type::isType().
The text was updated successfully, but these errors were encountered:
Affected version 3.5.
If assertType() assertion is used with autoloader, autoloader tries to load asserted type as php file. For example with Zend Framework autoloader enabled, calling assertType('array', array()) results in error include_once(array.php): failed to open stream: No such file or directory.
This could be fixed by setting parameter $autoload=false to functions class_exists() and interface_exists() in PHPUnit_Util_Type::isType().
The text was updated successfully, but these errors were encountered: