File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function testCleanupOnExpire()
5454 public function testClearIgnoresFileRemovedByAnotherProcess (): void
5555 {
5656 $ filesystem = $ this ->createMock (FilesystemOperator::class);
57- $ filesystem ->method ('listContents ' )->willReturn (new DirectoryListing ([new FileAttributes ('cache/key ' )]));
57+ $ filesystem ->method ('listContents ' )->willReturn (new DirectoryListing (new \ ArrayIterator ( [new FileAttributes ('cache/key ' )]) ));
5858 $ filesystem ->method ('fileExists ' )->with ('cache/key ' )->willReturn (false );
5959 $ filesystem ->method ('delete ' )->with ('cache/key ' )->willThrowException (UnableToDeleteFile::atLocation ('cache/key ' ));
6060
Original file line number Diff line number Diff line change 3535 "psr/cache" : " ^3.0"
3636 },
3737 "require-dev" : {
38+ "cache/array-adapter" : " ^2.0" ,
3839 "cache/filesystem-adapter" : " ^2.0" ,
3940 "cache/integration-tests" : " ^1.0@dev" ,
4041 "phpunit/phpunit" : " ^11.5"
Original file line number Diff line number Diff line change 2323 "psr/simple-cache" : " ^3.0"
2424 },
2525 "require-dev" : {
26+ "cache/array-adapter" : " ^2.0" ,
2627 "cache/integration-tests" : " ^1.0@dev" ,
2728 "phpunit/phpunit" : " ^11.5"
2829 },
Original file line number Diff line number Diff line change 3333 "psr/cache" : " ^3.0"
3434 },
3535 "require-dev" : {
36+ "cache/array-adapter" : " ^2.0" ,
3637 "cache/integration-tests" : " ^1.0@dev" ,
3738 "phpunit/phpunit" : " ^11.5" ,
3839 "symfony/cache" : " ^7.4 || ^8.0"
You can’t perform that action at this time.
0 commit comments