Преглед изворни кода

define types for autoload and repositories

Igor Wiedler пре 13 година
родитељ
комит
611639d26d
1 измењених фајлова са 13 додато и 0 уклоњено
  1. 13 0
      doc/composer-schema.json

+ 13 - 0
doc/composer-schema.json

@@ -109,6 +109,19 @@
         },
         "autoload": {
             "type": "object",
+            "properties": {
+                "psr-0": {
+                    "type": "object",
+                    "additionalProperties": true
+                },
+                "pear": {
+                    "type": "object",
+                    "additionalProperties": true
+                }
+            }
+        },
+        "repositories": {
+            "type": ["object", "array"],
             "additionalProperties": true
         }
     }