File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function testWrongCacheImplementation()
98
98
$ this ->expectException ('InvalidArgumentException ' );
99
99
$ this ->expectExceptionMessage ('Cache argument has to implement Psr\Cache\CacheItemPoolInterface. ' );
100
100
$ cacheMock = $ this ->getMockBuilder ('Psr\Cache\CacheItemSpoolInterface ' )->getMock ();
101
- $ expressionLanguage = new ExpressionLanguage ($ cacheMock );
101
+ new ExpressionLanguage ($ cacheMock );
102
102
}
103
103
104
104
public function testConstantFunction ()
@@ -196,7 +196,7 @@ public function testCachingWithDifferentNamesOrder()
196
196
$ cacheMock = $ this ->getMockBuilder ('Psr\Cache\CacheItemPoolInterface ' )->getMock ();
197
197
$ cacheItemMock = $ this ->getMockBuilder ('Psr\Cache\CacheItemInterface ' )->getMock ();
198
198
$ expressionLanguage = new ExpressionLanguage ($ cacheMock );
199
- $ savedParsedExpressions = [] ;
199
+ $ savedParsedExpression = null ;
200
200
201
201
$ cacheMock
202
202
->expects ($ this ->exactly (2 ))
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function testSave()
68
68
->willReturn ($ value )
69
69
;
70
70
71
- $ cacheItem = $ parserCacheAdapter ->save ($ cacheItemMock );
71
+ $ parserCacheAdapter ->save ($ cacheItemMock );
72
72
}
73
73
74
74
public function testGetItems ()
You can’t perform that action at this time.
0 commit comments