digitalkaoz hace 13 años
padre
commit
20ae7efa2b
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  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": {
                     "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',
             'autoload',
             'repositories',
-            'support'
+            'support',
         );
 
         $data = array();