1
0
Fork 0
Commit Graph

335 Commits (e7016b00a9d7f5be76655e82c6968fc289fb9768)

Author SHA1 Message Date
Luke Stewart 9555ae13a6
Clarifies COMPOSER_NO_DEV documentation. (#11447)
COMPOSER_NO_DEV applies to composer require as well.
2023-05-02 22:44:29 +02:00
Alexander Dmitryuk d1ab1255b5
Add rm alias to composer remove command (#11367)
* rm alias

* review
2023-03-10 22:27:20 +01:00
PrinsFrank 7290f5b437
Document recovering from invalid merges on composer.lock and composer.json (#11154) 2022-12-21 10:16:02 +01:00
Gaëtan Faugère 52f91b2dd9
Add test and documentation regarding audit command when no packages are required (#11092) 2022-10-13 10:53:26 +02:00
Jellyfrog 8ed7c46179
Add download-only mode (#11041)
composer install --download-only to prime the cache/download archives but not do any actual of the actual installing

Fixes #11035

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-12 13:56:35 +02:00
Jordi Boggiano 7df744531b
Merge branch '2.4' 2022-10-12 11:27:30 +02:00
Kuba Werłos f8435b6d10
Unify command names in the docs (#11071) 2022-10-12 10:55:57 +02:00
Jordi Boggiano 436a112651
Clarify temporary constraint usages and throw if an unresolvable constraint is provided 2022-10-11 13:34:45 +02:00
Kuba Werłos e870206c4a
Add "--dry-run" to bump command (#11047) 2022-09-19 08:45:49 +02:00
Jeffrey Cafferata ceec6ff8e2
Documentation code syntax highlighting (#11011)
* Add newline at end of file.

* Create a uniformat in the code syntax highlighting by using the main syntax `shell` instead of the alias `bash`/`sh`.

* Added (of corrected) the missing code syntax highlighting.

* Split the shell commands from the text outputs.

* Fix JSON samples formatting.

* Checked the commands and updated the text output.
2022-08-20 12:23:00 +02:00
Jeffrey Cafferata 9b6d27f810
Environment variable for `--no-audit`. (#10998)
Fixes #10997
2022-08-17 11:44:18 +02:00
Jellyfrog 058beef20a
CheckPlatformReqs: Add json format output (#10979)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-08-16 14:19:53 +02:00
Jordi Boggiano 41a13fa0a1
Merge branch '2.2' 2022-08-16 11:50:56 +02:00
Christopher Charbonneau Wells 2152b20a94
Correct prohibits/why-not example command (#10994)
Running the example command `composer prohibits php:8` returns an error, "Not enough arguments (missing: "version")."
2022-08-16 11:45:35 +02:00
chx 2fd4275e62
Update 03-cli.md (#10995)
Crosslink COMPOSER_NO_DEV
2022-08-16 11:28:46 +02:00
Barry vd. Heuvel a3f7c31ea7
Add json format to Audit command (#10965) 2022-07-25 13:13:32 +02:00
Michael Telgmann 4aa3258d19
Improve documentation about the new bash completion feature (#10962) 2022-07-22 10:16:22 +02:00
Jordi Boggiano e43cae6231
Add COMPOSER_PREFER_STABLE and COMPOSER_PREFER_LOWEST env vars, fixes #10919 2022-07-20 22:29:27 +02:00
Joel Pittet 4182223762
Remove -p from --patch-only, --platform took it (#10956) 2022-07-20 21:06:14 +02:00
Alexander Dmitryuk 8c488b9b08
Add "r" alias for require (#10953)
Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
2022-07-18 13:04:49 +02:00
Jordi Boggiano 0196690ab3
Disable automatic audit at the end of install step to keep things fast, switch --no-audit to an opt-in --audit flag 2022-06-24 16:54:30 +02:00
Nils Adermann 92ff8e5bc6
Audit command doc improvements (#10893) 2022-06-23 12:59:45 +02:00
Guy Sartorelli d93239ddd9
Add audit command to check for security issues (#10798)
Closes #10329
2022-06-22 15:15:01 +02:00
Jordi Boggiano e8530699c3
Add --strict-psr flag to dump-autoload to fail the process if psr violations were detected, fixes #10241 (#10886) 2022-06-20 13:57:20 +02:00
Jordi Boggiano 6186d0c1d5
Add --gc flag to cache-cache command and ability to GC vcs/repo caches, fixes #7834 (#10826) 2022-06-09 11:46:00 +02:00
Jordi Boggiano 0fd845eeaf
Add --major-only flag to outdated/show commands to restrict the list to packages with major updates available, fixes #10439 (#10827) 2022-06-09 11:45:32 +02:00
Jordi Boggiano 70f2dd6edd
Add bump command to bump requirements to the currently installed version, fixes #7273 (#10829) 2022-06-09 11:43:59 +02:00
Jordi Boggiano d99e059aa3
Add bash completions to docs 2022-05-13 13:58:02 +02:00
Carlos Buenosvinos bc1fd3c8b7
Move navigation arrows to the bottom (#10769)
Probably by merging other PR the arrows were not at the bottom.
2022-05-12 10:24:53 +02:00
Yehuda Katz c3a41b944e
Allow global ignore-platform-req (#10616) 2022-03-15 15:29:25 +01:00
Houssem Zitoun 3ae111140f
Improve documentation (#10477)
Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com>
2022-01-21 17:39:57 +01:00
Jordi Boggiano 8f1b3d21db
Add --no-scripts to all commands and disable plugins/scripts when running self-update (#10371)
* Add --no-scripts as global parameter available to all commands, and handle it by default when creating a Composer instance from Command::getComposer

* Disable scripts/plugins for self-update command, fixes #10351
2021-12-20 14:23:35 +01:00
gnito-org 239638e687
Fix minor spelling & grammar issues in docs (#10370) 2021-12-19 15:15:21 +01:00
Jordi Boggiano d274bf0313
Fix PHP x spacing 2021-12-19 12:38:45 +01:00
Jordi Boggiano cc32ebcabd
Search improvements (#10336)
* Search performance improvements, add SEARCH_VENDOR type, fixes #10326, fixes #10324, fixes #10325

* Add extra optimization path for autocompletion of ^foo/* whereas the vendor is fully known, refs #10320
2021-12-08 11:45:18 +01:00
Jordi Boggiano a4a89f1508
Update archive format docs, refs #10087 2021-12-07 15:56:35 +01:00
Henk Poley 74951b5377
Document archive --format=tar.gz (#10087) 2021-12-07 15:53:07 +01:00
Jordi Boggiano e30a6b0b9b
Add support for ignoring the upper bound of platform requirements using "name+" notation 2021-12-07 13:24:08 +01:00
Nils Adermann 09ffabbf6e Merge branch '2.1' into main
* 2.1:
  Fixed documentation for cache-dir location in case of xdg
2021-12-07 11:21:43 +01:00
Alex Plekhanov 2474d6f526
Fixed documentation for cache-dir location in case of xdg 2021-12-07 01:54:03 +01:00
Yehuda Katz ebf4cbdc69
Add COMPOSER_NO_DEV environment variable to set the --no-dev flag (#10262) 2021-11-24 11:32:19 +01:00
Rafael Dohms 78583ab678
Support ignore-platform-reqs in `composer outdated` (#10293)
This allows users to also find libraries that require major platform
changes to unlock updates.
It addresses #10291.
2021-11-23 17:16:58 +01:00
Martin Herndl 7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 (#10083) 2021-11-11 15:56:38 +01:00
Stephan 44c5b6cde6
Config: add source option for command to show where a config value is loaded from (#10129) 2021-11-11 15:17:58 +01:00
Wouter de Jong bb128c465c Capitalize Composer in the docs 2021-10-25 13:11:56 +02:00
Wouter de Jong 6aec6ecbfa Use `composer.phar` consistently in the examples 2021-10-25 13:11:41 +02:00
immeëmosol bced747ed3
Note that CMPSR_HM/config.json is partially merged (#10152) 2021-10-13 22:45:15 +02:00
Jordi Boggiano 6e851edd70
Add `--dev` to `dump-autoload` command to allow force-dumping dev autoload rules even if dev requirements are not present, fixes #9946 2021-06-07 15:48:37 +02:00
Nils Adermann 1dc39bda75
Merge pull request #9915 from Seldaek/reinstall
Add a reinstall command
2021-05-31 17:22:32 +02:00
Jordi Boggiano 387e504437
Undeprecated dump-autoload --no-dev even though it is mostly not needed anymore, refs #9714 2021-05-25 22:39:55 +02:00