From ede6d673de11f55164f32b3905cb73d6bf5b2ff5 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 10 May 2014 10:54:09 +0200 Subject: [PATCH] Pass phpcs-strict on includes/poolcounter/ Change-Id: If10d03e66bf617f6eb2d9ec9f43d6d55c5c5d784 --- includes/poolcounter/PoolCounter.php | 3 +++ includes/poolcounter/PoolCounterRedis.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/poolcounter/PoolCounter.php b/includes/poolcounter/PoolCounter.php index a44200f7e8..34953c0cda 100644 --- a/includes/poolcounter/PoolCounter.php +++ b/includes/poolcounter/PoolCounter.php @@ -123,7 +123,10 @@ abstract class PoolCounter { abstract public function release(); } +// @codingStandardsIgnoreStart Squiz.Classes.ValidClassName.NotCamelCaps class PoolCounter_Stub extends PoolCounter { + // @codingStandardsIgnoreEnd + public function __construct() { /* No parameters needed */ } diff --git a/includes/poolcounter/PoolCounterRedis.php b/includes/poolcounter/PoolCounterRedis.php index 36101e02cd..4f6b7954fb 100644 --- a/includes/poolcounter/PoolCounterRedis.php +++ b/includes/poolcounter/PoolCounterRedis.php @@ -406,7 +406,8 @@ LUA; if ( $poolCounter->slot !== null ) { $poolCounter->release(); } - } catch ( Exception $e ) {} + } catch ( Exception $e ) { + } } } } -- 2.20.1