Jordi Boggiano
9824d339b6
Escape arguments, refs #6414
7 years ago
Jasper N. Brouwer
4ce39c75c7
Pass more ini directives when executing php
...
Not only pass the current value for "memory_limit" along when executing
php, but also do the same for "allow_url_fopen" and "disable_functions"
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Jordi Boggiano
1baa2a52d4
Make sure script running errors are always output even in quiet mode, fixes #6122
7 years ago
Jordi Boggiano
7aa7c3ced3
Forward composer memory_limit to child processes, fixes #6075
8 years ago
Jordi Boggiano
e4840ee413
Add a COMPOSER_BINARY env var so that chdir does not affect @composer script resolvability, fixes #6080
8 years ago
Jordi Boggiano
98c5f825e0
Fix tests and regression in @ref script handling
8 years ago
Jordi Boggiano
b0000617cc
Support @php prefix for scripts to reuse the current PHP interpreter, fixes #5957
8 years ago
Fabien Potencier
07cbb73184
fixed deprecated class usages
8 years ago
Jordi Boggiano
ec2660fe78
Fix regex escaping, fixes #5674
8 years ago
Jordi Boggiano
2ffa1148a9
Merge branch '1.2'
8 years ago
Den Girnyk
71e0fba216
Pass devMode from RunScriptCommand to Script\Event
8 years ago
Jordi Boggiano
2d8251b7ad
Fix handling of local binaries on windows, refs #5612
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
Jordi Boggiano
aaf2c06e7b
Add ScriptExecutionException for CLI scripts and avoid showing the full exception to users, fixes #5281
8 years ago
Jordi Boggiano
a67b127a1a
Add deprecation notice for the event type hint rewrites, refs #5238
8 years ago
Jordi Boggiano
60ce2324bc
Add ability to call composer from scripts using @composer XXX, fixes #5153
8 years ago
Jordi Boggiano
c45cc912ab
Warn when referencing unknown scripts
8 years ago
Jordi Boggiano
1f0b01e70d
Merge remote-tracking branch 'watermanio/strict-types' into 1.0
8 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
8 years ago
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
8 years ago
Andy Waterman
d4207ff49f
Strict type checks of null and bool
8 years ago
Jordi Boggiano
f542b0f32d
Only use Path if it is actually available, refs #5114
8 years ago
nishiyama
8b221905ca
fix path info
8 years ago
Jordi Boggiano
934be204a2
Simplify exec implementation and add full PATH support, refs #4887
8 years ago
Jordi Boggiano
2609cfdd1d
Always set bin-dir into PATH before calling scripts, fixes #4852 , closes #4898
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
adc0bbeeb9
Forward args/flags down to referenced events
9 years ago
Jordi Boggiano
24ccaa328d
Tweak output of calls to script references, refs #4592
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
a8d71be0ef
Add event name in verbose mode, refs #4123
9 years ago
Jordi Boggiano
852e4f4e26
Merge remote-tracking branch 'alcohol/output-script-command-in-verbose-mode'
9 years ago
Andreas Möller
12ffe2b4d4
Fix: Add missing imports
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
cbd61660ab
implemented verbose output
9 years ago
Jordi Boggiano
eadc167b12
Fix BC layer for events
9 years ago
Jordi Boggiano
82b7fdf4c1
Add BC for Script\Event instances, fixes #3811
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
Vladimir Kartaviy
9f0d36290b
Added missing variable
10 years ago
Jordi Boggiano
07ad1da3ac
Fix HHVM interop
10 years ago
Rob
d9b8b3611b
fixes composer/composer#3546
10 years ago
Rob Bast
113606be7b
should fix composer/composer#3382
10 years ago
André R
9e0a85fb64
Fix use of non existing ->getIO() function
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
4ce9252255
Avoid passing args to CLI handlers when none are needed, fixes #3332
10 years ago
Jordi Boggiano
81fa284c9b
Merge remote-tracking branch 'francoispluchino/installer-events'
10 years ago