Nick Wilde
14c6c2c99f
Allow plugin commands to be run from child folders as well as core commands
6 years ago
Théo FIDRY
b7ab081519
Allow Composer to be used without running the application
...
For [Humbug
Box](https://github.com/humbug/box/blob/master/src/Composer/ComposerOrchestrator.php#L30 ) we are
using Composer to dump the autoload. To do so I'm using the `Composer` class from the application:
```php
$composer = (new ComposerApplication())->getComposer();
```
If you do so however this is going to fail because `Application#io` is null instead of being a
`IOInterface` instance. Indeed it is initialised only when the application is run. So one solution
is to initialised it with a dummy IO and the right IO object will be set when the application is run
as usual.
6 years ago
Jordi Boggiano
b32c7b3d16
Remove BC warning as this was never released
7 years ago
Mathias Brodala
8424235fac
Rename to "scripts-descriptions"
7 years ago
Mathias Brodala
80d0c2029b
Move "scripts-description" to toplevel
...
Fixes #6881
7 years ago
Jordi Boggiano
edf561d602
Merge remote-tracking branch 'swumao/master'
7 years ago
Jordi Boggiano
ba53a2d0e6
CS fixes
7 years ago
Jordi Boggiano
41a9357d4b
Merge remote-tracking branch 'thom8/script_help'
7 years ago
闫兴茂
f83883b2f6
Add command check-platform-reqs
7 years ago
Thom Toogood
bf880ad5e0
Allow custom script descriptions.
7 years ago
Jordi Boggiano
56964a9377
Check for new work dir with both parameters, refs #6651
7 years ago
Ayesh Karunaratne
eb078b432f
Prevent automatic parent directory composer.json discovery if working-dir parameter is set
7 years ago
Jordi Boggiano
9fd4f22ba2
Also ignore dir change prompt in list command
7 years ago
Jordi Boggiano
d352cc97f7
Do not prompt for dir change on create-project, fixes #6617
7 years ago
David Zuelke
a4d84f15ca
use COMPOSER env var if present for ancestor path search
7 years ago
Jordi Boggiano
ec2722f879
Add ability to call composer from within subdirectories of a project, fixes #6426
7 years ago
Jordi Boggiano
d0e780a8eb
Allow php_uname to be disabled, fixes composer/getcomposer.org#112
7 years ago
vlakoff
65a5727315
Do not hide the warning implicitly
...
Even if COMPOSER_ALLOW_XDEBUG is set,
requires to also set COMPOSER_DISABLE_XDEBUG_WARN to hide the warning.
This undoes commit c5dcedd
.
8 years ago
Lauris Binde
f9f92dc9d8
Fix Xdebug warning
...
Composer incorrectly shows Xdebug warning, even if extension is not loaded, but COMPOSER_ALLOW_XDEBUG is present.
8 years ago
Jordi Boggiano
c5dcedd0db
Hide warning when xdebug is explicitly allowed
8 years ago
Jordi Boggiano
994211523c
Merge remote-tracking branch 'johnstevenson/restart'
8 years ago
johnstevenson
896d1d71f8
Use ConsoleOutput to determine color support
8 years ago
Diego Oliveira
c55fd9bd10
Modify the message for memory errors
8 years ago
Jordi Boggiano
7bcd336c95
Disable plugins across the board when --no-plugins is specified, fixes #5509
8 years ago
Jordi Boggiano
b81210d9f8
Use stronger language and link to faq, fixes #5382 , closes #5383
8 years ago
Jordi Boggiano
d1425ec008
Merge branch '1.1'
8 years ago
Jordi Boggiano
43273c4366
Fix plugin bootstrapping to ignore SSL Exceptions, fixes #5388
8 years ago
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
8 years ago
Metod
360cb4ac2a
Fix for a fatal error when system temp dir is not available
8 years ago
Jordi Boggiano
a4e8d858ba
Merge branch '1.1'
8 years ago
Jordi Boggiano
206c3c52e0
Remove the error handler at the end of a run, fixes #5340
8 years ago
Jordi Boggiano
827d52cccf
Merge branch '1.1'
8 years ago
Jordi Boggiano
71cbd8f7e6
Switch dir before loading plugins to make sure the correct composer.json is initialized, fixes #5290
8 years ago
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
8 years ago
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
8 years ago
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
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
2bcd723b54
Fix regression in global command, fixes #5266
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
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
8 years ago
Jordi Boggiano
35fbf9bc14
Merge branch '1.0'
8 years ago
Derek Marcotte
3a03b51ae3
fix command injection from the environment when run as root
8 years ago
Jordi Boggiano
e7069dd5e8
Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028
8 years ago
Jordi Boggiano
89cfde051d
Convert exception to a warning, refs #5205
8 years ago
Jordi Boggiano
fa5c73f0d8
Merge remote-tracking branch 'curry684/issue-5186'
8 years ago
Niels Keurentjes
43eb471ec2
Code cleanup and ensure checked file is unique.
8 years ago
Jordi Boggiano
118d8fb52f
Output composer/php/os version info in debug mode
8 years ago
Niels Keurentjes
28e9193e9e
Check temp folder usability before runtime to prevent weird errors.
8 years ago
Jordi Boggiano
134ce134a2
Rename COMPOSER_DISABLE_ROOT_WARN to COMPOSER_ALLOW_SUPERUSER, refs #5119
8 years ago