Lauris Binde
f9f92dc9d8
Fix Xdebug warning
...
Composer incorrectly shows Xdebug warning, even if extension is not loaded, but COMPOSER_ALLOW_XDEBUG is present.
8 years ago
Jordi Boggiano
c5dcedd0db
Hide warning when xdebug is explicitly allowed
8 years ago
Jordi Boggiano
994211523c
Merge remote-tracking branch 'johnstevenson/restart'
8 years ago
johnstevenson
896d1d71f8
Use ConsoleOutput to determine color support
8 years ago
Diego Oliveira
c55fd9bd10
Modify the message for memory errors
8 years ago
Jordi Boggiano
7bcd336c95
Disable plugins across the board when --no-plugins is specified, fixes #5509
8 years ago
Jordi Boggiano
b81210d9f8
Use stronger language and link to faq, fixes #5382 , closes #5383
8 years ago
Jordi Boggiano
d1425ec008
Merge branch '1.1'
8 years ago
Jordi Boggiano
43273c4366
Fix plugin bootstrapping to ignore SSL Exceptions, fixes #5388
8 years ago
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
8 years ago
Metod
360cb4ac2a
Fix for a fatal error when system temp dir is not available
8 years ago
Jordi Boggiano
a4e8d858ba
Merge branch '1.1'
8 years ago
Jordi Boggiano
206c3c52e0
Remove the error handler at the end of a run, fixes #5340
8 years ago
Jordi Boggiano
827d52cccf
Merge branch '1.1'
8 years ago
Jordi Boggiano
71cbd8f7e6
Switch dir before loading plugins to make sure the correct composer.json is initialized, fixes #5290
8 years ago
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
8 years ago
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
8 years ago
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
8 years ago
Jordi Boggiano
aaf2c06e7b
Add ScriptExecutionException for CLI scripts and avoid showing the full exception to users, fixes #5281
8 years ago
Jordi Boggiano
2bcd723b54
Fix regression in global command, fixes #5266
8 years ago
Jordi Boggiano
ba909d8795
Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377
8 years ago
Jordi Boggiano
090295dbcb
Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377
8 years ago
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
8 years ago
Jordi Boggiano
35fbf9bc14
Merge branch '1.0'
8 years ago
Derek Marcotte
3a03b51ae3
fix command injection from the environment when run as root
8 years ago
Jordi Boggiano
e7069dd5e8
Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028
8 years ago
Jordi Boggiano
89cfde051d
Convert exception to a warning, refs #5205
8 years ago
Jordi Boggiano
fa5c73f0d8
Merge remote-tracking branch 'curry684/issue-5186'
8 years ago
Niels Keurentjes
43eb471ec2
Code cleanup and ensure checked file is unique.
8 years ago
Jordi Boggiano
118d8fb52f
Output composer/php/os version info in debug mode
8 years ago
Niels Keurentjes
28e9193e9e
Check temp folder usability before runtime to prevent weird errors.
8 years ago
Jordi Boggiano
134ce134a2
Rename COMPOSER_DISABLE_ROOT_WARN to COMPOSER_ALLOW_SUPERUSER, refs #5119
8 years ago
Jordi Boggiano
cb8587cdad
Add COMPOSER_DISABLE_ROOT_WARN env var and skip root warning on self-update command as well, refs #5119
8 years ago
Jordi Boggiano
dfd22c641d
Bulletproof sudo clobbering, refs #5122
8 years ago
Niels Keurentjes
a0070e724b
Clobber any existing sudo leases before execution to prevent malicious code gaining root privileges.
8 years ago
Niels Keurentjes
557a55fbe5
Clobber sudo credentials to prevent careless privilege escalations.
8 years ago
Jordi Boggiano
f4f66be6f6
Merge remote-tracking branch 'dshafik/add-exec-command'
8 years ago
Niels Keurentjes
75bb0d9b10
Implemented Prohibits and Depends correctly now.
8 years ago
Davey Shafik
43551bc537
Add `composer exec` command
9 years ago
Niels Keurentjes
0dab63e050
Unified all Windows tests throughout the code.
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
1818b95149
CS fixes
9 years ago
Niels Keurentjes
18cd4f966b
Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203 , #4683
9 years ago
Jordi Boggiano
2491679ba3
Remove override of renderException, refs #4774
9 years ago
Jordi Boggiano
b056d9ae42
Avoid double xdebug warning with global command
9 years ago
Jordi Boggiano
7a06615bf0
Add env var to disable xdebug warnings, refs #4622
9 years ago
Jordi Boggiano
966a982738
CS fixes
9 years ago
Jordi Boggiano
cf6cd83335
Use writeError for xdebug warning and fix running test suite with xdebug
9 years ago
Jordi Boggiano
4071b09091
Merge pull request #4615 from staabm/xdebugwarn
...
add a warning when xdebug is loaded while running composer commands
9 years ago
Markus Staab
a59f0a7ca8
add a warning when xdebug is loaded while running composer commands
9 years ago
Markus Staab
9f5efc3091
added a troubleshooting link in case of out-of-memory errors
9 years ago
Jordi Boggiano
2d24ed8e74
Improve error reporting
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Olivier Laviale
cc522c20bb
Optimized this->getIO()
9 years ago
Jordi Boggiano
5ba41514a9
Merge remote-tracking branch 'alcohol/add-suggests-command'
9 years ago
Jordi Boggiano
6a64041055
CS fixes
9 years ago
Gusakov Nikita
f1af16984e
[Command] Add suggests command
9 years ago
Jordi Boggiano
1753c275ff
Handle deprecation notices softer
9 years ago
Possum
29ca21f30e
PHP version checks tweaking
9 years ago
Jordi Boggiano
ebffb3c179
Move improvements towards reproducible builds, refs #3927
9 years ago
Rob Bast
00fcd63c04
Remove redundant helper
9 years ago
Jérémy Derussé
86e0b847be
Allow plugins to register commands
9 years ago
Edward Hartwell Goose
bcb5e479b7
Fix reference to getIO as per #3777
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Jordi Boggiano
0c87048fed
Also detect full temp dir, fixes #3559
10 years ago
Jordi Boggiano
0627d846a5
PluginManager refactoring, fixes #3550
10 years ago
Jordi Boggiano
aec1af4e11
Point users at troubleshooting if they get known exceptions
10 years ago
Jordi Boggiano
fc3c7838b2
CS fixes
10 years ago
Jordi Boggiano
d249d0c121
Reset composer to load the new requirements, fixes #3511
10 years ago
Craig Duncan
b84c3f0268
Don't display the dev warning time when running self-update
...
Use the Application::find() method to resolve the command name, as Application::getCommandName() only returns whatever was entered as the first argument.
If the user only entered enough of the command to be unambiguous (eg self-up) then the warning would still show
By calling Application::find() we ensure that if we are going to run the self-update command then we will not show the warning, no matter what the user entered
10 years ago
Jordi Boggiano
373c688f8c
Merge pull request #3362 from phansys/composer_version
...
Added branch-alias to version output when it is aliasing dev-master
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Javier Spagnoletti
e36f2ea618
Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
...
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| Doc PR | none
10 years ago
Jordi Boggiano
382b6c64d5
Output CWD change, refs #3332
10 years ago
Jordi Boggiano
a8adbfeb9f
Disallow overriding commands with scripts
10 years ago
Christophe Coevoet
e1a3df3dbf
Fixed the registration of commands with invalid JSON file
...
When the JSON file in the current folder is invalid, the registration of custom commands should be ignored rather than breaking the usage of Composer entirely.
Closes #3165
10 years ago
Jordi Boggiano
ff844b3e14
Load scripts without preloading a composer instance to avoid side-effects, fixes #3155
10 years ago
Jordi Boggiano
0ce0cf42e8
Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
...
Conflicts:
src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano
67a016878e
Switch working dir before loading composer, fixes #3146
10 years ago
Jordi Boggiano
cec1627acf
Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516
10 years ago
Jordi Boggiano
e10bf5a172
Merge remote-tracking branch 'digitalkaoz/new_home_command'
...
Conflicts:
src/Composer/Console/Application.php
10 years ago
Jordi Boggiano
70d9cad549
Merge remote-tracking branch 'pierredup/remove-command'
...
Conflicts:
src/Composer/Console/Application.php
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
David Neilsen
421c9453a4
Add clear cache command.
10 years ago
jakoch
8fd82784b2
disable these xdebug settings only, if xdebug is loaded
10 years ago
Robert Schönthal
9a87aa1aaf
added "home" command like the npm one, opens a package in your browser
11 years ago
Pierre du Plessis
5267622bba
Add remove command to remove a package from the list of current installed packages
11 years ago
Jordi Boggiano
5b96caf8ce
Add version release date to -V output, fixes #2267
11 years ago
Nils Adermann
15ac7be6f1
Fix disabling plugins which has to happen in the factory now
11 years ago
Jordi Boggiano
7311bc77e6
Add global command to be able to require/install/update global packages, fixes #1813 , fixes #55
11 years ago
Jordi Boggiano
b0e72f0910
Merge remote-tracking branch 'trompette/license-tools'
11 years ago
bronze1man
9a1f4e4458
fix some files mode bug 755->644
11 years ago
Benoît Merlet
4aa4af73c5
proof of concept regarding licenses
11 years ago
Jordi Boggiano
307c384294
Avoid throwing when checking for disk space, fixes #2039
11 years ago
Jordi Boggiano
eb0f35377e
Fix variable masking
11 years ago
Jordi Boggiano
3057949a2e
Output error if the disk is full, fixes #1952
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Pascal Borreli
390ac65466
Don't throw an update warning when using selfupdate alias
11 years ago
Fabien Potencier
91a2aa22fb
Add a run-script command
11 years ago