| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 58 | public function uploadString($index, $filename, $string) |
||
| 59 | { |
||
| 60 | $targetDir = "{$this->url}/config/$index"; |
||
| 61 | |||
| 62 | file_get_contents($targetDir . '/' . $filename, false, stream_context_create([ |
||
| 63 | 'http' => [ |
||
| 64 | 'method' => 'POST', |
||
| 65 | 'header' => 'Content-type: application/octet-stream', |
||
| 66 | 'content' => (string) $string |
||
| 67 | ] |
||
| 80 |
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