| Total Complexity | 0 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 13 | class ExceptionLog extends Model |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Table name. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $table = 'exception_log'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Table columns. |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $fillable = ['path', 'method', 'uri', 'url', 'full_url', 'query', |
||
| 28 | 'file_name', 'http_host', 'http_user_agent', 'ip_address', 'all_request_data', |
||
| 29 | 'exception_data', ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Type casting. |
||
| 33 | * |
||
| 34 | * @var array |
||
| 35 | */ |
||
| 36 | protected $casts = [ |
||
| 37 | 'query' => 'json', |
||
| 38 | 'all_request_data' => 'json', |
||
| 39 | 'exception_data' => 'json', |
||
| 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