| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Zend extends \Aimeos\MW\Logger\Base implements \Aimeos\MW\Logger\Iface |
||
| 22 | { |
||
| 23 | private $logger = null; |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Initializes the logger object. |
||
| 28 | * |
||
| 29 | * @param \Zend_Log $logger \Zend_Log object |
||
| 30 | */ |
||
| 31 | public function __construct( \Zend_Log $logger ) |
||
|
|
|||
| 32 | { |
||
| 33 | $this->logger = $logger; |
||
| 34 | } |
||
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * Writes a message to the configured log facility. |
||
| 39 | * |
||
| 40 | * @param string|array|object $message Message text that should be written to the log facility |
||
| 41 | * @param integer $priority Priority of the message for filtering |
||
| 42 | * @param string $facility Facility for logging different types of messages (e.g. message, auth, user, changelog) |
||
| 43 | * @throws \Aimeos\MW\Logger\Exception If an error occurs in \Zend_Log |
||
| 44 | * @see \Aimeos\MW\Logger\Base for available log level constants |
||
| 45 | */ |
||
| 46 | public function log( $message, $priority = \Aimeos\MW\Logger\Base::ERR, $facility = 'message' ) |
||
| 58 | } |
||
| 59 | } |
||
| 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