| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2.3149 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 36 | 1 | public function run() |
|
| 37 | { |
||
| 38 | 1 | $output = ''; |
|
| 39 | 1 | foreach ($this->callbacks as $callback) { |
|
| 40 | // /** @var Closure $callback */ |
||
| 41 | // if ($callback instanceof Closure) { |
||
| 42 | // $callback = Closure::bind($callback, $this); |
||
| 43 | // } |
||
| 44 | // Invoke the callback with buffering enabled |
||
| 45 | $output .= \call_user_func_array($callback, []); |
||
| 46 | } |
||
| 47 | 1 | return $output; |
|
| 48 | } |
||
| 50 |
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