symfony/symfony — pull request #4078 by gajdaw (2012-04-23 09:17:45+00:00)
Title: [Component][Finder][DateComparator] tenary ifs and tests coverage

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

I think that inline tenary ifs `?:` result in misleading tests coverage information:

[terary-if-tests.png](http://udostepnione.gajdaw.pl/terary-if-tests.png)