1
0
Fork 0
Commit Graph

1467 Commits (923ff98ea06ee9d9d886ef8de052bf4c9ce8cc26)

Author SHA1 Message Date
Kuba Werłos e5b8f2d838
Add "--dry-run" to bump command (#11047) 2022-10-25 15:03:36 +02:00
Jordi Boggiano 4faa8c03ce
Update docs about root usage, refs #11093 2022-10-13 16:53:33 +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
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
Jordi Boggiano 176d25851d
Fix docs quoting, fixes #10778 2022-05-13 15:55:51 +02:00
James Watts 1c6ba6af47
Minor rewording from autoloader to bin directory (#10776) 2022-05-13 14:37:32 +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
Marcus Förster f728b0b007
clarify `config.platform` short notation (#10741) 2022-04-26 16:51:30 +02:00
Stephan 78d5050832
Docs: clarify caret contraint with ^0.0.x constraint (#10728) 2022-04-14 10:47:28 +02:00
Jordi Boggiano 615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104) 2022-04-13 16:18:25 +02:00
Jordi Boggiano 0a8dfe6ef7
Clarify that autoloader-suffix should be a non-empty-string, fixes #10720 (#10725) 2022-04-13 15:17:07 +02:00
Jordi Boggiano bb0edce095
Fixed lock file being used when lock:false is in config, refs #10715 (#10726) 2022-04-13 14:52:13 +02:00
Jordi Boggiano d916ac1af3
Fix docs for path repo reference option, closes #10718 2022-04-13 12:16:21 +02:00