Closed samlikins closed 2 years ago
@samlikins To disable packagist.org repositories you should have something like this in your composer.json
"repositories": [
{
"packagist.org": false
}
],
Schema validation stopped working at some point but now that version 0.8.0 is out with updated json schema validation it is working again, so I am closing this issue.
In the Disabling Packagist.org section of the Composer documentation, it's specified that the following can be used in the "repositories" section.
However, when using this extension, the previous snippet causes two "Missing property" problems; one for
"type"
and the other for"url"
. I attempted to locate the JSON schema used in this extension with no luck. I'm not sure how validation of thecomposer.json
file is performed, however this does need to be corrected.