From f516c1de48b505bdc491dbc196a39b6353607ac4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 13 May 2012 13:16:38 +0200 Subject: [PATCH] Add license info for code snippet we reused --- src/Composer/Json/JsonFile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Json/JsonFile.php b/src/Composer/Json/JsonFile.php index 16d3d3394..579b750d1 100644 --- a/src/Composer/Json/JsonFile.php +++ b/src/Composer/Json/JsonFile.php @@ -162,6 +162,8 @@ class JsonFile * This code is based on the function found at: * http://recursive-design.com/blog/2008/03/11/format-json-with-php/ * + * Originally licensed under MIT by Dave Perrett + * * @param mixed $data Data to encode into a formatted JSON string * @param int $options json_encode options (defaults to JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) * @return string Encoded json