Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | protected function initialize() { |
||
16 | $this->addon_class_name = 'Bulk_Delete_Posts_By_User_Role'; |
||
17 | $this->addon_slug = 'bulk-delete-posts-by-user'; |
||
18 | |||
19 | $this->item_type = 'posts'; |
||
20 | $this->field_slug = ''; |
||
21 | $this->meta_box_slug = 'bd_post_by_user_role'; |
||
22 | $this->action = 'delete_posts_by_user_role'; |
||
23 | $this->cron_hook = ''; |
||
24 | $this->scheduler_url = ''; |
||
25 | $this->messages = array( |
||
26 | 'box_label' => __( 'Delete Posts By User Role', 'bulk-delete' ), |
||
27 | 'scheduled' => '', |
||
28 | 'cron_label' => '', |
||
29 | ); |
||
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