113 Commits (d5245387f391ec700c2202c43be87b010b2f0e09)

Author SHA1 Message Date
Jordi Boggiano c46b75de81
Allow any non-numeric version to be used for flex as we can not establish if they are compatible 4 years ago
Jordi Boggiano 2ca2ec3d0a
Allow loading flex main branch 4 years ago
Jordi Boggiano 9492dc7f7c
Make sure symfony/flex does not get loaded in a buggy version to avoid bogus issue reports 4 years ago
Fränz Friederes 7a49cda9f6
Fix PHPDoc types on new PreFileDownloadEvent property 4 years ago
Fränz Friederes 57e1ce6cdb
Change the file download cache key with the processed URL, implement custom cache key 4 years ago
Ayesh Karunaratne e3c75b3e87
Replace cascading str_replace() calls with strtr()
Replaces cascading str_replace() calls with a single strtr() call that makes it mode readable and provides a micro performance improvement.
Some instances of cascading str_replace() calls were not refactored due to the potential recurring replacement patterns.
4 years ago
Graham Campbell a4f4101346
Phpdoc tweaks 4 years ago
Fränz Friederes 5c13c97428
Implement type and context properties in PreFileDownloadEvent 4 years ago
Fränz Friederes 907367ff43
Fix PHPDoc issue 4 years ago
Fränz Friederes 13bdf8553a
Add setProcessedUrl method to PreFileDownloadEvent 4 years ago
Jordi Boggiano a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Jordi Boggiano 8d3ec0f718
Do not reverse sorted packages, fixes #8320 4 years ago
Jordi Boggiano d6a9d78309
Merge pull request #8810 from heddn/8809_expand_context_post_file_download
#8809: expand context for post file download event
4 years ago
Jordi Boggiano 0ab48a1773
Add composer-runtime-api platform package 4 years ago
Lucas D Hedding 3e2163de5c #8809: expand context for post file download event 4 years ago
Lucas Hedding 1883832ddc
Provides a post download event (#8655) 4 years ago
Jordi Boggiano a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones 4 years ago
Jordi Boggiano 3d0d71367d
Doc updates 4 years ago
Jordi Boggiano 2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository 4 years ago
Jordi Boggiano 78885c556a
Add missing use statement 4 years ago
Jordi Boggiano c5c6d44a0b
Refactor away some unnecessary RepositorySet usages 4 years ago
Jordi Boggiano 835a91532d
Add PRE_POOL_CREATE event, fixes #8348 4 years ago
Jordi Boggiano 2f4ea3a463
Fix show command, refactor RepositorySet constructor 4 years ago
Jordi Boggiano 3fc7e10c5c
Improve error reporting of solver issues, refs #7779
Fixes #8525
Fixes #6513
4 years ago
Nils Adermann 26da52227e Clean up the Solver tests, no more installed repo input and new sorting
The solver now only calculates a lock file transaction which does not
need to be sorted in order of dependencies. This is only necessary for
the local repo transaction generated without the solver during install
5 years ago
Jordi Boggiano 300a888470
Merge pull request #7995 from Seldaek/plugin-deactivation
Plugin deactivation/uninstall support
5 years ago
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
5 years ago
Dane Powell d4150cafc4
Move sortPackages to static helper class. 5 years ago
Dane Powell 266a41e046
Refactor sortPackageMap to depend on separate sortPackage function. 5 years ago
Dane Powell a908e22a91
Fixed code style issues. 5 years ago
Dane Powell 043b33ed38
Fixes #8065: Sort plugins deterministically before loading. 5 years ago
Jordi Boggiano 3fc9ede24b
Add plugin callbacks for deactivation and uninstall, fixes #3000 5 years ago
Jordi Boggiano bb2f64c7bc Remove ability to override the entire HttpDownloader instance in PRE_FILE_DOWNLOAD events 6 years ago
Jordi Boggiano 56805ecafe Add HttpDownloader to wrap/replace RemoteFilesystem with a new curl multi implementation 6 years ago
Nils Adermann 7036f99999 RepositorySet::findPackages now has an exactMatch option
Allows search for providers/replacers, or exact name search
6 years ago
Nils Adermann 1228bcdffc Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Jordi Boggiano 352aefe48c Add command name to the PreCommandRun event 7 years ago
Jordi Boggiano b1bfb9bb65 Add PRE_COMMAND_RUN event, fixes #7002 7 years ago
Andreas Möller 5e68566ce6
Fix: Typo / wording 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano 677e75d168 Add phpdoc comment 8 years ago
Felix Becker 5f64cae860 Make PluginManager::addPlugin() public 8 years ago
Martin Hasoň 2b67a9044e Fix class in DocBlock 8 years ago
Fabien Potencier b502a35fc1 added missing var declaration 8 years ago
Michele Locati 0b08daff02
Simplify evaluation of PHP code 8 years ago
Michele Locati 759987da62
Strip out declare strict_types 8 years ago
Jordi Boggiano ba909d8795 Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377 8 years ago
Jordi Boggiano 090295dbcb Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377 8 years ago