| Total Complexity | 3 |
| Total Lines | 88 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class UserCompanyApps extends \Baka\Auth\Models\UserCompanyApps |
||
|
|
|||
| 9 | { |
||
| 10 | /** |
||
| 11 | * |
||
| 12 | * @var integer |
||
| 13 | */ |
||
| 14 | public $companies_id; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | * @var integer |
||
| 19 | */ |
||
| 20 | public $apps_id; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $stripe_id; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @var integer |
||
| 31 | */ |
||
| 32 | public $subscriptions_id; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public $created_at; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | public $updated_at; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * |
||
| 48 | * @var integer |
||
| 49 | */ |
||
| 50 | public $is_deleted; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Initialize method for model. |
||
| 54 | */ |
||
| 55 | public function initialize() |
||
| 56 | { |
||
| 57 | parent::initialize(); |
||
| 58 | |||
| 59 | $this->belongsTo( |
||
| 60 | 'companies_id', |
||
| 61 | 'Canvas\Models\Companies', |
||
| 62 | 'id', |
||
| 63 | ['alias' => 'company'] |
||
| 64 | ); |
||
| 65 | |||
| 66 | $this->belongsTo( |
||
| 67 | 'apps_id', |
||
| 68 | 'Canvas\Models\Apps', |
||
| 69 | 'id', |
||
| 70 | ['alias' => 'app'] |
||
| 71 | ); |
||
| 72 | |||
| 73 | $this->setSource('user_company_apps'); |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * Returns table name mapped in the model. |
||
| 78 | * |
||
| 79 | * @return string |
||
| 80 | */ |
||
| 81 | public function getSource() : string |
||
| 84 | } |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Get the current company app |
||
| 88 | * |
||
| 89 | * @return void |
||
| 90 | */ |
||
| 91 | public static function getCurrentApp(): UserCompanyApps |
||
| 96 | ]); |
||
| 97 | } |
||
| 99 |
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