Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jordi Boggiano
fb93036a70
Fix putenv to avoid leaving the environment in a dirty state
5 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
Markus Staab
3d8c1ebad5
implemented @putenv composer script
...
@putenv supports setting environment variables in a x-OS compatible way
5 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
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
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 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
9 years ago
Jordi Boggiano
5c9c910240
Target error capture more specifically
9 years ago
Jordi Boggiano
e6c6d25b59
Fix tests
9 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
10 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 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
Jordi Boggiano
38917c2047
Add parallel build to travis script
11 years ago
Nils Adermann
3960edd64e
Turn EventDispatcher into generic solution handling plugins as well
11 years ago