1

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.*"
    }
halfer
  • 19,824
  • 17
  • 99
  • 186
Achintha Samindika
  • 1,944
  • 1
  • 20
  • 31

0 Answers0