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.*"
    }
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.