genemu/GenemuFormBundle — pull request #78 by Ph3nol (2012-04-15 17:19:13+00:00)
Title: New Form Types getDefaultOptions and getAllowedOptionValues methods

Symfony Form Types has been updated few days ago (https://github.com/symfony/symfony/commit/b7330456b698f7dd10bd2171c7075fc34c13858e#diff-6).

GemenuFormBundle Form Types getDefaultOptions and getAllowedOptionValues methods are incompatible with new Symfony FormTypeInterface (no options argument has to be passed to the method).

Here is an example of returned error:
Fatal error: Declaration of Genemu\Bundle\FormBundle\Form\Core\Type\ReCaptchaType::getDefaultOptions() must be compatible with that of Symfony\Component\Form\FormTypeInterface::getDefaultOptions() [...]

I've tried to fix this problem and I'm waiting for your opinion and ideas about it.

Thanks!