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
Jordi Boggiano
aad2f86edf
Merge branch '2.2' into main
2022-03-15 22:20:21 +01:00
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
2022-03-15 22:11:19 +01:00
Yehuda Katz
c3a41b944e
Allow global ignore-platform-req ( #10616 )
2022-03-15 15:29:25 +01:00
Jordi Boggiano
5122bd42fb
Merge branch '2.2' into main
2022-03-15 13:11:59 +01:00
Jordi Boggiano
bf235eba56
Add note about plugin autoloading, refs #10587
2022-03-15 12:24:35 +01:00
Jordi Boggiano
91a0a4c7d8
Also update requirements in docs
2022-02-23 14:33:14 +01:00
kenedy akena
61ed47baba
Update 04-schema.md ( #10554 )
...
Fix grammar to make the sentence grammatically correct
2022-02-21 13:33:20 +01:00
Jordi Boggiano
868b75d5e8
Fix broken links, refs #10542
2022-02-19 12:52:00 +01:00
Sean McBride
7328f5e5db
Renamed the only file with a quote character to remove it ( #10542 )
...
The quote character can be problematic and as this is the only one, just removing it makes the codebase more compatible with other systems that forbid the character as a matter of policy.
2022-02-19 12:49:55 +01:00
Jordi Boggiano
40de07569d
Merge branch '2.2' into main
2022-02-16 16:05:05 +01:00
Jordi Boggiano
acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event
2022-02-16 14:58:24 +01:00
Jordi Boggiano
4376153912
Improve untrusted package install docs
2022-02-16 14:50:38 +01:00
Jordi Boggiano
5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors ( #10476 )
...
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2022-02-16 13:24:57 +01:00