Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class RatingField extends FieldBase |
||
8 | { |
||
9 | public const HIGH_RATED = 'high-rated'; |
||
10 | public const LOW_RATED = 'low-rated'; |
||
11 | |||
12 | public function field_type() |
||
15 | } |
||
16 | |||
17 | public static function field_icon() |
||
18 | { |
||
19 | return '<span class="dashicons dashicons-star-filled"></span>'; |
||
20 | } |
||
21 | |||
22 | public function field_title() |
||
23 | { |
||
24 | return esc_html_x('Rating', 'admin-text', 'site-reviews'); |
||
25 | } |
||
26 | |||
27 | public function field_settings() |
||
34 | ] |
||
35 | ] |
||
36 | ]; |
||
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