Jordi Boggiano
bc29ffa500
Add network timeout issue to troubleshooting docs, fixes #11036
2022-10-27 16:58:21 +02:00
Jordi Boggiano
96e88cf84d
Merge branch '2.4'
2022-10-13 16:54:55 +02:00
Jordi Boggiano
4faa8c03ce
Update docs about root usage, refs #11093
2022-10-13 16:53:33 +02:00
Elias Häußler
1c669428da
Update link text to runtime page in documentation ( #11115 )
2022-10-13 15:57:19 +02: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
Philipp Bammes
632f63a9a3
Fix typo in "WordPress" ( #11082 )
2022-10-12 17:02: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
Jeff Widman
f1df7de727
Replace deprecated `PSR-2` with `PSR-12` ( #11058 )
...
At the top of https://www.php-fig.org/psr/psr-2/ , it says:
> Deprecated - As of 2019-08-10 PSR-2 has been marked as deprecated. PSR-12 is now recommended as an alternative.
Looking at the PSR-12 docs, the summary of changes implies that they mostly took PSR-2 and extended it to clarify new language features.
2022-09-14 12:51:36 +02:00
Christophe Coevoet
740de14a39
Fix the heading levels for the doc about composer repositories ( #11030 )
2022-08-30 14:10:28 +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
Ralf Lang
20b3e3e79c
Fix docs for issue composer/satis#656 ( #11005 )
2022-08-17 23:24:40 +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
e59812c439
Add prompt suggesting using --dev when require command is used with dev packages ( #10960 )
...
* Add prompt suggesting using --dev when require command is used with packages which appear to be dev, fixes #10939
2022-07-21 14:40:21 +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
31c7474cde
Clarify that install path is absolute but not realpath'd, fixes #10945
2022-07-17 21:59:18 +02:00
Jordi Boggiano
70b78137a9
Merge branch '2.3'
2022-07-05 16:54:43 +02:00
Jordi Boggiano
3764073b43
Merge branch '2.2' into 2.3
2022-07-05 16:08:35 +02:00
Damien Tournoud
92e1c26c3b
Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states ( #10920 )
...
* Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states, fixes #10912
* Also allow BC mode for lock files older than 2.2.0 to keep plugins working there
* Allow locker to be accessed by plugin manager at init time
* Update allow-plugins docs
Co-authored-by: Damien Tournoud <damien@platform.sh>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-07-05 15:44:30 +02:00
Jordi Boggiano
796d2bae08
Merge branch '2.3'
2022-07-01 12:15:30 +02:00
Jordi Boggiano
618fcb800b
Merge branch '2.2' into 2.3
2022-07-01 12:05:18 +02:00
Jordi Boggiano
ac7a6e3326
Update docs, refs #10909
2022-07-01 11:35:50 +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
immeëmosol
bbcadcb35e
Hint at improved merge conflict resolving ( #10840 )
2022-06-22 13:47:15 +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
e9b44b4499
Document files autoloading order, fixes #10509
2022-06-07 15:27:54 +02:00
Carsten Brandt
7cf3b01631
Added documentation about HTTP Bearer Auth ( #10780 )
...
Bearer Auth has been added here:
- 548505f103
- f964b83018
- #8671
- #8642
but it was not documented in this file.
2022-06-07 14:04:04 +02:00
Jordi Boggiano
367012513d
Merge branch '2.3' into main
2022-06-06 16:49:52 +02:00
Markus Staab
ab9e18027e
plugins: mention static analysis support ( #10812 )
2022-06-06 16:42:24 +02:00
Pen y Fan
0fad6a07a1
Add Docker information ( #9910 )
2022-06-06 10:18:22 +02:00
Jordi Boggiano
e2645a13b6
Merge branch '2.3' into main
2022-06-01 22:00:44 +02:00
Jordi Boggiano
ef06702e45
Merge pull request #10320 from GromNaN/command-completion
...
Add completion to commands options and arguments
2022-06-01 21:59:39 +02:00
Jordi Boggiano
e1ab520d64
Merge branch '2.2' into 2.3
2022-06-01 21:39:31 +02:00
Jan Tojnar
955194f896
docs: Fix inconsist semver operator suggestion ( #10810 )
...
Using caret over tilde is better since it behaves the same as in npm:
https://jubianchi.github.io/semver-check/#/constraint/~3.0
But when this change was introduced in https://github.com/composer/composer/pull/5396 ,
it was not complete.
2022-05-31 13:24:38 +02:00