| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class WC_Pagantis_Ajax extends WC_AJAX |
||
|
|
|||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Hook in ajax handlers. |
||
| 12 | */ |
||
| 13 | public static function init() |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Hook in methods - uses WordPress ajax handlers (admin-ajax). |
||
| 20 | * |
||
| 21 | * @see WC_AJAX |
||
| 22 | */ |
||
| 23 | public static function add_ajax_events() |
||
| 35 | } |
||
| 36 | } |
||
| 37 | } |
||
| 38 | |||
| 39 | |||
| 40 | /** |
||
| 41 | * Check for WC Ajax request and fire action. |
||
| 42 | */ |
||
| 43 | public static function pagantis_checkout() |
||
| 49 |
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