Jordi Boggiano
bd6403a6be
Fix newly surfaced errors
2 years ago
Jordi Boggiano
6fdd9494ef
Implement config type parsing
2 years ago
Markus Staab
0cd02f6257
added phpstan ConfigReturnTypeExtension
2 years ago
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>
2 years ago
Jordi Boggiano
e918b6001b
Update phpstan
2 years ago
Jordi Boggiano
f435618cb3
Update phpstan baseline (2086, 104)
2 years ago
Jordi Boggiano
cac2d076b1
Fix corrupt caches for svn driver, fixes #10751
2 years ago
Jordi Boggiano
a0cc388952
Fix init command failing due to missing --ignore-platform-req[s] flags, fixes #10739
2 years ago
Jordi Boggiano
5a54e0eb7a
Use new fixed compact table format
2 years ago
Markus Staab
c36a9350bd
Fix TypeError in ConfigCommand ( #10753 )
...
* Fix TypeError in ConfigCommand
* Update ConfigCommand.php
2 years ago
Stephan
b1828ef653
ComposerRepository: add a warning if the packages key doesn't match the package name ( #10735 )
2 years ago
Jordi Boggiano
2d153f2371
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
20d11bfdfb
Display the stored channel when choosing a specific channel in self-update, fixes #10719
2 years ago
Stephan
1f6f4a786e
BitbucketDriver: remove unnecessary HTTP call to fetch the root identifier ( #10729 )
2 years ago
Jordi Boggiano
8029e036c4
Reverting release version changes
2 years ago
Jordi Boggiano
50c47b1f90
Release 2.3.5
2 years ago
Jordi Boggiano
61b07f93b4
Reverting release version changes
2 years ago
Jordi Boggiano
45e5fd12ab
Release 2.3.5
2 years ago
Jordi Boggiano
699956867d
Reverting release version changes
2 years ago
Jordi Boggiano
ba61e768b4
Release 2.2.12
2 years ago
Jordi Boggiano
615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104)
2 years ago
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
2 years ago
Jordi Boggiano
915b97fc39
Fix docs
2 years ago
Jordi Boggiano
d64e32c991
Merge remote-tracking branch 'ktomk/patch-validate-no-check-lock' into 2.2
2 years ago
Jordi Boggiano
0a8dfe6ef7
Clarify that autoloader-suffix should be a non-empty-string, fixes #10720 ( #10725 )
2 years ago
Jordi Boggiano
bb0edce095
Fixed lock file being used when lock:false is in config, refs #10715 ( #10726 )
2 years ago
Stephan
6c3958ec86
Add warning if host is accessed via verify_peer or verify_peer_name disabled ( #10722 )
2 years ago
Stephan
866d2a49b2
GitDriver: try to fetch default branch form remote using auth ( #10701 )
2 years ago
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
2 years ago
Jordi Boggiano
54063964a7
Reverting release version changes
2 years ago
Jordi Boggiano
b7a0413199
Release 2.3.4
2 years ago
Jordi Boggiano
35995c2d87
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
9bfd059420
Fix curl downloader to retry in case of DNS resolution failure, fixes #10716
2 years ago
Jordi Boggiano
849bc51ce7
Fix ProcessExecutor bootstrapping, fixes #10703
2 years ago
Jordi Boggiano
0efb557afc
Fix type errors in interactive package selection, fixes #10712
2 years ago
Michael Babker
58e135181d
Restore the ability to list the scripts in the 'run-script' command without providing a script ( #10710 )
2 years ago
Jordi Boggiano
eb36025d37
Fix type error in ArchiverInterface::supports(), fixes #10702
2 years ago
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
2 years ago
Pavel Djundik
c2598790f4
Fix run-script not setting Path correctly on Windows ( #10700 )
2 years ago
Jordi Boggiano
106149d102
Fix a bunch of type errors in SelfUpdateCommand, fixes #10696 , closes #10704
2 years ago
Jordi Boggiano
b03e9e414e
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
96f087a273
Remove unnecessary realpath which can fail, closes #10694
2 years ago
Jordi Boggiano
237eba7ff7
Reverting release version changes
2 years ago
Jordi Boggiano
b0024890b8
Release 2.3.3
2 years ago
Jordi Boggiano
dce63fdf4f
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
95e09d3a81
Reverting release version changes
2 years ago
Jordi Boggiano
2f5bcf0480
Release 2.2.11
2 years ago
Jordi Boggiano
38efb57ba2
Fix type issues
2 years ago
Jordi Boggiano
956d44c339
Add --2.2 flag to self-update for 2.2 LTS as well as EOL marker support
2 years ago
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
2 years ago