소스 검색

Allow string in abandoned format as well, refs #4621

Jordi Boggiano 9 년 전
부모
커밋
430c6f3972
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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."
         }
     }
 }