47 Commits (9c78eda7db409125145aa2b94944c7fca55aeae1)

Author SHA1 Message Date
Jordi Boggiano 29ec10d95c
Fix output formatting 4 years ago
Jordi Boggiano c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues 4 years ago
Jordi Boggiano e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861 4 years ago
Jordi Boggiano 1d2df5ef55
Add output to remove/require command to highlight the fact it is running an update command, refs #8910 4 years ago
PirxDanford 3a7ea25289
Introduce --no-install option for the update, require and remove commands
Closes #8669, fixes #8551

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano 11765ddfea
Add --unused flag to remove command, fixes #8283 4 years ago
Jordi Boggiano 736af4cb58
Add with-all-dependencies and update-with-all-dependencies args to remove command 4 years ago
Nils Adermann 9fb09049ff Rename and document constants for partial update behavior 4 years ago
Nils Adermann 392d0abd21 Rename test files and standardize on allow list rather than whitelist 4 years ago
Jordi Boggiano d14d411fa4
Add --dry-run to require and remove commands, fixes #7793 4 years ago
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Jordi Boggiano 549ccd8f79 Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901 6 years ago
Jordi Boggiano 66d84f60c6 Fix pattern matching for remove wildcard, refs #7715 6 years ago
David Manners a1ab75a703 composer/composer#7159: make the remove command to a regex lookup on package name
- if you have multiple vendor modules installed you should be able to do composer remove vendor/* to remove all
 - update remove and also remove from alternative type to also do a preg_grep for what the user has inputed
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 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 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 890baa2f89 Force remove command to have at least one package name passed, refs #6338 7 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 8 years ago
Jordi Boggiano 01885777f3 Fix case insensitivity of remove command, fixes #5973 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Jordi Boggiano f23cdf59e3 Make remove command case insensitive, fixes #5754 8 years ago
Sven Gerlach 4fd35baf1f Added --no-scripts InputOption for RemoveCommand 8 years ago
Jordi Boggiano c47b302a3c Reset composer before loading the modified json, fixes #5346 8 years ago
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Barry vd. Heuvel eae6d8017a Make remove with dependencies default 8 years ago
Jordi Boggiano 823266407f Rollback changes in case the installer fails in remove/require commands, fixes #3464 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Niels Keurentjes b1de2c52a3 Add --no-plugins option to remove/require 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
Rob Bast e810a7913e Space after ? (so it doesnt glue answer to ?) 9 years ago
Rob Bast 3dae4cd517 Switch to QuestionHelper 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Rob 27d211096c chmod 644 src/Composer/Command/RemoveCommand.php 10 years ago
Olivier Laurendeau 6784570691 Add ignore-platform-reqs option to remove command 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Christophe Coevoet 4685b4bf49 Fixed the resetting of the json file on removal failures
Closes #3329
10 years ago
Jordi Boggiano e3f32a79f3 Finalize and bring up to speed the remove command, refs #2479 10 years ago
Pierre du Plessis 5267622bba Add remove command to remove a package from the list of current installed packages 11 years ago