Browse Source

Merge branch 'master' of https://github.com/yiisoft/yii2

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
0ab4f8f130
  1. 2
      framework/helpers/base/VarDumper.php
  2. 2
      tests/unit/framework/caching/ApcCacheTest.php

2
framework/helpers/base/VarDumper.php

@ -39,7 +39,7 @@ class VarDumper
*/ */
public static function dump($var, $depth = 10, $highlight = false) public static function dump($var, $depth = 10, $highlight = false)
{ {
echo self::dumpAsString($var, $depth, $highlight); echo static::dumpAsString($var, $depth, $highlight);
} }
/** /**

2
tests/unit/framework/caching/ApcCacheTest.php

@ -17,6 +17,8 @@ class ApcCacheTest extends CacheTest
{ {
if(!extension_loaded("apc")) { if(!extension_loaded("apc")) {
$this->markTestSkipped("APC not installed. Skipping."); $this->markTestSkipped("APC not installed. Skipping.");
} else if ('cli' === PHP_SAPI && !ini_get('apc.enable_cli')) {
$this->markTestSkipped("APC cli is not enabled. Skipping.");
} }
if($this->_cacheInstance === null) { if($this->_cacheInstance === null) {

Loading…
Cancel
Save