Skip to content

Instantly share code, notes, and snippets.

@glensc
Last active May 12, 2017 08:39
Show Gist options
  • Save glensc/46fe580cab09efb35b8da3f2fe9f87e3 to your computer and use it in GitHub Desktop.
Save glensc/46fe580cab09efb35b8da3f2fe9f87e3 to your computer and use it in GitHub Desktop.
PEAR repository type does not process PEAR installer dependency #6413
/composer.lock
/vendor/

PEAR repository type does not process PEAR installer dependency

Upstream

composer/composer#6413

Current situation:

➔ rm -rf composer.lock vendor/
➔ composer install
Loading composer repositories with package information
Initializing PEAR repository https://pear.php.net
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Installing pear-pear.php.net/mail_mime (1.10.0): Loading from cache  - Installing pear-pear.php.net/mail_mimedecode (1.5.6): Loading from cacheWriting lock file
Generating autoload files
➔

Expected result:

pear-pear.php.net/pear or pear/pear-core-minimal installed as well.

{
"repositories": [
{
"type": "pear",
"url": "https://pear.php.net",
"vendor-alias": "pear"
}
],
"require": {
"pear-pear.php.net/mail_mimedecode": "*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment