diff --git a/res/composer-schema.json b/res/composer-schema.json index 260406e76..0b9fef0e7 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -323,7 +323,7 @@ "example": "my-extension-source", "default": null }, - "override-download-url-method": { + "download-url-method": { "type": "string", "description": "If specified, this technique will be used to override the URL that PIE uses to download the asset. The default, if not specified, is composer-default.", "enum": ["composer-default", "pre-packaged-source"], diff --git a/src/Composer/Package/PackageInterface.php b/src/Composer/Package/PackageInterface.php index aacaae8de..68e22fa0e 100644 --- a/src/Composer/Package/PackageInterface.php +++ b/src/Composer/Package/PackageInterface.php @@ -23,7 +23,7 @@ use Composer\Repository\RepositoryInterface; * * @phpstan-type AutoloadRules array{psr-0?: array, psr-4?: array, classmap?: list, files?: list, exclude-from-classmap?: list} * @phpstan-type DevAutoloadRules array{psr-0?: array, psr-4?: array, classmap?: list, files?: list} - * @phpstan-type PhpExtConfig array{extension-name?: string, priority?: int, support-zts?: bool, support-nts?: bool, build-path?: string|null, override-download-url-method?: string, os-families?: non-empty-list, os-families-exclude?: non-empty-list, configure-options?: list} + * @phpstan-type PhpExtConfig array{extension-name?: string, priority?: int, support-zts?: bool, support-nts?: bool, build-path?: string|null, download-url-method?: string, os-families?: non-empty-list, os-families-exclude?: non-empty-list, configure-options?: list} */ interface PackageInterface {