File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1010 ],
1111 "require" : {
1212 "thecodingmachine/tdbm" : " ~5.1.0" ,
13- "symfony/filesystem" : " ^2.0 || ^3.0 || ^4.0" ,
13+ "symfony/filesystem" : " ^2.0 || ^3.0 || ^4.0 || ^5.0 " ,
1414 "psr/container" : " ^1" ,
1515 "thecodingmachine/graphqlite" : " ^4" ,
1616 "thecodingmachine/tdbm-fluid-schema-builder" : " ^1" ,
2020 "phpunit/phpunit" : " ^6.5.14" ,
2121 "satooshi/php-coveralls" : " ^1.1" ,
2222 "mouf/picotainer" : " ^1.1" ,
23- "symfony/cache" : " ^4.2.4"
23+ "symfony/cache" : " ^4.2.4 || ^5 "
2424 },
2525 "autoload" : {
2626 "psr-4" : {
Original file line number Diff line number Diff line change 22
33namespace TheCodingMachine \Tdbm \GraphQL ;
44
5+ use Symfony \Component \Cache \Adapter \ArrayAdapter ;
6+ use Symfony \Component \Cache \Psr16Cache ;
57use function copy ;
68use Doctrine \Common \Annotations \AnnotationRegistry ;
79use Doctrine \Common \Cache \ArrayCache ;
@@ -81,7 +83,7 @@ public function setUp()
8183 {
8284 $ this ->mainContainer = new Picotainer ([
8385 Schema::class => function (ContainerInterface $ container ) {
84- $ factory = new SchemaFactory (new \ Symfony \ Component \ Cache \ Simple \ ArrayCache ( ), $ container ->get (BasicAutoWiringContainer::class));
86+ $ factory = new SchemaFactory (new Psr16Cache ( new ArrayAdapter () ), $ container ->get (BasicAutoWiringContainer::class));
8587 $ factory ->addTypeNamespace ('TheCodingMachine \\Tdbm \\GraphQL \\Tests \\GraphQL ' );
8688 $ factory ->addTypeNamespace ('TheCodingMachine \\Tdbm \\GraphQL \\Tests \\Beans ' );
8789 $ factory ->addTypeNamespace ('TheCodingMachine \\Tdbm \\GraphQL \\Tests \\DAOs ' );
You can’t perform that action at this time.
0 commit comments