| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TidewaysProvider implements ProviderInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @inheritDoc |
||
| 12 | */ |
||
| 13 | public function enable() |
||
| 14 | { |
||
| 15 | $path = config('xhprof.path'); |
||
| 16 | include_once $path . '/xhprof_lib/utils/xhprof_lib.php'; |
||
| 17 | include_once $path . '/xhprof_lib/utils/xhprof_runs.php'; |
||
| 18 | tideways_xhprof_enable(config('xhprof.flags', 0)); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | public function disable() |
||
| 29 | } |
||
| 30 | |||
| 32 |
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