1 | <?php |
||
2 | namespace GraphQL\Examples\Blog; |
||
3 | |||
4 | use GraphQL\Examples\Blog\Data\User; |
||
5 | |||
6 | /** |
||
7 | * Instance available in all GraphQL resolvers as 3rd argument |
||
8 | */ |
||
9 | class AppContext |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | public $rootUrl; |
||
15 | |||
16 | /** |
||
17 | * @var User |
||
18 | */ |
||
19 | public $viewer; |
||
20 | |||
21 | /** |
||
22 | * @var \mixed |
||
0 ignored issues
–
show
|
|||
23 | */ |
||
24 | public $request; |
||
25 | } |
||
26 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths