Commit Graph

9 Commits

Author SHA1 Message Date
Ilya Rogov
0d9cd0ccd7 Add test coverage of yii\helpers\BaseJson (#14217) 2017-05-28 17:32:41 +05:00
Carsten Brandt
d786b78f25 Helper independent (#14050)
* Made sure most helpers are independent of Yii::$app

* Made sure most validators are independent of Yii::$app
2017-04-26 09:49:44 +02:00
Klimov Paul
dee88787fc compatibility with PHPUnit 6.x added 2017-04-13 14:49:43 +03:00
Klimov Paul
acfe21b400 Fixed yii\helpers\Json::encode() encodes empty array returned by JsonSerializable::jsonSerialize() as object 2016-08-01 10:31:10 +03:00
LAV45
a2bf2598ce Release fix from SilverFire 2015-11-29 01:24:43 +03:00
LAV45
1028152aac Unexpected behavior for \SimpleXMLElement and Json::encode() #10278 2015-11-29 00:58:32 +03:00
freezy
7bea7b65fd Fixes #9282: Improved JSON error handling to support PHP 5.5 error codes 2015-11-04 12:59:37 +03:00
Qiang Xue
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00