1
0
Fork 0
Commit Graph

1501 Commits (e1587cf698f70492bd9f0a8a97e14650a354a8a6)

Author SHA1 Message Date
Fábio 25f4854ad7
Fix typo 03-cli.md (#11587) 2023-08-30 18:03:12 +02:00
Fábio 388485b98a
Update 05-repositories.md (#11603) 2023-08-30 11:46:40 +02:00
Nate Devereux c5baa37cdf
Update Silverstripe casing (#11565) 2023-08-03 11:28:29 +02:00
Michael Voříšek f752a9e358
Unify wording in docs (#11545) 2023-07-21 14:47:54 +02:00
Jordi Boggiano 0cdabcc4ee
Add audit.ignored config setting to ignore security advisories by id or CVE id, fixes #11298 (#11556) 2023-07-21 14:36:38 +02:00
Pol Dellaiera 69746f699f
docs: add binary dependencies (#11505) 2023-07-01 14:20:19 +02:00
Martin Adler d05f4791cd
Fix outdated package name regex pattern in documentation (#11523) 2023-07-01 14:04:02 +02:00
Jordi Boggiano 6b146f5195
Update plugins testing info
Refs https://github.com/composer/composer/issues/6485#issuecomment-1525807064
2023-06-21 13:54:24 +02:00
Jordi Boggiano 24361ae654
Merge branch '2.5' 2023-05-23 16:25:24 +02:00
James Ryven Valeii 6111ff5cda
Update 05-repositories.md (#11459)
The verb phrase is 'internally' is an adverb describing the sort of seeing that Composer is doing. IE: Composer internally sees. The sentence _is_ much clearer when the adverb is moved earlier in the sentence, but this mutation necessitates a comma separating the adverb from the noun.
2023-05-18 23:11:15 +02:00
Jordi Boggiano 3a48e39375
Return null for install path for metapackages instead of an empty path which then resolves to the root package's path (#11455)
Fixes #11389
2023-05-14 13:46:46 +02:00
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
Christian Weiske c23beac9c5
Fix markdown: Move headline out of quote (#11363)
This was caused by
> Add note about issue with caret operator in PowerShell (#11351)

Related: #11288, #11351
2023-03-17 14:12:52 +01:00
Ben Ramsey cd137ee29b
Add security to support options (#11271)
This support option allows projects to specify a URL to the project's
vulnerability disclosure policy (VDP).
2023-03-10 22:28:10 +01:00
Alexander Dmitryuk d1ab1255b5
Add rm alias to composer remove command (#11367)
* rm alias

* review
2023-03-10 22:27:20 +01:00
Jordi Boggiano acc1869742
Clarify readme docs 2023-03-10 17:51:56 +01:00
Willem de Groot de3698f535
Clarify possible credential storage locations (#11358) 2023-03-10 14:13:56 +01:00
Marc Würth 1f164244ab
Add note about issue with caret operator in PowerShell (#11351)
Refers to #11288
2023-02-27 13:34:21 +01:00
Nicolas Grekas 4b94e55b03
Add extra.plugin-optional to auto-disable plugins in non-interactive mode (#11315) 2023-02-10 13:19:41 +01:00
PrinsFrank 7290f5b437
Document recovering from invalid merges on composer.lock and composer.json (#11154) 2022-12-21 10:16:02 +01:00
Tom 5f1ec99e4a
Update how-to-install-untrusted-packages-safely.md (#11187) 2022-11-16 13:42:58 +01:00
Buk Bukowski b44e39cc8c
Update 05-repositories.md (#11180)
* Update 05-repositories.md

consistency with previous example

* Update 05-repositories.md
2022-11-13 15:27:23 +01:00
Grzegorz Korba 7dfe4a38c8
Use binary-only images for installing Composer (#11170)
Document optimal way of copying Composer binary using `COPY --from` in Dockerfiles by using binary-only image.
2022-11-03 21:50:22 +01:00
Jordi Boggiano 6e55cb36d8
Add support for adding Command classes as scripts, (#11151)
* Add support for adding Command classes as scripts, fixes #11134

* Allow all options to be forwarded and allow using references to other scripts with args

* Fix build

* Add more checks

* Ensure exceptions are not swallowed, and remove naming restriction by using a single-command app

* Update docs

* Add tests, fix issue merging params when combining nested scripts and CLI params
2022-10-28 14:24:55 +02:00
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