89 Commits (e0cce2bfb00c8c828f2a70a8beb4db4fc7f60888)

Author SHA1 Message Date
Jordi Boggiano e0cce2bfb0
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714, refs #10709 2 years ago
Jordi Boggiano e103ee0249
Remove getenv workaround on fixed PHP versions 2 years ago
Jordi Boggiano d9619985db
Workaround PHP bug properly as getenv() without arg also returns mangled values, fixes #10434 2 years ago
Jordi Boggiano 9305dea128
Only run getenv workaround on PHP 7.1.13+ 2 years ago
Jordi Boggiano 65c8daa969
Workaround PHP bug with env vars not being read correctly on Windows, fixes #10434
refs https://github.com/php/php-src/issues/7896
2 years ago
Cédric Anne f0d621e101
Prevent uncaught exception when iconv/mbstring are missing; fixes #10168 (#10224) 3 years ago
Jordi Boggiano 29a52ff463
Register ErrorHandler early to catch deprecation notices while the Application is being initialized 3 years ago
Jordi Boggiano 49d7ff1626
Fix typo 3 years ago
Jordi Boggiano 91dd175f74
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930 3 years ago
Jordi Boggiano e0366bc760
Fix COMPOSER_BINARY env not being set in $_SERVER, refs #9930 3 years ago
John Stevenson c3b76a8532
Upgrade to xdebug-handler 2 (#9832)
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.

Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
3 years ago
jvoisin 456096d5ff
Fix a type-juggling issue (#9498) 4 years ago
Simon Berger 3aadbaa6c4 Cleaned up memory_limit set logic 4 years ago
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 5 years ago
Jordi Boggiano d9f873d00e
Abort when HHVM 4.0 is detected to output a clear user message, refs #7990 5 years ago
Michele Locati 04098153c8 Add support for running composer with phpdbg (#7798) 6 years ago
Jordi Boggiano 4ebb747e12 Merge branch '1.6' 6 years ago
Nicolas Grekas 658685744b Force "C" locale to prevent issue with turkish "I" 6 years ago
johnstevenson ed97c2116c Use external XdebugHandler library 6 years ago
Jordi Boggiano 882b82d542 Add COMPOSER_MEMORY_LIMIT env var to force a given memory_limit, fixes #6931 6 years ago
Jordi Boggiano e4840ee413 Add a COMPOSER_BINARY env var so that chdir does not affect @composer script resolvability, fixes #6080 7 years ago
Jordi Boggiano 0bc75c3fb6 Bump memory limit to 1.5G 7 years ago
johnstevenson 896d1d71f8 Use ConsoleOutput to determine color support 8 years ago
johnstevenson e381abeec0 Simplify argv handling 8 years ago
johnstevenson 586eb3bb41 Restart with xdebug disabled 8 years ago
Jordi Boggiano 8e6f62e769 Bump max memory to 1GB, fixes #3785 9 years ago
Jordi Boggiano c1ff6ea62b Just output a warning but don't prevent usage through non-cli SAPIs 11 years ago
Jordi Boggiano 3bec538970 Fail if the CLI SAPI is not used to invoke composer 11 years ago
Jordi Boggiano 16671831ef CS fix 11 years ago
Bryan J. Agee 0db97259ba Adds fallthrough comments to bin/composer (PSR-2 compliance) 11 years ago
Jordi Boggiano 3946a44499 Merge remote-tracking branch 'chEbba/memory_limit'
Conflicts:
	bin/composer
12 years ago
Jordi Boggiano 573aad8801 Check if ini_set exists before calling it 12 years ago
Kirill chEbba Chebunin 21596b2ccd Increase memory to 512M, remove warning 12 years ago
Kirill chEbba Chebunin ba45ef2b70 Remove commented code forom cli script 12 years ago
Kirill chEbba Chebunin 4f129424e1 Increase memory_limit to 256M if it is lower than this value 12 years ago
Kirill chEbba Chebunin 47156103a6 Remove hard coded memory limit. Add troubleshooting doc 12 years ago
Jordi Boggiano 32692e519c Boost memory_limit at runtime if permitted 12 years ago
Jordi Boggiano 3be04fd3b5 CS fix 12 years ago
Tom Klingenberg c4d5819ec4 Compile has a message to tell. 12 years ago
Jordi Boggiano 438cea6363 Regroup bootstrapers 12 years ago
Marcin Chyłek 0e0b5ac222 chache to return (file_exists() && include ); 12 years ago
Marcin Chyłek 768bedc164 Fix xdebug display errors in autoload 12 years ago
Jordi Boggiano 26e909a1a0 Apply nested-autoload support to all relevant files 12 years ago
Beau Simensen 8d0c2e0079 Check for vendor differently for "installs as a dependency" case 12 years ago
Beau Simensen d7714983c3 Fallback to include `vendor/.composer/autoload.php` for `bin/composer`
When Composer is a dependency for a project the `vendor/bin/composer`
script will not run as it is looking for `__DIR__.'/../vendor'` which
likely will not exist. What I believe is intended is for the script
to include the packages `vendor/.composer/autoload.php`.
12 years ago
Jordi Boggiano e91897a59b Restore +x on bin files 12 years ago
François Pluchino f65b34860f Merge branch 'test'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/Vcs/HgBitbucketDriver.php
13 years ago
Jordi Boggiano 94e277698e Delay bootstrap until it's really necessary, fixes #121 13 years ago
Jordi Boggiano f5b7e968b2 Minor adjustments to merged PR 13 years ago
Jordi Boggiano 5b87a02767 Merge remote-tracking branch 'prodigitalson/master' 13 years ago