diff --git a/res/composer-schema.json b/res/composer-schema.json index 51687bbb5..2508791a0 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -222,7 +222,8 @@ }, "source": { "type": "string", - "description": "URL to the sources" + "description": "URL to the sources", + "format": "uri" } } } diff --git a/src/Composer/Package/Dumper/ArrayDumper.php b/src/Composer/Package/Dumper/ArrayDumper.php index 4ee414985..d107f7aca 100644 --- a/src/Composer/Package/Dumper/ArrayDumper.php +++ b/src/Composer/Package/Dumper/ArrayDumper.php @@ -36,7 +36,7 @@ class ArrayDumper 'keywords', 'autoload', 'repositories', - 'support' + 'support', ); $data = array();