| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 61 | 1 | public function shutdown() |
|
| 62 | { |
||
| 63 | 1 | if (true === $this->config->path('app.devMode')) { |
|
| 64 | 1 | $memory = number_format(memory_get_usage() / 1000000, 2); |
|
| 65 | 1 | $execution = number_format( |
|
| 66 | 1 | microtime(true) - $this->config->path('app.time'), |
|
| 67 | 1 | 4 |
|
| 68 | ); |
||
| 69 | |||
| 70 | $this |
||
| 71 | 1 | ->logger |
|
| 72 | 1 | ->info( |
|
| 73 | 1 | sprintf( |
|
| 74 | 1 | 'Shutdown completed [%s]s - [%s]MB', |
|
| 75 | 1 | $execution, |
|
| 76 | 1 | $memory |
|
| 77 | ) |
||
| 82 |
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