'HTTPS must be enabled for Composer downloads. See <a href="https://getcomposer.org/doc/06-config.md#secure-http">the Composer documentation</a> for more information.',
]);
return[
'disabled'=>[
Json::encode([
'config'=>[
'secure-http'=>FALSE,
],
]),
[$error],
],
'explicitly enabled'=>[
Json::encode([
'config'=>[
'secure-http'=>TRUE,
],
]),
[],
],
'implicitly enabled'=>[
'{}',
[],
],
];
}
/**
* Tests that Composer's secure-http setting is validated.