From 2da72cbbe814d2634bb938339f03167c57eb6de3 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 7 Oct 2015 12:38:49 +0200 Subject: [PATCH] [Translation] Fix tests compat with 2.8 --- .../Component/Translation/Tests/TranslatorCacheTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php b/src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php index 6bd7bb4c9e..75093580b4 100644 --- a/src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php +++ b/src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php @@ -288,6 +288,10 @@ class StaleResource implements SelfCheckingResourceInterface return false; } + public function getResource() + { + } + public function __toString() { return '';