232 Commits (ee4afa29e77b57ae8d03254149788a30c7a40c39)

Author SHA1 Message Date
Jordi Boggiano c8731598cc
Merge branch '1.10' 4 years ago
Jordi Boggiano a17bbec842
Avoid double warnings about composer.json when running outdated, fixes #8958 4 years ago
Alexandre D'Eschambeault e0e2bb11a5
Fix typo: directory instead of directoy 4 years ago
Jordi Boggiano d63eb8179e
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano c6969756e8
Make sure $_SERVER is updated when putenv updates environment variables, fixes #8298 4 years ago
Jordi Boggiano bc002ae1fb
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano 77a477fb57
Add FundCommand 4 years ago
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 4 years ago
Jordi Boggiano c56886ac36
Avoid checking for .dockerenv if open_basedir is set, fixes #8585 4 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 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
Jordi Boggiano 88b051c96b
Merge branch 'master' into 2.0
Update deps
5 years ago
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 5 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 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 6c4357a7ed
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 8958f40f94
Make sure resetting composer also resets the IO and configuration, fixes #8224 5 years ago
Jordi Boggiano 5f988a34a6
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 43a43f3cdf
Merge branch '1.8' 5 years ago
Jordi Boggiano 4271167495
Improve version reporting 5 years ago
Matthew Brown 65903aacfd Fix type issues (#7996)
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 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
Jordi Boggiano 0b928b2a42 Merge branch 'master' into 2.0 5 years ago
fancyweb 4b2e63704b fix(application): use precise helper set 6 years ago
Ahammar Yassine b4fae00db2
Change return code to 1 6 years ago
Ahammar Yassine 0fd4ef6d8e
Ask confirmation when is run as admin
Use return instead of exit for the Application to run cleanly
6 years ago
Ahammar Yassine 5548051977
Ask confirmation when is run as admin 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