File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Translation \Tests ;
13
13
14
- use Symfony \Component \Config \Resource \ResourceInterface ;
14
+ use Symfony \Component \Config \Resource \SelfCheckingResourceInterface ;
15
15
use Symfony \Component \Translation \Loader \ArrayLoader ;
16
16
use Symfony \Component \Translation \Loader \LoaderInterface ;
17
17
use Symfony \Component \Translation \Translator ;
@@ -228,7 +228,7 @@ public function testPrimaryAndFallbackCataloguesContainTheSameMessagesRegardless
228
228
229
229
public function testRefreshCacheWhenResourcesAreNoLongerFresh ()
230
230
{
231
- $ resource = $ this ->getMock ('Symfony\Component\Config\Resource\ResourceInterface ' );
231
+ $ resource = $ this ->getMock ('Symfony\Component\Config\Resource\SelfCheckingResourceInterface ' );
232
232
$ loader = $ this ->getMock ('Symfony\Component\Translation\Loader\LoaderInterface ' );
233
233
$ resource ->method ('isFresh ' )->will ($ this ->returnValue (false ));
234
234
$ loader
@@ -281,7 +281,7 @@ private function createFailingLoader()
281
281
}
282
282
}
283
283
284
- class StaleResource implements ResourceInterface
284
+ class StaleResource implements SelfCheckingResourceInterface
285
285
{
286
286
public function isFresh ($ timestamp )
287
287
{
Original file line number Diff line number Diff line change 20
20
},
21
21
"require-dev" : {
22
22
"symfony/phpunit-bridge" : " ~2.7|~3.0.0" ,
23
- "symfony/config" : " ~2.7 " ,
23
+ "symfony/config" : " ~2.8 " ,
24
24
"symfony/intl" : " ~2.4|~3.0.0" ,
25
25
"symfony/yaml" : " ~2.2|~3.0.0" ,
26
26
"psr/log" : " ~1.0"
You can’t perform that action at this time.
0 commit comments