| Total Complexity | 2 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ProfileMiddleware |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Stopwatch |
||
| 11 | */ |
||
| 12 | private $stopwatch; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * ProfileMiddleware constructor. |
||
| 16 | * @param Stopwatch $stopwatch |
||
| 17 | */ |
||
| 18 | public function __construct(Stopwatch $stopwatch) |
||
| 19 | { |
||
| 20 | $this->stopwatch = $stopwatch; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Logging each Request |
||
| 25 | * |
||
| 26 | * @return \Closure |
||
| 27 | */ |
||
| 28 | public function profile() : \Closure |
||
| 52 | } |
||
| 53 | ); |
||
| 58 |
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