Total Complexity | 1 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class EventCategory extends Model |
||
8 | { |
||
9 | /***************************************************************************/ |
||
10 | /** |
||
11 | * The table associated with the model. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $table = 'event_categories'; |
||
16 | |||
17 | /***************************************************************************/ |
||
18 | |||
19 | use \Dimsav\Translatable\Translatable; |
||
|
|||
20 | |||
21 | public $translatedAttributes = ['name', 'slug']; |
||
22 | protected $fillable = []; |
||
23 | |||
24 | /***************************************************************************/ |
||
25 | |||
26 | /** |
||
27 | * Return the category name. |
||
28 | * |
||
29 | * @param int $categoryId |
||
30 | * @return string |
||
31 | */ |
||
32 | public static function getCategoryName($categoryId) |
||
39 |
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