I'm developed the application using Laravel 4 and install the PHPUnit using Composer. But when I run the "phpunit" command in the console I'm getting following error.
Fatal error: Cannot redeclare class File_Iterator_Factory in G:\xampp\htdocs\airasia-github\vendor\p
hpunit\php-file-iterator\File\Iterator\Factory.php on line 57
This used in the composer.json
"require-dev": {
"phpunit/phpunit": "3.7.*"
}