| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function resolve(array $data) |
||
| 18 | { |
||
| 19 | return (new OptionsResolver()) |
||
| 20 | ->setDefined('identifier') |
||
| 21 | ->setAllowedTypes('identifier', 'string') |
||
| 22 | ->setDefined('language') |
||
| 23 | ->setAllowedTypes('language', 'string') |
||
| 24 | ->setDefined('timezone') |
||
| 25 | ->setAllowedTypes('timezone', 'int') |
||
| 26 | ->setDefined('game_version') |
||
| 27 | ->setAllowedTypes('game_version', 'string') |
||
| 28 | ->setDefined('device_os') |
||
| 29 | ->setAllowedTypes('device_os', 'string') |
||
| 30 | // @todo: remove "device_model" later (this option is probably deprecated as it is removed from documentation) |
||
| 31 | ->setDefined('device_model') |
||
| 32 | ->setAllowedTypes('device_model', 'string') |
||
| 33 | ->setDefined('ad_id') |
||
| 34 | ->setAllowedTypes('ad_id', 'string') |
||
| 35 | ->setDefined('sdk') |
||
| 36 | ->setAllowedTypes('sdk', 'string') |
||
| 37 | ->setDefined('tags') |
||
| 38 | ->setAllowedTypes('tags', 'array') |
||
| 39 | ->resolve($data); |
||
| 40 | } |
||
| 42 |
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