From: Kunal Mehta Date: Sun, 15 Mar 2015 02:11:19 +0000 (-0700) Subject: Fix phpcs errors and warnings in includes/json X-Git-Tag: 1.31.0-rc.0~12090^2~1 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/wiki/supprimer.php?a=commitdiff_plain;h=c91fd8043b4484566caab5e88397db1b40293c48;p=lhc%2Fweb%2Fwiklou.git Fix phpcs errors and warnings in includes/json Change-Id: Id5ae1cabe87f73f7458a744834ebb6a1a7c3dbf8 --- diff --git a/includes/json/FormatJson.php b/includes/json/FormatJson.php index 74775b5b9d..f27194a44b 100644 --- a/includes/json/FormatJson.php +++ b/includes/json/FormatJson.php @@ -137,8 +137,9 @@ class FormatJson { } /** - * Decodes a JSON string. It is recommended to use FormatJson::parse(), which returns more comprehensive - * result in case of an error, and has more parsing options. + * Decodes a JSON string. It is recommended to use FormatJson::parse(), + * which returns more comprehensive result in case of an error, and has + * more parsing options. * * @param string $value The JSON string being decoded * @param bool $assoc When true, returned objects will be converted into associative arrays. @@ -154,7 +155,8 @@ class FormatJson { /** * Decodes a JSON string. - * Unlike FormatJson::decode(), if $value represents null value, it will be properly decoded as valid. + * Unlike FormatJson::decode(), if $value represents null value, it will be + * properly decoded as valid. * * @param string $value The JSON string being decoded * @param int $options A bit field that allows FORCE_ASSOC, TRY_FIXING,