| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 53 | 1 | public function store( |
|
| 54 | String $guid, |
||
| 55 | String $key, |
||
| 56 | String $value, |
||
| 57 | String $platform, |
||
| 58 | String $locale, |
||
| 59 | String $section |
||
| 60 | ) { |
||
| 61 | 1 | $response = $this->client->post($this->buildPath($this->path), [ |
|
| 62 | 'form_params' => [ |
||
| 63 | 1 | 'key' => $key, |
|
| 64 | 1 | 'value' => $value, |
|
| 65 | 1 | 'locale' => $locale, |
|
| 66 | 1 | 'platform' => $platform, |
|
| 67 | 1 | 'guid' => $guid, |
|
| 68 | 1 | 'section' => $section, |
|
| 69 | ], |
||
| 70 | ]); |
||
| 71 | 1 | $contents = $response->getBody()->getContents(); |
|
| 72 | 1 | $data = json_decode($contents, true); |
|
| 73 | |||
| 74 | 1 | return new Proposal($data['data']); |
|
| 75 | } |
||
| 87 | } |
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