Browse Source

Allow string in abandoned format as well, refs #4621

Jordi Boggiano 9 years ago
parent
commit
430c6f3972
1 changed files with 2 additions and 2 deletions
  1. 2 2
      res/composer-schema.json

+ 2 - 2
res/composer-schema.json

@@ -444,8 +444,8 @@
             }
         },
         "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."
         }
     }
 }