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
89540c5690
Support bg colors and more clearing values in html output formatter
9 years ago
Jordi Boggiano
29dbc3835f
Fix html output formatter to work with latest symfony console
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
Edward Hartwell Goose
bcb5e479b7
Fix reference to getIO as per #3777
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Nimit Kalra
b2b9688c92
Conform with Symfony Coding Standards
...
According to Symfony Coding Standards, a single space must be added around binary operators excluding the concatenation operator.
"Add a single space around binary operators (==, &&, ...), with the exception of the concatenation (.) operator" (http://symfony.com/doc/current/contributing/code/standards.html )
10 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