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 ExceptionLog. |
||
| 9 | * |
||
| 10 | * @author Someshwer |
||
| 11 | * Date:15-09-2018 |
||
| 12 | */ |
||
| 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 | ]; |
||
| 41 | } |
||
| 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