1
0
Fork 0
Commit Graph

12414 Commits (1dd63ba7acf5541c8f32a5b8ab9f3c092796ff06)

Author SHA1 Message Date
Markus Staab 0cd02f6257
added phpstan ConfigReturnTypeExtension 2022-04-28 13:22:56 +02:00
Liviu-Ionut Iosif b8b84c2c35
#10738 - Allow config unset for unrecognized keys (#10756)
* Allow config unset for unrecognized keys

* Move config key removal after all other checks

Because key removal is done without matching the key in the recognized composer.json schema, leaving the key removal before other check would have stopped the execution there without reaching the specific config add (eg. composer config repo [--unset])

Co-authored-by: Liviu Iosif <liviu.iosif@code932.com>
2022-04-28 09:03:46 +02:00
Jordi Boggiano e918b6001b
Update phpstan 2022-04-27 22:00:04 +02:00
Jordi Boggiano f435618cb3
Update phpstan baseline (2086, 104) 2022-04-27 21:54:54 +02:00
Jordi Boggiano cac2d076b1
Fix corrupt caches for svn driver, fixes #10751 2022-04-27 21:35:55 +02:00
Jordi Boggiano a0cc388952
Fix init command failing due to missing --ignore-platform-req[s] flags, fixes #10739 2022-04-27 21:23:13 +02:00
Jordi Boggiano 5a54e0eb7a
Use new fixed compact table format 2022-04-27 21:18:32 +02:00
Markus Staab c36a9350bd
Fix TypeError in ConfigCommand (#10753)
* Fix TypeError in ConfigCommand

* Update ConfigCommand.php
2022-04-27 21:10:06 +02:00
Marcus Förster f728b0b007
clarify `config.platform` short notation (#10741) 2022-04-26 16:51:30 +02:00
Stephan b1828ef653
ComposerRepository: add a warning if the packages key doesn't match the package name (#10735) 2022-04-14 16:53:18 +02:00
Jordi Boggiano 2d153f2371
Merge branch '2.2' into main 2022-04-14 16:26:21 +02:00
Jordi Boggiano 20d11bfdfb
Display the stored channel when choosing a specific channel in self-update, fixes #10719 2022-04-14 11:25:44 +02:00
Stephan 1f6f4a786e
BitbucketDriver: remove unnecessary HTTP call to fetch the root identifier (#10729) 2022-04-14 10:53:26 +02:00
Stephan 78d5050832
Docs: clarify caret contraint with ^0.0.x constraint (#10728) 2022-04-14 10:47:28 +02:00
Jordi Boggiano 4cb0382aa8
Merge branch '2.2' into main 2022-04-13 17:30:35 +02:00
Jordi Boggiano b0b364af19
E_TOO_MANY_BRANCHES 2022-04-13 17:24:39 +02:00
Jordi Boggiano d7ad2093f6
Merge branch '2.2' into main 2022-04-13 17:10:07 +02:00
Jordi Boggiano 9a62ef7ff2
Add missing return type 2022-04-13 17:07:33 +02:00
Jordi Boggiano 8029e036c4
Reverting release version changes 2022-04-13 16:43:01 +02:00
Jordi Boggiano 50c47b1f90
Release 2.3.5 2022-04-13 16:43:00 +02:00
Jordi Boggiano 61b07f93b4
Reverting release version changes 2022-04-13 16:42:41 +02:00
Jordi Boggiano 45e5fd12ab
Release 2.3.5 2022-04-13 16:42:40 +02:00
Jordi Boggiano 699956867d
Reverting release version changes 2022-04-13 16:42:26 +02:00
Jordi Boggiano ba61e768b4
Release 2.2.12 2022-04-13 16:42:25 +02:00
Jordi Boggiano a1f9baa118
Fix 5.3/5.4 builds 2022-04-13 16:42:12 +02:00
Jordi Boggiano 65f4dde32a
Update changelog 2022-04-13 16:21:50 +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 2ba8758b30
Update changelog 2022-04-13 16:00:31 +02:00
Stephan 2c40c53637
Merge pull request from GHSA-x7cr-6qr6-2hh6
* GitDriver: filter branch names starting with a - character

* GitDriver: getFileContent prevent identifiers starting with a -

* HgDriver: prevent invalid identifiers and prevent file from running commands

* HgDriver: filter branches starting with a - character
2022-04-13 15:54:58 +02:00
Jordi Boggiano 915b97fc39
Fix docs 2022-04-13 15:22:18 +02:00
Jordi Boggiano d64e32c991
Merge remote-tracking branch 'ktomk/patch-validate-no-check-lock' into 2.2 2022-04-13 15:21:36 +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
Stephan a5e35f911b
GitDriver: fix test for remote identifier on windows (#10727) 2022-04-13 14:08:24 +02:00
Stephan 6c3958ec86
Add warning if host is accessed via verify_peer or verify_peer_name disabled (#10722) 2022-04-13 12:21:08 +02:00
Jordi Boggiano d916ac1af3
Fix docs for path repo reference option, closes #10718 2022-04-13 12:16:21 +02:00
Stephan 866d2a49b2
GitDriver: try to fetch default branch form remote using auth (#10701) 2022-04-13 12:11:25 +02:00
Tom Klingenberg 939c998baf validate lock-file if configured (#10715, --check-lock)
if no lock-file is configured, turn lock file validation errors into
warnings (implicit --no-check-lock) unless those are explicitly promoted
via the new --check-lock option.

- `{"config": {"lock": false}}` is an implicit `--no-check-lock` for
  composer validate.
- `--check-lock` overrides an (implicit or explicit) `--no-check-lock`,
  always.

issue: #10715
2022-04-12 22:30:41 +02:00
Jordi Boggiano 54063964a7
Reverting release version changes 2022-04-07 21:16:43 +02:00
Jordi Boggiano b7a0413199
Release 2.3.4 2022-04-07 21:16:35 +02:00
Jordi Boggiano 49867f0875
Update phpstan 2022-04-07 16:18:25 +02:00
Jordi Boggiano 63df77b136
Update changelog 2022-04-07 16:12:35 +02:00
Jordi Boggiano 499fc29e79
Update baseline (2086, 104) 2022-04-07 16:12:25 +02:00
Jordi Boggiano 35995c2d87
Merge branch '2.2' into main 2022-04-07 15:56:32 +02:00
Jordi Boggiano 9bfd059420
Fix curl downloader to retry in case of DNS resolution failure, fixes #10716 2022-04-07 15:56:23 +02:00
Jordi Boggiano 849bc51ce7
Fix ProcessExecutor bootstrapping, fixes #10703 2022-04-07 15:19:22 +02:00
Jordi Boggiano 0efb557afc
Fix type errors in interactive package selection, fixes #10712 2022-04-07 14:05:05 +02:00
Michael Babker 58e135181d
Restore the ability to list the scripts in the 'run-script' command without providing a script (#10710) 2022-04-07 13:17:28 +02:00
Jordi Boggiano eb36025d37
Fix type error in ArchiverInterface::supports(), fixes #10702 2022-04-06 22:23:47 +02:00
Jordi Boggiano e0cce2bfb0
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714, refs #10709 2022-04-06 22:07:16 +02:00