Jordi Boggiano
4707350011
Upgrade phpunit configs
2022-04-29 10:53:56 +02:00
Jordi Boggiano
06ef742a66
Update phpstan, fix InstalledVersions key ordering to be more logical/consistent
2022-04-29 10:30:04 +02:00
Jordi Boggiano
6b7ae1e05a
Merge pull request #10635 from staabm/phpstan-config
...
added phpstan ConfigReturnTypeExtension
2022-04-29 09:05:16 +02:00
Jordi Boggiano
474d0dc82d
Extract phpstan extension config into its own file
2022-04-29 09:04:02 +02:00
Stephan Vock
d40c3a89c0
GitLab: add warning in case GitLab authentication is misconfigured
2022-04-28 21:37:45 +01:00
Stephan Vock
89721ab322
GitLab: detect invalid token setup and attempt to automatically resolve the issue for the user
2022-04-28 21:17:05 +01:00
Stephan Vock
3b4a3d63bf
GitLab: prevent invalid loop during composer install with invalid credentials
2022-04-28 21:16:16 +01:00
Jordi Boggiano
732bdbde4b
Fix missing validation of local auth file before loading it
2022-04-28 21:21:20 +02:00
Jordi Boggiano
bd6403a6be
Fix newly surfaced errors
2022-04-28 21:20:40 +02:00
Jordi Boggiano
6fdd9494ef
Implement config type parsing
2022-04-28 15:13:08 +02:00
Markus Staab
532166a892
ws
2022-04-28 13:23:05 +02:00
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