| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | private function getLogContent(LogMessageDataProvider $messageDataProvider): string |
||
| 54 | { |
||
| 55 | return sprintf( |
||
| 56 | '%s - %s%s%s%s%s%s%s%s%s', |
||
| 57 | date('Y-m-d H:i:s'), |
||
| 58 | $messageDataProvider->getTitle(), |
||
| 59 | PHP_EOL, |
||
| 60 | $messageDataProvider->getMessage(), |
||
| 61 | PHP_EOL, |
||
| 62 | PHP_EOL, |
||
| 63 | $messageDataProvider->getContext(), |
||
| 64 | PHP_EOL, |
||
| 65 | PHP_EOL, |
||
| 66 | PHP_EOL |
||
| 67 | ); |
||
| 84 | } |
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