zendframework/zf2 — pull request #4537 by bakura10 (2013-05-24 13:01:26+00:00)
Title: Remove ZendTest from composer.json

I have a script to deploy my application that install my application with composer, with the option --optimize-autoloader enabled. However, the dist package of ZF 2 does not include tests folder, so composer throw an exception as it tries to create the classmap from an unknown folder, which make the process fails.

The only solution is to add --prefer-source option so that the whole package with tests is loaded, but as we don't ship tests, it's better to remove this in the composer.json file.