File tree Expand file tree Collapse file tree 6 files changed +1
-25
lines changed Expand file tree Collapse file tree 6 files changed +1
-25
lines changed Original file line number Diff line number Diff line change 33
44namespace TheCodingMachine \GraphQL \Controllers ;
55
6- use phpDocumentor \Reflection \Type ;
7- use phpDocumentor \Reflection \Types \Array_ ;
8- use phpDocumentor \Reflection \Types \Mixed ;
9- use phpDocumentor \Reflection \Types \Object_ ;
10- use phpDocumentor \Reflection \Types \String_ ;
116use Psr \Container \ContainerInterface ;
12- use Roave \BetterReflection \Reflection \ReflectionClass ;
13- use Roave \BetterReflection \Reflection \ReflectionMethod ;
147use Doctrine \Common \Annotations \Reader ;
15- use phpDocumentor \Reflection \Types \Integer ;
16- use TheCodingMachine \GraphQL \Controllers \Annotations \Query ;
178use TheCodingMachine \GraphQL \Controllers \Security \AuthenticationServiceInterface ;
189use TheCodingMachine \GraphQL \Controllers \Security \AuthorizationServiceInterface ;
1910use Youshido \GraphQL \Field \Field ;
20- use Youshido \GraphQL \Type \ListType \ListType ;
21- use Youshido \GraphQL \Type \NonNullType ;
22- use Youshido \GraphQL \Type \Scalar \IntType ;
23- use Youshido \GraphQL \Type \Scalar \StringType ;
24- use Youshido \GraphQL \Type \TypeInterface ;
25- use Youshido \GraphQL \Type \Union \UnionType ;
2611
2712/**
2813 * A query provider that looks into all controllers of your application to fetch queries.
Original file line number Diff line number Diff line change 33
44use GraphQL \GraphQL ;
55use Youshido \GraphQL \Schema \AbstractSchema ;
6- use Psr \Http \Message \ResponseInterface ;
76use Psr \Http \Message \ServerRequestInterface ;
87use Youshido \GraphQL \Execution \Processor ;
98use Zend \Diactoros \Response \JsonResponse ;
Original file line number Diff line number Diff line change 33
44namespace TheCodingMachine \GraphQL \Controllers ;
55
6- use TheCodingMachine \GraphQL \Controllers \Registry \Registry ;
76use Youshido \GraphQL \Execution \ResolveInfo ;
87use Youshido \GraphQL \Field \AbstractField ;
98use Youshido \GraphQL \Type \AbstractType ;
Original file line number Diff line number Diff line change 77use phpDocumentor \Reflection \Type ;
88use phpDocumentor \Reflection \Types \Array_ ;
99use phpDocumentor \Reflection \Types \Mixed_ ;
10- use Roave \BetterReflection \Reflection \ReflectionFunction ;
1110use Roave \BetterReflection \Reflection \ReflectionMethod ;
1211use Roave \BetterReflection \Reflection \ReflectionParameter ;
1312
Original file line number Diff line number Diff line change 33namespace TheCodingMachine \GraphQL \Controllers ;
44
55use Doctrine \Common \Annotations \AnnotationReader ;
6- use PHPUnit \Framework \TestCase ;
7- use Psr \Container \ContainerExceptionInterface ;
86use Psr \Container \ContainerInterface ;
9- use Psr \Container \NotFoundExceptionInterface ;
107use TheCodingMachine \GraphQL \Controllers \Fixtures \TestController ;
118use TheCodingMachine \GraphQL \Controllers \Security \VoidAuthenticationService ;
129use TheCodingMachine \GraphQL \Controllers \Security \VoidAuthorizationService ;
Original file line number Diff line number Diff line change 33namespace TheCodingMachine \GraphQL \Controllers ;
44
55use Doctrine \Common \Annotations \AnnotationReader ;
6- use PHPUnit \Framework \TestCase ;
76use TheCodingMachine \GraphQL \Controllers \Fixtures \TestController ;
87use TheCodingMachine \GraphQL \Controllers \Fixtures \TestObject ;
98use TheCodingMachine \GraphQL \Controllers \Fixtures \TestType ;
1312use Youshido \GraphQL \Type \InputObject \InputObjectType ;
1413use Youshido \GraphQL \Type \ListType \ListType ;
1514use Youshido \GraphQL \Type \NonNullType ;
16- use Youshido \GraphQL \Type \Object \ObjectType ;
1715use Youshido \GraphQL \Type \Scalar \BooleanType ;
1816use Youshido \GraphQL \Type \Scalar \DateTimeType ;
1917use Youshido \GraphQL \Type \Scalar \FloatType ;
2018use Youshido \GraphQL \Type \Scalar \IntType ;
2119use Youshido \GraphQL \Type \Scalar \StringType ;
22- use Youshido \GraphQL \Type \TypeInterface ;
2320use TheCodingMachine \GraphQL \Controllers \Annotations \Query ;
2421
2522class ControllerQueryProviderTest extends AbstractQueryProviderTest
@@ -131,4 +128,4 @@ public function testQueryProviderWithFixedReturnType()
131128
132129 $ this ->assertInstanceOf (TestType::class, $ fixedQuery ->getType ());
133130 }
134- }
131+ }
You can’t perform that action at this time.
0 commit comments