FriendsOfSymfony/FOSCommentBundle — pull request #96 by asm89 (2012-01-04 14:21:11+00:00)
Title: Fixed validation of the Vote object

Previously the Vote object was validated using a `NotNull` and a `True` constraint. This may have worked in the past, but doesn't anymore now. The `True` doesn't return true on any integer value except 0:
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/TrueValidator.php

The new validation scheme uses a callback that checks for the right value.