meandmymonkey/FOSRestBundle — comment on commit 0ca78cc20726e4da130f5b4b4eb16d1dfca2bc1f
File: EventListener/ViewResponseListener.php line 97
By meandmymonkey:

@lsmith77 With this update, the test at https://github.com/meandmymonkey/FOSRestBundle/blob/templating-return-values/Tests/EventListener/ViewResponseListenerTest.php#L141 now fails of course (or rather, it should fail, right now it produces an error when the Listener tries to iterate over "true" here: https://github.com/meandmymonkey/FOSRestBundle/blob/templating-return-values/EventListener/ViewResponseListener.php#L98, see http://travis-ci.org/#!/meandmymonkey/FOSRestBundle/jobs/396074).

Before I replace the test: What should the correct behaviour in this case be, now that templating views are allowed as per my changes and the expected exception will not be thrown? Should templating views with no data be allowed?