Jordi Boggiano
49d7ff1626
Fix typo
2021-06-03 10:23:06 +02:00
Jordi Boggiano
91dd175f74
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930
2021-06-03 10:17:54 +02:00
Jordi Boggiano
e0366bc760
Fix COMPOSER_BINARY env not being set in $_SERVER, refs #9930
2021-06-03 09:28:30 +02:00
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`.
2021-04-13 09:59:06 +02:00
jvoisin
456096d5ff
Fix a type-juggling issue ( #9498 )
2020-11-18 21:53:09 +01:00
Simon Berger
3aadbaa6c4
Cleaned up memory_limit set logic
2020-09-12 21:09:20 +02:00
Andreas Möller
f7f7883a5e
Fix: Xdebug vs xdebug
2019-11-03 14:08:14 +01:00
Jordi Boggiano
d9f873d00e
Abort when HHVM 4.0 is detected to output a clear user message, refs #7990
2019-02-16 17:40:47 +01:00
Michele Locati
04098153c8
Add support for running composer with phpdbg ( #7798 )
2018-11-26 12:32:31 +01:00
Jordi Boggiano
4ebb747e12
Merge branch '1.6'
2018-05-04 11:18:18 +02:00
Nicolas Grekas
658685744b
Force "C" locale to prevent issue with turkish "I"
2018-05-02 17:17:22 -07:00
johnstevenson
ed97c2116c
Use external XdebugHandler library
2018-03-08 19:20:16 +00:00
Jordi Boggiano
882b82d542
Add COMPOSER_MEMORY_LIMIT env var to force a given memory_limit, fixes #6931
2018-01-04 10:49:41 +01:00
Jordi Boggiano
e4840ee413
Add a COMPOSER_BINARY env var so that chdir does not affect @composer script resolvability, fixes #6080
2017-01-22 18:26:49 +01:00
Jordi Boggiano
0bc75c3fb6
Bump memory limit to 1.5G
2016-12-31 16:29:31 +01:00
johnstevenson
896d1d71f8
Use ConsoleOutput to determine color support
2016-09-06 14:57:18 +01:00
johnstevenson
e381abeec0
Simplify argv handling
2016-09-03 19:00:41 +01:00
johnstevenson
586eb3bb41
Restart with xdebug disabled
2016-08-08 18:30:56 +01:00
Rob Bast
5ae9e7fe22
remove spdx files, introduce external library
2015-07-16 11:42:12 +02:00
Rob Bast
e4118385a0
updated spdx related files
2015-07-03 12:22:16 +02:00
Jordi Boggiano
fbc0fa9688
Fix line endings
2015-05-28 14:54:42 +01:00
Jordi Boggiano
2a48b0faa0
Make autoloader suffix a reproducible value as well, refs #3927
2015-05-01 14:32:32 +01:00
Jordi Boggiano
facdd8a503
Add phar-utils package to update timestamps after the build is done, refs #3927
2015-05-01 13:50:16 +01:00
Jordi Boggiano
92785ac677
Make builds more reproducible, refs #3927
2015-05-01 11:21:44 +01:00
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)
2015-03-29 22:46:38 +02:00
Jordi Boggiano
8e6f62e769
Bump max memory to 1GB, fixes #3785
2015-03-05 14:16:44 +00:00
Jordi Boggiano
c1ff6ea62b
Just output a warning but don't prevent usage through non-cli SAPIs
2013-04-11 10:23:35 +02:00
Jordi Boggiano
3bec538970
Fail if the CLI SAPI is not used to invoke composer
2013-04-09 10:33:14 +02:00
Jordi Boggiano
cfc8bf0730
Make phar build fails more debuggable
2013-03-10 13:58:49 +01:00
Jordi Boggiano
5652ce5e55
Update SPDX license identifiers
2013-02-22 19:24:20 +01:00
Jordi Boggiano
16671831ef
CS fix
2013-01-10 17:55:41 +01:00
Bryan J. Agee
0db97259ba
Adds fallthrough comments to bin/composer (PSR-2 compliance)
2013-01-10 08:20:45 -08:00
Jordi Boggiano
3946a44499
Merge remote-tracking branch 'chEbba/memory_limit'
...
Conflicts:
bin/composer
2012-08-24 17:39:49 +02:00
Jordi Boggiano
573aad8801
Check if ini_set exists before calling it
2012-08-24 16:38:01 +02:00
Kirill chEbba Chebunin
21596b2ccd
Increase memory to 512M, remove warning
2012-08-24 17:49:35 +04:00
Kirill chEbba Chebunin
ba45ef2b70
Remove commented code forom cli script
2012-08-24 17:25:10 +04:00
Kirill chEbba Chebunin
4f129424e1
Increase memory_limit to 256M if it is lower than this value
2012-08-24 17:06:03 +04:00
Kirill chEbba Chebunin
47156103a6
Remove hard coded memory limit. Add troubleshooting doc
2012-08-24 13:53:02 +04:00
Jordi Boggiano
32692e519c
Boost memory_limit at runtime if permitted
2012-06-14 14:21:44 +02:00
Jordi Boggiano
fd38971777
Fix CS & simplify code
2012-05-12 17:10:28 +02:00
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
2012-05-12 10:50:48 +02:00
Jordi Boggiano
3be04fd3b5
CS fix
2012-05-12 09:41:15 +02:00
Tom Klingenberg
c4d5819ec4
Compile has a message to tell.
2012-05-11 18:04:13 +02:00
Jordi Boggiano
438cea6363
Regroup bootstrapers
2012-03-15 13:14:02 +01:00
Marcin Chyłek
0e0b5ac222
chache to return (file_exists() && include );
2012-03-15 11:36:40 +01:00
Marcin Chyłek
768bedc164
Fix xdebug display errors in autoload
2012-03-15 00:58:12 +01:00
Jordi Boggiano
26e909a1a0
Apply nested-autoload support to all relevant files
2012-02-05 21:23:52 +01:00
Beau Simensen
8d0c2e0079
Check for vendor differently for "installs as a dependency" case
2012-01-22 10:37:28 -08:00
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`.
2012-01-19 22:28:51 -08:00
Jordi Boggiano
e91897a59b
Restore +x on bin files
2012-01-17 22:34:37 +01:00