| Conditions | 4 |
| Paths | 5 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 44 | public function handle() |
||
| 45 | { |
||
| 46 | $code = Validator::generate( |
||
| 47 | $this->option('datatype'), |
||
| 48 | $this->option('basetype'), |
||
| 49 | $this->option('namespace') ? $this->option('namespace') : 'App\\Datatypes' |
||
| 50 | ); |
||
| 51 | |||
| 52 | try { |
||
| 53 | $retval = Validator::generateFile( |
||
| 54 | $code, |
||
| 55 | $this->option('path') ? $this->option('path') : base_path('app/Datatypes') |
||
| 56 | ); |
||
| 57 | |||
| 58 | $this->line($retval['code']); |
||
| 59 | $this->line($retval['test']); |
||
| 60 | $this->info('Finished. You might want to run `composer dump-autoload`'); |
||
| 61 | } catch (Exception $e) { |
||
| 62 | $this->error($e->getMessage()); |
||
| 63 | } |
||
| 66 |
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