Commit f8f0ff54 by Carsten Brandt

moved formatter to i18n namespace

parent 065db64d
......@@ -5,12 +5,15 @@
* @license http://www.yiiframework.com/license/
*/
namespace yii\base;
namespace yii\i18n;
use Yii;
use DateTime;
use IntlDateFormatter;
use NumberFormatter;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamException;
use yii\helpers\HtmlPurifier;
use yii\helpers\Html;
......
......@@ -5,10 +5,10 @@
* @license http://www.yiiframework.com/license/
*/
namespace yii\base;
namespace yii\i18n;
// override information about intl
use yiiunit\framework\base\FormatterTest;
use yiiunit\framework\i18n\FormatterTest;
function extension_loaded($name)
{
......@@ -18,15 +18,15 @@ function extension_loaded($name)
return \extension_loaded($name);
}
namespace yiiunit\framework\base;
namespace yiiunit\framework\i18n;
use yii\base\Formatter;
use yii\i18n\Formatter;
use yiiunit\TestCase;
use DateTime;
use DateInterval;
/**
* @group base
* @group i18n
*/
class FormatterTest extends TestCase
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment