Conditions | 3 |
Paths | 6 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | public function log( $message, $priority = \Aimeos\MW\Logger\Base::ERR, $facility = 'message' ) |
||
47 | { |
||
48 | try |
||
49 | { |
||
50 | if( !is_scalar( $message ) ) { |
||
51 | $message = json_encode( $message ); |
||
52 | } |
||
53 | |||
54 | $this->logger->log( '<' . $facility . '> ' . $message, $priority ); |
||
55 | } |
||
56 | catch( \Zend_Log_Exception $ze ) { |
||
57 | throw new \Aimeos\MW\Logger\Exception( $ze->getMessage() ); |
||
58 | } |
||
60 | } |
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