File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1717 steps :
1818 # Cancel previous runs of the same branch
1919 - name : cancel
20- uses : styfle/cancel-workflow-action@0.9.0
20+ uses : styfle/cancel-workflow-action@0.9.1
2121 with :
2222 access_token : ${{ github.token }}
2323
Original file line number Diff line number Diff line change 33
44namespace TheCodingMachine \GraphQLite \Bundle \DependencyInjection ;
55
6+ use Doctrine \Common \Annotations \PsrCachedReader ;
67use GraphQL \Server \ServerConfig ;
78use GraphQL \Validator \Rules \DisableIntrospection ;
89use GraphQL \Validator \Rules \QueryComplexity ;
1617use function class_exists ;
1718use Doctrine \Common \Annotations \AnnotationReader as DoctrineAnnotationReader ;
1819use Doctrine \Common \Annotations \AnnotationRegistry ;
19- use Doctrine \Common \Annotations \CachedReader ;
20- use Doctrine \Common \Cache \ApcuCache ;
2120use Mouf \Composer \ClassNameMapper ;
2221use Psr \SimpleCache \CacheInterface ;
2322use ReflectionParameter ;
@@ -414,10 +413,11 @@ private function getAnnotationReader(): AnnotationReader
414413 {
415414 if ($ this ->annotationReader === null ) {
416415 AnnotationRegistry::registerLoader ('class_exists ' );
416+
417417 $ doctrineAnnotationReader = new DoctrineAnnotationReader ();
418418
419419 if (function_exists ('apcu_fetch ' )) {
420- $ doctrineAnnotationReader = new CachedReader ($ doctrineAnnotationReader , new ApcuCache ( ), true );
420+ $ doctrineAnnotationReader = new PsrCachedReader ($ doctrineAnnotationReader , new ApcuAdapter ( ' graphqlite ' ), true );
421421 }
422422
423423 $ this ->annotationReader = new AnnotationReader ($ doctrineAnnotationReader , AnnotationReader::LAX_MODE );
Original file line number Diff line number Diff line change 2323 "symfony/framework-bundle" : " ^4.2 || ^5" ,
2424 "symfony/validator" : " ^4.2 || ^5" ,
2525 "symfony/translation" : " ^4.2 || ^5" ,
26- "doctrine/annotations" : " ^1.10.4" ,
27- "doctrine/cache" : " ^1.8" ,
26+ "doctrine/annotations" : " ^1.13" ,
2827 "symfony/psr-http-message-bridge" : " ^2.0" ,
2928 "nyholm/psr7" : " ^1.1" ,
3029 "laminas/laminas-diactoros" : " ^2.2.2" ,
You can’t perform that action at this time.
0 commit comments