From f6cf64e10e1d853708ac617ce5ce3a6f6c6b5b8b Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Sun, 27 Sep 2015 11:03:34 +0300 Subject: [PATCH] Make lines short to pass phpcs in KafkaHandler.php Bug: T102614 Change-Id: I9ba6a0b7580bc99dee295cdb56cd5977d63fd73a --- includes/debug/logger/monolog/KafkaHandler.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/debug/logger/monolog/KafkaHandler.php b/includes/debug/logger/monolog/KafkaHandler.php index 1583cd17b0..4e8e65bd6f 100644 --- a/includes/debug/logger/monolog/KafkaHandler.php +++ b/includes/debug/logger/monolog/KafkaHandler.php @@ -76,7 +76,9 @@ class KafkaHandler extends AbstractProcessingHandler { * @param int $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ - public function __construct( Produce $produce, array $options, $level = Logger::DEBUG, $bubble = true ) { + public function __construct( + Produce $produce, array $options, $level = Logger::DEBUG, $bubble = true + ) { parent::__construct( $level, $bubble ); $this->produce = $produce; $this->options = array_merge( self::$defaultOptions, $options ); @@ -92,7 +94,9 @@ class KafkaHandler extends AbstractProcessingHandler { * @param bool $bubble Whether the messages that are handled can bubble the stack or not * @return KafkaHandler */ - public static function factory( $kafkaServers, array $options = array(), $level = Logger::DEBUG, $bubble = true ) { + public static function factory( + $kafkaServers, array $options = array(), $level = Logger::DEBUG, $bubble = true + ) { $metadata = new MetaDataFromKafka( $kafkaServers ); $produce = new Produce( $metadata ); if ( isset( $options['logExceptions'] ) && is_string( $options['logExceptions'] ) ) { -- 2.20.1