Pass phpcs-strict on includes/poolcounter/
authorSiebrand Mazeland <siebrand@kitano.nl>
Sat, 10 May 2014 08:54:09 +0000 (10:54 +0200)
committerSiebrand Mazeland <siebrand@kitano.nl>
Sat, 10 May 2014 09:00:37 +0000 (11:00 +0200)
Change-Id: If10d03e66bf617f6eb2d9ec9f43d6d55c5c5d784

includes/poolcounter/PoolCounter.php
includes/poolcounter/PoolCounterRedis.php

index a44200f..34953c0 100644 (file)
@@ -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 */
        }
index 36101e0..4f6b795 100644 (file)
@@ -406,7 +406,8 @@ LUA;
                                if ( $poolCounter->slot !== null ) {
                                        $poolCounter->release();
                                }
-                       } catch ( Exception $e ) {}
+                       } catch ( Exception $e ) {
+                       }
                }
        }
 }