pktharindu /
laravel-api-boilerplate-passport
| 1 | <?php |
||
| 2 | |||
| 3 | return [ |
||
| 4 | /* |
||
| 5 | * The default serializer to be used when performing a transformation. It |
||
| 6 | * may be left empty to use Fractal's default one. This can either be a |
||
| 7 | * string or a League\Fractal\Serializer\SerializerAbstract subclass. |
||
| 8 | */ |
||
| 9 | 'default_serializer' => '', |
||
| 10 | |||
| 11 | /* The default paginator to be used when performing a transformation. It |
||
| 12 | * may be left empty to use Fractal's default one. This can either be a |
||
| 13 | * string or a League\Fractal\Paginator\PaginatorInterface subclass.*/ |
||
| 14 | 'default_paginator' => '', |
||
| 15 | |||
| 16 | /* |
||
| 17 | * League\Fractal\Serializer\JsonApiSerializer will use this value to |
||
| 18 | * as a prefix for generated links. Set to `null` to disable this. |
||
| 19 | */ |
||
| 20 | 'base_url' => null, |
||
| 21 | |||
| 22 | /* |
||
| 23 | * If you wish to override or extend the default Spatie\Fractal\Fractal |
||
| 24 | * instance provide the name of the class you want to use. |
||
| 25 | */ |
||
| 26 | 'fractal_class' => Spatie\Fractal\Fractal::class, |
||
|
0 ignored issues
–
show
|
|||
| 27 | |||
| 28 | 'auto_includes' => [ |
||
| 29 | /* |
||
| 30 | * If enabled Fractal will automatically add the includes who's |
||
| 31 | * names are present in the `include` request parameter. |
||
| 32 | */ |
||
| 33 | 'enabled' => true, |
||
| 34 | |||
| 35 | /* |
||
| 36 | * The name of key in the request to where we should look for the includes to include. |
||
| 37 | */ |
||
| 38 | 'request_key' => 'include', |
||
| 39 | ], |
||
| 40 | ]; |
||
| 41 |
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