File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11<?php
2- return [
3- 'username ' => 'test ' ,
4- 'password ' => 'phpfastcache ' ,
5- 'servers ' => ['127.0.0.1 ' ],
6- 'bucketName ' => 'phpfastcache ' ,
7- 'scopeName ' => '_default ' ,
8- 'collectionName ' => '_default '
9- ];
2+ use Phpfastcache \Drivers \Couchbasev4 \Config as Couchbasev4Config ;
3+
4+ return (static fn (Couchbasev4Config $ config ) => $ config ->setItemDetailedDate (true )
5+ ->setUsername ('test ' )
6+ ->setPassword ('phpfastcache ' )
7+ ->setServers (['127.0.0.1 ' ])
8+ ->setBucketName ('phpfastcache ' )
9+ ->setScopeName ('_default ' )
10+ ->setCollectionName ('collectionName ' )
11+ )(new Couchbasev4Config ());
Original file line number Diff line number Diff line change 3030
3131$ testHelper ->printInfoText ('Running forking failure process test ' );
3232
33- $ config = (new CouchbaseConfig ( include $ configFileName) )
33+ $ config = (include $ configFileName )
3434 ->setDoForkDetection (false )
3535 ->setUseStaticItemCaching (false );
3636
You can’t perform that action at this time.
0 commit comments