Erro in calling Xsd2PHP in the test folder

566 views
Skip to first unread message

Carter

unread,
Feb 22, 2011, 3:31:18 AM2/22/11
to LegkoXML (XSD2PHP) support
Below is the error that i call the xsd2php in the test folder.

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in C:\xampp
\xampp\htdocs\test\soap\test\LegkoXMLTestCase.php on line 3

I cant find the PHPUnit_Framework_TestCase in the folder....any 1 can
help me ???

Thanks

Mike B.

unread,
Feb 22, 2011, 4:22:20 AM2/22/11
to LegkoXML (XSD2PHP) support
Hi Carter,

Seems like you forgot to install PHPUnit or forgot to set path to PEAR
in php.ini (include_path)
"
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
"

Best regards,
Mike Bevz

Rajdeep Hazarika

unread,
Nov 7, 2014, 9:39:41 PM11/7/14
to legkoxml...@googlegroups.com
Hi Mike,

I am getting the same error , i believe PEAR is being phased out , so i installed composer . 

Could you please let me know how do i get composer working for your project .

Cheers!
Raj
Reply all
Reply to author
Forward
0 new messages