Pārlūkot izejas kodu

Allow string in abandoned format as well, refs #4621

Jordi Boggiano 9 gadi atpakaļ
vecāks
revīzija
430c6f3972
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      res/composer-schema.json

+ 2 - 2
res/composer-schema.json

@@ -444,8 +444,8 @@
             }
             }
         },
         },
         "abandoned": {
         "abandoned": {
-            "type": ["boolean"],
-            "description": "Indicates whether this package has been abandoned. Defaults to false."
+            "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."
         }
         }
     }
     }
 }
 }