242 Commits (152694b5740b0be0049e2eec15b13e368b494071)

Author SHA1 Message Date
Jordi Boggiano 595c4c6f75
Make sure we handle cases where STDIN/STDOUT may not be defined 4 years ago
Jordi Boggiano cc536c7f45
Fix/normalize tty handling 4 years ago
Tom Klingenberg 258f6dc1a2 Reference co-relating code sequence for tty test, refs #9454 4 years ago
Jordi Boggiano 380dce9a6b
Make sure the IO is not interactive when not run in a tty, refs #9454 4 years ago
Jordi Boggiano 34bdc6cbf2
Detect and hint for solutions for common curl errors, fixes #9376 4 years ago
Simon Berger 002fd39bc6 Removed passing of parameters with default value 4 years ago
Simon Berger cda6e8bea6 Removed unnecessary property initialization or declaration 4 years ago
Simon Berger bae227ec2d Changed all substr calls used to compare fragments of text to strpos
Some additional code cleanups in those classes

Reverted change causing issues
4 years ago
Markus Staab fdff3aeaba
emit github action formatted error messages (#9120) 4 years ago
Jordi Boggiano 1fa6f4c83c
Add a default signal handler to avoid having the SIGINTs ignored, fixes #9027 4 years ago
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