瀏覽代碼

Add license info for code snippet we reused

Jordi Boggiano 13 年之前
父節點
當前提交
f516c1de48
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Composer/Json/JsonFile.php

+ 2 - 0
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 <mail@recursive-design.com>
+     *
      * @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