Diglin\Ricardo\Api::jsonEncode
We implement our own json encode function to allow to have value having [...] as string and to prevent to be kept as a string when formatted as json
Signature
public function jsonEncode(
$val )
Parameters
$val
—
Returns
- string
Violations
PHPMessDetector
Line |
Rule |
Message |
286 - 314 |
CyclomaticComplexity
|
The method jsonEncode() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
286 - 314 |
NPathComplexity
|
The method jsonEncode() has an NPath complexity of 5760. The configured NPath complexity threshold is 200. |