Martin Herndl
a861d66469
Add types to `EventDispatcher` tests ( #10235 )
2021-10-27 20:35:16 +02:00
Jordi Boggiano
2828ce59cf
Merge branch '1.10'
2021-10-13 22:12:54 +02:00
John Stevenson
0783b043d2
Fix Windows escaping in tests
2021-10-10 17:02:22 +01:00
Jordi Boggiano
a586a753df
Fix all remaining php8.1 test suite deprecations
2021-08-19 13:00:30 +02:00
Jordi Boggiano
b7d770659b
CS fixes
2020-11-22 14:52:39 +01:00
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
2020-09-11 11:01:32 +02:00
Jordi Boggiano
d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock
2020-02-12 14:35:31 +01:00
Jordi Boggiano
71855e6430
Restore PRE/POST_DEPENDENCY_SOLVING events
2020-02-12 10:41:03 +01:00
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
2020-02-07 12:22:22 +08:00
Jordi Boggiano
006c3de542
Fix tests and make TTY usage on ProcessExecutor cleaner
2020-01-31 16:33:34 +01:00
Jordi Boggiano
7e6fe585bc
Merge branch 'master' into 2.0
2020-01-28 14:22:25 +01:00
Jordi Boggiano
fb93036a70
Fix putenv to avoid leaving the environment in a dirty state
2020-01-28 14:22:11 +01:00
Jordi Boggiano
8584d15e8c
Merge branch 'master' into 2.0
2020-01-28 14:04:27 +01:00
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.
2020-01-20 08:11:08 -02:00
Jordi Boggiano
f91859ceff
Fix expectation
2020-01-14 15:46:58 +01:00
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
2020-01-13 13:35:52 +01:00
Markus Staab
3d8c1ebad5
implemented @putenv composer script
...
@putenv supports setting environment variables in a x-OS compatible way
2019-12-21 19:26:29 +01:00
Jordi Boggiano
1b7e957cc1
Add EventDispatcher::removeListener to allow deregistration of listeners
2019-02-18 18:12:38 +01:00
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
2019-01-18 08:39:03 +01:00
Jordi Boggiano
bf33eec912
Fix tests
2018-12-03 10:59:04 +01:00
Jordi Boggiano
411dd51f20
Merge branch 'master' into 2.0
2018-12-03 10:41:19 +01:00
Jérôme Deuchnord
b0b00ad1fa
Call a script recursively with extra parameters ( #7720 )
...
* Added support for calling scripts recursively (fixes #7562 )
2018-11-26 12:35:41 +01:00
Jordi Boggiano
2e0f31106a
Merge remote-tracking branch 'origin/master' into 2.0
2018-11-12 16:01:07 +01:00
Jordi Boggiano
5a56bb6971
Remove BC event and constraint classes
2018-11-12 15:57:44 +01:00
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
2018-11-12 15:23:32 +01:00
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
2018-09-10 15:27:54 +02:00
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
2018-04-12 10:24:56 +02:00
Jordi Boggiano
e9d04f2b2d
Merge branch '1.2'
2016-12-06 17:04:39 +01:00
Dries Vints
2ab7df5566
Do not add newlines to output
2016-12-06 16:53:46 +01:00
Jordi Boggiano
43903a3979
Merge branch '1.2'
2016-11-06 17:38:53 +01:00
Fabien Potencier
103624d4ed
Remove usage of echo when executing Composer script
2016-11-05 22:10:39 -07:00
Jordi Boggiano
2ffa1148a9
Merge branch '1.2'
2016-09-12 19:06:26 +02:00
Den Girnyk
41eb297248
Add tests
2016-09-12 17:20:58 +02:00
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.
2016-08-21 16:57:19 +02:00
ReenExe
53fc30fe56
clear code
2016-05-17 13:34:54 +03:00
Jordi Boggiano
d5ed45c3c7
Fix test
2016-05-05 13:37:01 +01:00
Jordi Boggiano
5c9c910240
Target error capture more specifically
2016-04-24 15:55:55 +01:00
Jordi Boggiano
e6c6d25b59
Fix tests
2016-04-24 15:55:03 +01:00
Jordi Boggiano
dc695ec78d
Fix tests
2016-02-10 14:35:53 +00:00
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
2016-01-29 10:14:12 +00:00
Jordi Boggiano
966a982738
CS fixes
2015-11-21 19:28:10 +00:00
Giorgio Premi
fd0026b542
Detect infinite script call recursion
2015-11-09 15:34:11 +01:00
Giorgio Premi
a25492d1b9
Allow composer script call with @ syntax
2015-11-09 15:34:11 +01:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Jordi Boggiano
d79427f1a7
Fix tests
2015-07-04 12:22:58 +01:00
Jordi Boggiano
852e4f4e26
Merge remote-tracking branch 'alcohol/output-script-command-in-verbose-mode'
2015-07-04 12:11:18 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Rob Bast
fd34c5883a
added php script handler info as well
2015-06-24 09:21:36 +02:00
Rob Bast
9223f4a208
show command by default
2015-06-09 14:02:51 +02:00
Rob Bast
222ee004e0
modified test case
2015-06-09 09:02:32 +02:00