107 Commits (main)

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 b03e9e414e
Merge branch '2.2' into main 2 years ago
Jordi Boggiano d7f0733959
Detect exec failures in compile script, refs #10693 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 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
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Rob Bast e4118385a0 updated spdx related files 9 years ago
Jordi Boggiano fbc0fa9688 Fix line endings 9 years ago
Jordi Boggiano 2a48b0faa0 Make autoloader suffix a reproducible value as well, refs #3927 9 years ago
Jordi Boggiano facdd8a503 Add phar-utils package to update timestamps after the build is done, refs #3927 9 years ago
Jordi Boggiano 92785ac677 Make builds more reproducible, refs #3927 9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 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 cfc8bf0730 Make phar build fails more debuggable 11 years ago
Jordi Boggiano 5652ce5e55 Update SPDX license identifiers 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 fd38971777 Fix CS & simplify code 12 years ago