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