7634 Commits (main)

Author SHA1 Message Date
Hugo Thunnissen 3d0b46c8b0 Refact "/autoload.php" literal to constant
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen f9d2feb9cb Fix 3 sonarqube bugs
continuous-integration/drone/push Build is passing Details
2 years ago
Nicolas Grekas a812853fe4 Inline PackageEvents constants 2 years ago
Jordi Boggiano f1f013edde
Downgrade naming errors to warnings again in package links to avoid BC issues with tags on packagist 2 years ago
Jordi Boggiano da322643d6
Fix retry to add a small pause between retries after the second one, refs #10716 2 years ago
Jordi Boggiano 1f75af6f89
Move comment where it belongs 2 years ago
Jordi Boggiano 928e19e637
Merge branch '2.2' into main 2 years ago
Jordi Boggiano d5a8d2be22
Enable phpstan bleedingEdge 2 years ago
Jordi Boggiano 06ef742a66
Update phpstan, fix InstalledVersions key ordering to be more logical/consistent 2 years ago
Jordi Boggiano 6b7ae1e05a
Merge pull request #10635 from staabm/phpstan-config
added phpstan ConfigReturnTypeExtension
2 years ago
Stephan Vock 89721ab322
GitLab: detect invalid token setup and attempt to automatically resolve the issue for the user 2 years ago
Stephan Vock 3b4a3d63bf
GitLab: prevent invalid loop during composer install with invalid credentials 2 years ago
Jordi Boggiano 732bdbde4b
Fix missing validation of local auth file before loading it 2 years ago
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