Browse Source

Add _comment to schema to make it valid, fixes #5364

Jordi Boggiano 8 years ago
parent
commit
98b0af1386
1 changed files with 4 additions and 0 deletions
  1. 4 0
      res/composer-schema.json

+ 4 - 0
res/composer-schema.json

@@ -483,6 +483,10 @@
         "abandoned": {
             "type": ["boolean", "string"],
             "description": "Indicates whether this package has been abandoned, it can be boolean or a package name/URL pointing to a recommended alternative. Defaults to false."
+        },
+        "_comment": {
+            "type": ["array", "string"],
+            "description": "A key to store comments in"
         }
     }
 }