소스 검색

added source key, and support section to arraydumper

digitalkaoz 13 년 전
부모
커밋
7bbe60459f
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      res/composer-schema.json
  2. 1 0
      src/Composer/Package/Dumper/ArrayDumper.php

+ 4 - 0
res/composer-schema.json

@@ -219,6 +219,10 @@
                 "irc": {
                     "type": "string",
                     "description": "Irc support channel"
+                },
+                "source": {
+                    "type": "string",
+                    "description": "URL to the sources"
                 }
             }
         }

+ 1 - 0
src/Composer/Package/Dumper/ArrayDumper.php

@@ -36,6 +36,7 @@ class ArrayDumper
             'keywords',
             'autoload',
             'repositories',
+            'support'
         );
 
         $data = array();