213 Commits (f171d1fd89bf06247dc64c44e28f9d60ded4783e)

Author SHA1 Message Date
Jordi Boggiano c56886ac36
Avoid checking for .dockerenv if open_basedir is set, fixes #8585 4 years ago
Jordi Boggiano 8d24b61bef
Tweak and add comments to the working dir fix with global exec, refs #8515 5 years ago
Chad Wade Day, Jr 917680e0d4 Make global exec execute commands in working directory 5 years ago
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 5 years ago
MichaelKo 99e23d5263
Don't show root warning for docker containers
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
5 years ago
David Szkiba 0500e64f88 Respect COMPOSER_NO_INTERATION for search prompt.
As described in GH-8289, if no `composer.json` file is found in the current
directory, the user is prompted if she wants to use another `composer.json` file
from a parent directory even if the `COMPOSER_NO_INTERACTION` environment
variable is set.  This is fixed here by just moving the check of the environment
variable up in the code so that it is evaluated before the user is prompted.
5 years ago
Jordi Boggiano 8958f40f94
Make sure resetting composer also resets the IO and configuration, fixes #8224 5 years ago
Jordi Boggiano 43a43f3cdf
Merge branch '1.8' 5 years ago
Jordi Boggiano 4271167495
Improve version reporting 5 years ago
Jordi Boggiano 81de5f82aa Merge branch '1.8' 5 years ago
Michael Käfer 4765a8f21b MB to MiB
I did not study computer science, so correct me if I'm wrong. But I think you are calculating mebibyte (MiB) not megabyte (MB). Megabyte would be:
... round($valueInByte / 1000 / 1000, 2).'MB ...
Or is there some specific standard you follow? According to https://en.wikipedia.org/wiki/Binary_prefix both calculations (yours and mine) are correct in a way but I find yours to be not completely clear.
5 years ago
Jordi Boggiano 02ceb74151 Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 5 years ago
fancyweb 4b2e63704b fix(application): use precise helper set 6 years ago
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