Skip to content

Commit

Permalink
Fix CS errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Mar 13, 2015
1 parent 82b3caf commit 944caaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/Cache/Engine/MemcachedEngineTest.php
Expand Up @@ -66,7 +66,9 @@ public function setUp()
parent::setUp();
$this->skipIf(!class_exists('Memcached'), 'Memcached is not installed or configured properly.');

// @codingStandardsIgnoreStart
$socket = @fsockopen('127.0.0.1', 11211, $errno, $errstr, 1);
// @codingStandardsIgnoreEnd
$this->skipIf(!$socket, 'Memcached is not running.');
fclose($socket);

Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase/Cache/Engine/RedisEngineTest.php
Expand Up @@ -38,7 +38,9 @@ public function setUp()
parent::setUp();
$this->skipIf(!class_exists('Redis'), 'Redis extension is not installed or configured properly.');

// @codingStandardsIgnoreStart
$socket = @fsockopen('127.0.0.1', 6379, $errno, $errstr, 1);
// @codingStandardsIgnoreEnd
$this->skipIf(!$socket, 'Redis is not running.');
fclose($socket);

Expand Down

0 comments on commit 944caaa

Please sign in to comment.