Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Suppress PHP notices when connecting to Memcache, fixes #4364 #21

Closed
wants to merge 1 commit into from

3 participants

Chris Smith Kohana Builds Woody Gilk
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/cache/arithmetic/MemcacheTest.php
2  tests/cache/arithmetic/MemcacheTest.php
View
@@ -40,7 +40,7 @@ public function setUp()
}
$memcache = new Memcache;
- if ( ! $memcache->connect($config['servers'][0]['host'],
+ if ( ! @$memcache->connect($config['servers'][0]['host'],
$config['servers'][0]['port']))
{
$this->markTestSkipped('Unable to connect to memcache server @ '.
Something went wrong with that request. Please try again.