80 Commits (12b32707fa4c1fe862d809e175b8cfef7e3c0b4c)

Author SHA1 Message Date
Jordi Boggiano 6a7f8ac335
Merge branch '1.9' 5 years ago
Jordi Boggiano af86ca1fb3
Output a hint that maybe you are not in the right directory, fixes #8404 5 years ago
Jordi Boggiano eea4098f98
Merge branch '1.9' 5 years ago
Jordi Boggiano 4fc6479837
Fix require command to allow working on network mounts, fixes #8231 5 years ago
Nikita Konstantinov e3b6c67a44 Provide `--fixed` option for the `require` command, fixes #8303 5 years ago
Jordi Boggiano 1a391b572c
Prevent require command from allowing a package to require itself, fixes #8247 5 years ago
Jordi Boggiano 33759d02c4
Fix require command to allow working on network mounts, fixes #8231 5 years ago
Jordi Boggiano 17810b2621
Revert composer.json changes if update process throws, fixes #8062 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Michael Telgmann eee98018f7 Soften hard exit after revert of composer file 5 years ago
Jordi Boggiano b3cbfea36e Merge branch '1.7' 6 years ago
Jordi Boggiano acdf8f83f1 Bypass version check for explicitly versioned packages in require command when --no-update is given, fixes #7800 6 years ago
Pierre du Plessis d65e1c0112
Revert composer.json changes when require process stops 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 3e1b0c88d7 Merge branch '1.5' 7 years ago
Jordi Boggiano 00f6c0a44a Fix issue when requiring multiple packages once without and once with explicit version, fixes #6859 7 years ago
Brett Santore 449ecf098d clarify optionality of package in require command 7 years ago
Jordi Boggiano 0b3bc4ccb9 Merge branch '1.5' 7 years ago
Jordi Boggiano b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
7 years ago
Jordi Boggiano 9a99e86ebc Rename NonRoot to Transitive, refs #6674 7 years ago
Matthew Grasmick 776977f597 Fixing method name. 7 years ago
Matthew Grasmick 2e9e7ddd99 Updating docs. 7 years ago
Matthew Grasmick 3826e51caa Renaming some methods and props. 7 years ago
Matthew Grasmick 0e192ced69 Adding `update-with-all-dependencies` option. 7 years ago
Matthew Grasmick f29e98cdf9 Fixes #6661: Allow a given package and its dependencies (including siblings) to be updated. 7 years ago
Graham Daniels a9c0134378 make use of variable 7 years ago
Jordi Boggiano 586f4bac87 Make use of prefer-stable/minimum-stability when picking versions in require command, fixes #6219 7 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Fabien Potencier b823242ae3 Code simplification 8 years ago
Jesse Donat 4de11a955a Adds --no-suggest to RequireCommand 8 years ago
Sven Gerlach 28b88dd675 Added --no-scripts InputOption for RequireCommand 8 years ago
Mathias Brodala d9909993b2 Add --prefer-stable and --prefer-lowest to "require" command
Fixes #5314
8 years ago
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 8 years ago
Jordi Boggiano 823266407f Rollback changes in case the installer fails in remove/require commands, fixes #3464 8 years ago
Jordi Boggiano c9436438ff Add memoization to parseConstraints, saves some (6-7% here) RAM and marginal CPU time 8 years ago
Niels Keurentjes b1de2c52a3 Add --no-plugins option to remove/require 9 years ago
hanov.ruslan b298b9e8c6 Added sort-packages into config 9 years ago
Jordi Boggiano 8cd6598d8d Simplify php version fetching 9 years ago
Jordi Boggiano 507415e404 Make VersionSelector prefer stable by default and allow specifying a PHP version that must be matched, fixes #4318 9 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Jordi Boggiano 1e8d7255b7 Fix access to undefined var, refs #4422 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 71cb587611 Add autoloader cli options to `require` and `remove`
Update the `composer require` and `composer remove` commands to support
the `--optimize-autoloader` and `--classmap-authoritative` cli options
and associated configuration settings. All cli entry points that invoke
`Installer::run()` or `AutoloadGenerator::dump()` now have consistent
support for these autoloader optimization flags.
9 years ago
vlakoff d5ab072ec1 Optimize check for empty file 9 years ago
vlakoff 3a68534d20 Fix parser error if composer.json existing but empty 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Carsten Brandt 7e3f4805c0 Updated the documentation of the require command
It did not mention that it is possible to leave out the version constraint.
10 years ago
Andreas Möller 6ddd8d4ec7 Enhancement: Add sort-packages option which allows sorting of packages 10 years ago