52 Commits (152694b5740b0be0049e2eec15b13e368b494071)

Author SHA1 Message Date
Jordi Boggiano 1593b67230
Fix warnings on higher phpunit versions 4 years ago
Jordi Boggiano d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 4 years ago
Jordi Boggiano 71855e6430
Restore PRE/POST_DEPENDENCY_SOLVING events 4 years ago
Jordi Boggiano 006c3de542
Fix tests and make TTY usage on ProcessExecutor cleaner 4 years ago
Jordi Boggiano 7e6fe585bc
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano fb93036a70
Fix putenv to avoid leaving the environment in a dirty state 4 years ago
Jordi Boggiano 8584d15e8c
Merge branch 'master' into 2.0 4 years ago
Adriano Ferreira acc040f745 Append the bin dir on each listener iteration
The "composer install" can create the vendor/dir folders and be used as a script item on composer.json. Having another script running after it that relies on vendor/bir binaries (such as phpunit) will cause it to not find the binary. This fix addresses the issue by trying to append the path on each script iteration.
5 years ago
Jordi Boggiano f91859ceff
Fix expectation 5 years ago
Jordi Boggiano 23359f2db6
Merge branch 'master' into 2.0 5 years ago
Markus Staab 3d8c1ebad5 implemented @putenv composer script
@putenv supports setting environment variables in a x-OS compatible way
5 years ago
Jordi Boggiano 1b7e957cc1
Add EventDispatcher::removeListener to allow deregistration of listeners 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 6 years ago
Jordi Boggiano bf33eec912 Fix tests 6 years ago
Jordi Boggiano 411dd51f20 Merge branch 'master' into 2.0 6 years ago
Jérôme Deuchnord b0b00ad1fa Call a script recursively with extra parameters (#7720)
* Added support for calling scripts recursively (fixes #7562)
6 years ago
Jordi Boggiano 2e0f31106a Merge remote-tracking branch 'origin/master' into 2.0 6 years ago
Jordi Boggiano 5a56bb6971 Remove BC event and constraint classes 6 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
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
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jordi Boggiano e9d04f2b2d Merge branch '1.2' 8 years ago
Dries Vints 2ab7df5566 Do not add newlines to output 8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Fabien Potencier 103624d4ed Remove usage of echo when executing Composer script 8 years ago
Jordi Boggiano 2ffa1148a9 Merge branch '1.2' 8 years ago
Den Girnyk 41eb297248 Add tests 8 years ago
David Jack Wange Olrik 2c84be47c2 Add support for seamless execution of local binaries
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.

In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.

Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
ReenExe 53fc30fe56 clear code 8 years ago
Jordi Boggiano d5ed45c3c7 Fix test 8 years ago
Jordi Boggiano 5c9c910240 Target error capture more specifically 8 years ago
Jordi Boggiano e6c6d25b59 Fix tests 8 years ago
Jordi Boggiano dc695ec78d Fix tests 9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Giorgio Premi fd0026b542 Detect infinite script call recursion 9 years ago
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano d79427f1a7 Fix tests 9 years ago
Jordi Boggiano 852e4f4e26 Merge remote-tracking branch 'alcohol/output-script-command-in-verbose-mode' 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Rob Bast fd34c5883a added php script handler info as well 9 years ago
Rob Bast 9223f4a208 show command by default 9 years ago
Rob Bast 222ee004e0 modified test case 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 3efed220a6 Clean up event dispatching code and make package events extend installer events 9 years ago
Rob d9b8b3611b fixes composer/composer#3546 10 years ago
Rob Bast 113606be7b should fix composer/composer#3382 10 years ago
Jordi Boggiano efcdb394d3 Rename *-solve-dependencies to *-dependencies-solving 10 years ago
François Pluchino 1067ce4f96 Add installer events 10 years ago