| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class DeletePostsByAttachmentModule extends DeprecatedModule { |
||
| 15 | protected function initialize() { |
||
| 16 | $this->addon_class_name = 'Bulk_Delete_Posts_By_Attachment'; |
||
| 17 | $this->addon_slug = 'bulk-delete-posts-by-attachment'; |
||
| 18 | |||
| 19 | $this->item_type = 'posts'; |
||
| 20 | $this->field_slug = ''; |
||
| 21 | $this->meta_box_slug = 'bd-posts-by-attachment'; |
||
| 22 | $this->action = 'bd_delete_posts_by_attachment'; |
||
| 23 | $this->cron_hook = ''; |
||
| 24 | $this->scheduler_url = ''; |
||
| 25 | $this->messages = array( |
||
| 26 | 'box_label' => __( 'Delete Posts By Attachment', 'bulk-delete' ), |
||
| 27 | 'scheduled' => '', |
||
| 28 | 'cron_label' => '', |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Call the render method of the add-on. |
||
| 34 | */ |
||
| 35 | public function render() { |
||
| 37 | } |
||
| 38 | } |
||
| 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