137 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Matthew Grasmick 776977f597 Fixing method name. 7 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Matthew Grasmick 3826e51caa Renaming some methods and props. 7 years ago
Matthew Grasmick f29e98cdf9 Fixes #6661: Allow a given package and its dependencies (including siblings) to be updated. 7 years ago
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 7 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Fabien Potencier 69740bbbee Refactor some common logic in Command classes 8 years ago
Jesse Donat b108ed9484 Adds --no-suggest to UpdateCommand 8 years ago
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 8 years ago
Jordi Boggiano 04a1085d47 Rename new flag to --root-reqs, refs #4938 8 years ago
Jordi Boggiano f039407420 Merge remote-tracking branch 'davidbarratt/issue/4729' 8 years ago
David Barratt df8675f6c3 Fix variable name. 8 years ago
David Barratt 93b246e681 Use single quotes insted of double and fix typo 8 years ago
David Barratt 63cb357a6e Clean up coding standards 8 years ago
David Barratt 28599b22f6 Add the --root-require option to the update command 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
aude 0a662a7e42 Remove unused import in UpdateCommand 9 years ago
Jordi Boggiano 633e9f91a1 Small tweaks for consistency, refs #3639 9 years ago
Jordi Boggiano 721acf3c93 Merge remote-tracking branch 'SofHad/update-interactive' 9 years ago
Jordi Boggiano 8913ac2fff Merge pull request #4362 from bd808/classmap-authoritative-cli
Add cli argument for classmap-authoritative
9 years ago
Olivier Laviale cc522c20bb Optimized this->getIO() 9 years ago
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
SofHad f9777bc70a Check if input is interactive 10 years ago
SofHad 1a82ecad91 Refactor the loop + add private method isInteractive 10 years ago
Jordi Boggiano b39e0a271f Merge pull request #3517 from WouterJ/patch-2
Added deprecated warning for the dev option
10 years ago
Wouter J 32218e97d1 Added deprecated warning for the dev option 10 years ago
SofHad dd9e208bc7 update the logic 10 years ago
SofHad 6fff09c82a Simplified questionnaire 10 years ago
SofHad aca619e130 Interactive interface with autocompletion 10 years ago
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
10 years ago
Jordi Boggiano 095dc61295 Rename runAutoloader to dumpAutoloader, refs #3453 10 years ago
Jordi Boggiano b8f4960f0d Merge remote-tracking branch 'mattsah/master' 10 years ago
Nicolas Grekas 98b254a3ec split update --prefer-lowest and --prefer-stable 10 years ago
Nicolas Grekas 4a0feb0189 add --prefer-lowest-stable to update command 10 years ago
Matthew J. Sahagian 55b2afe9ad Expose no autoloader option to update command 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano ec0463a400 Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320 10 years ago
alu b7fa302b90 add ignore-platform-package-requirements for update/install commands. 10 years ago
Maximilian Reichel 845ebdcfd4 alter command help to explain glob usage
hey there! using globs for whitelisting packages is (imo) a very useful feature worth being explained to the user ;)
10 years ago
Robert Boloc 5e5311a224 use optimize-autoloader config param in update and install commands 11 years ago
Jordi Boggiano e126c92525 Fix exit codes, cc @tyrael 11 years ago
Phillip Look 07a7284ffc Change dependency processing for update with whitelisted packages
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 11 years ago
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann b83535d2d9 Add back --no-custom-installers option with a deprecated warning 11 years ago
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 11 years ago
Jordi Boggiano 22c7d4119f install and create-project now default to dev mode (use --no-dev for production installs) 11 years ago
Jordi Boggiano f6b7f0e29a Add --lock argument to the update command to make this hack explicit and official 11 years ago
Jordi Boggiano 3b97e2e260 Add support for new verbosity levels, and initial debug output 11 years ago
Miklós Márton 72a4146383 Scratch 'prefer-source'; 'preferred-install' is the bee's knees 11 years ago
Miklós Márton 0d81ab7f46 Install/update now uses the new config variable 'prefer-source', fixes #553 11 years ago
Jordi Boggiano caf26ac37c Enable dev mode by default in update command, add a --no-dev flag, fixes #1005 11 years ago
Galymzhan f59181d7d5 add support for --no-progress, fixes #621 12 years ago
Jordi Boggiano f3bfeb3608 Rename --optimize-autoloaders to --optimize-autoloader since there is just one 12 years ago
Sebastian Krebs 578a216343 Add shorthand '-o'-option for '--optimize-autoloaders' 12 years ago
Sebastian Krebs 86518a22d7 Allow autoloader optimization right from 'update' too 12 years ago
Jordi Boggiano a9afa8bc1f Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
Conflicts:
	src/Composer/Installer.php
	src/Composer/Package/Locker.php
12 years ago
Jordi Boggiano 0689e24e83 Update command descriptions, fixes #1068 12 years ago
Mateusz Heleniak aa0ff14be5 added --prefer-dist option 12 years ago
Jordi Boggiano 4d84f62cd9 Improve consistency and formatting of verbose output for update/install 12 years ago
Johannes M. Schmitt f5ce2d577b fixed typo 12 years ago
Johannes M. Schmitt ec74e422f4 added no-custom-installers option to install/update command 12 years ago
Jordi Boggiano 6f576d4d4f Add update <package> example to docs of update 12 years ago
Jordi Boggiano c580cb8ba8 Add package argument to the update command, fixes #470, fixes #450 12 years ago
Jordi Boggiano 1095d84256 Rename --skip-scripts to --no-scripts 12 years ago
Paweł Jędrzejewski 129884ef72 rename skipScripts to runScripts. 12 years ago
Paweł Jędrzejewski 123dec52fb typos in command option description. 12 years ago
Paweł Jędrzejewski cc8b33117a add --skip-scripts option to install/update commands. 12 years ago
Jordi Boggiano 53191eb0fe Remove recommend, make suggest informational, add require-dev, fixes #78, fixes #510 12 years ago
Luis Cordova f76c65914c cleaned up some getApplication()->getIO() into getIO()s 12 years ago
Jordi Boggiano 6b453906f0 Merge pull request #432 from digitalkaoz/issue_428
fluent api for installer options
12 years ago
digitalkaoz a4f6314daa reverted command interfaces for installer refactoring 12 years ago
Beau Simensen 8fde0379ed Cleanup, not needed here. 12 years ago
digitalkaoz 673dd6312b fluent api for installer options 12 years ago
Beau Simensen 8a7d31706d Renamed Composer\Install to Composer\Installer 12 years ago
Beau Simensen 9404d8d593 Constructor, factory 12 years ago
Beau Simensen d1dea702c9 Moving install related code to Composer\Install 12 years ago
Beau Simensen 81d41fc442 Rename --dev to --prefer-source 13 years ago
Jordi Boggiano f761bf8d99 Simplify install() signature 13 years ago
Beau Simensen c94d867c07 Make install method self contained
Experimental: Updated `install()` method to accept its Composer
and input option dependencies as method arguments.
13 years ago
Hugo Hamon 747abf6843 [Command] removed unused local variable $composer in UpdateCommand::execute() method. 13 years ago
jsor e512e16e35 Rename flags after feedback in #132 13 years ago
jsor 9af21fd461 Install recommended deps by default and introduce flags for including/excluding required/recommended/suggested deps 13 years ago
Jordi Boggiano f2662b193d Add --dry-run option and list all operations on --verbose 13 years ago
Jordi Boggiano 1feebcafe2 Add update command, fixes #28 13 years ago