| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 40% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class StageCallbacks |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The array of callbacks to be run |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $callbacks = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Register a callback to be called before the operation. |
||
| 23 | * |
||
| 24 | * @param Closure $callback |
||
| 25 | * @return $this |
||
| 26 | */ |
||
| 27 | public function add(Closure $callback) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 2 | public function run() |
|
| 48 | } |
||
| 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