63 Commits (84f5a1a7e8293978a718663dfac399e83f093e9e)

Author SHA1 Message Date
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
Jordi Boggiano d249d0c121 Reset composer to load the new requirements, fixes #3511 10 years ago
Nils Adermann 859c8f5bb3 Use the repositories configured in composer.json for the require command 10 years ago
Olivier Laurendeau b6b3cf3a49 Add ignore-platform-reqs option to require command 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 10 years ago
Nils Adermann 1e4df0690a Shorter boolean conversion 10 years ago
Nils Adermann e93eeca13a Merge pull request #2894 from naderman/update-no-dev
Add an --update-no-dev option to the require command
10 years ago
Nils Adermann a2b227740a Add an --update-no-dev option to the require command 10 years ago
Nils Adermann 465f0e3761 When requiring a package remove it from require-dev and vice versa 10 years ago
Steve Buzonas 3ad47b5d2c add allowing require to update dep chain, fixes composer/composer#2668 11 years ago
Jordi Boggiano e126c92525 Fix exit codes, cc @tyrael 11 years ago
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 11 years ago
Jordi Boggiano 51ea1f03f9 Validate constraints in require command, fixes #2197 11 years ago
John Long 4d6910ece6 Remove unused variable $dialog from RequireCommand::configure
I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
11 years ago
Jordi Boggiano 7ae0dd2a2a Always install dev requirements when using the require command, fixes #1676 11 years ago
Jordi Boggiano be861f090a Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646 11 years ago
Jordi Boggiano dd372e7635 Add explicit return 12 years ago