Эх сурвалжийг харах

define types for autoload and repositories

Igor Wiedler 13 жил өмнө
parent
commit
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
         }
     }