Test Failed
Push — master ( 68979d...919d48 )
by
unknown
15:14
created
plugins/files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Cookie/Item.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(CookieDriver $driver, $key)
41
-    {
40
+    public function __construct(CookieDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -48,8 +47,7 @@  discard block
 block discarded – undo
48 47
      * @return static
49 48
      * @throws PhpfastcacheInvalidArgumentException
50 49
      */
51
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
52
-    {
50
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
53 51
         if ($driver instanceof CookieDriver) {
54 52
             $this->driver = $driver;
55 53
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Cookie/Driver.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
      * @return null|array
76 76
      * @throws PhpfastcacheDriverException
77 77
      */
78
-    protected function driverRead(CacheItemInterface $item)
79
-    {
78
+    protected function driverRead(CacheItemInterface $item) {
80 79
         $this->driverConnect();
81 80
         $keyword = self::PREFIX . $item->getKey();
82 81
         $x = isset($_COOKIE[$keyword]) ? json_decode($_COOKIE[$keyword], true) : false;
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Devnull/Item.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(DevnullDriver $driver, $key)
41
-    {
40
+    public function __construct(DevnullDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof DevnullDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Zenddisk/Item.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(ZendDiskDriver $driver, $key)
41
-    {
40
+    public function __construct(ZendDiskDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof ZendDiskDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Zenddisk/Driver.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
      * @param CacheItemInterface $item
80 80
      * @return null|array
81 81
      */
82
-    protected function driverRead(CacheItemInterface $item)
83
-    {
82
+    protected function driverRead(CacheItemInterface $item) {
84 83
         $data = zend_disk_cache_fetch($item->getKey());
85 84
         if ($data === false) {
86 85
             return null;
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Memstatic/Item.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(MemstaticDriver $driver, $key)
41
-    {
40
+    public function __construct(MemstaticDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof MemstaticDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Memstatic/Driver.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
      * @param CacheItemInterface $item
72 72
      * @return null|array
73 73
      */
74
-    protected function driverRead(CacheItemInterface $item)
75
-    {
74
+    protected function driverRead(CacheItemInterface $item) {
76 75
         return $this->staticStack[$item->getKey()] ?? null;
77 76
     }
78 77
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Couchbase/Config.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * @return int|null
69 69
      */
70
-    public function getPort()
71
-    {
70
+    public function getPort() {
72 71
         return $this->port;
73 72
     }
74 73
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Couchbase/Item.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(CouchbaseDriver $driver, $key)
41
-    {
40
+    public function __construct(CouchbaseDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof CouchbaseDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.