Total Complexity | 0 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
15 | class FirewallLog extends Model |
||
16 | { |
||
17 | /** |
||
18 | * Table name. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $table = 'firewall_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', 'black_listed', 'white_listed', 'accepted', |
||
31 | 'rejected', 'all_request_data', 'response_data', ]; |
||
32 | |||
33 | /** |
||
34 | * Type casting. |
||
35 | * |
||
36 | * @var array |
||
37 | */ |
||
38 | protected $casts = [ |
||
39 | 'black_listed' => 'boolean', |
||
40 | 'white_listed' => 'boolean', |
||
41 | 'accepted' => 'boolean', |
||
42 | 'rejected' => 'boolean', |
||
43 | 'query' => 'json', |
||
44 | 'all_request_data' => 'json', |
||
45 | 'response_data' => 'json', |
||
46 | ]; |
||
48 |
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