digitalkaoz пре 14 година
родитељ
комит
20ae7efa2b
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 2 1
      res/composer-schema.json
  2. 1 1
      src/Composer/Package/Dumper/ArrayDumper.php

+ 2 - 1
res/composer-schema.json

@@ -222,7 +222,8 @@
                 },
                 },
                 "source": {
                 "source": {
                     "type": "string",
                     "type": "string",
-                    "description": "URL to the sources"
+                    "description": "URL to the sources",
+                    "format": "uri"
                 }
                 }
             }
             }
         }
         }

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

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