bsomeshwer /
firewall
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Someshwer\Firewall\src\Entities; |
||
| 4 | |||
| 5 | use Illuminate\Database\Eloquent\Model; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | /** |
||
| 8 | * Class FirewallLog. |
||
| 9 | * |
||
| 10 | * @author Someshwer |
||
| 11 | * Date:10-08-2018 |
||
| 12 | * |
||
| 13 | * FirewallLog model |
||
| 14 | */ |
||
| 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 | ]; |
||
| 47 | } |
||
| 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