| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 35 | public function handle() |
||
| 36 | { |
||
| 37 | // |
||
| 38 | $headers = [ |
||
| 39 | 'Content-type' => 'text/txt', |
||
| 40 | ]; |
||
| 41 | $p_id = 7; |
||
| 42 | $f_id = $this->family_id; |
||
| 43 | $up_nest = 3; |
||
| 44 | $down_nest = 3; |
||
| 45 | $writer = new GedcomGenerator($p_id, $f_id, $up_nest, $down_nest); |
||
| 46 | $content = $writer->getGedcomPerson(); |
||
| 47 | // $user_id = Auth::user()->id; |
||
| 48 | $ts = microtime(true); |
||
| 49 | $file = env('APP_NAME').date('_Ymd_').$ts.'.GED'; |
||
| 50 | $destinationPath=public_path()."/upload/"; |
||
| 51 | if (!is_dir($destinationPath)) { mkdir($destinationPath,0777,true); } |
||
| 52 | File::put($destinationPath.$file,$content); |
||
| 53 | return 0; |
||
| 54 | } |
||
| 56 |
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