1
0
Fork 0
Commit Graph

7649 Commits (ce45d15bb5dfec0baa444a56ec0a8aacf070f063)

Author SHA1 Message Date
Jordi Boggiano ce45d15bb5
Skip schema validation when running completion for increased bootstrap performance 2022-05-12 22:52:25 +02:00
Jordi Boggiano 3f848cdb9a
Add TODOs 2022-05-12 16:05:27 +02:00
Jérôme Tamarelle 68fd80b630
PHPStan annotations 2022-05-12 15:00:39 +02:00
Jérôme Tamarelle ed7d8219ad
Backport bash completion suggestion definition from symfony/console 6.1 2022-05-12 15:00:38 +02:00
Jérôme TAMARELLE fe6be142b1
Add completion on commands 2022-05-12 15:00:37 +02:00
Jordi Boggiano 96314b483c
Update target version to 2.4 2022-05-12 14:39:49 +02:00
Jordi Boggiano 3366271d73
Fix outdated list when no new version can be matched, refs #10770 2022-05-12 10:34:27 +02:00
Zan Baldwin b171d5531d
CurlDownloader: Always cast Content-Type header value to string when passing to strtolower() (#10768) 2022-05-11 19:17:58 +02:00
Jordi Boggiano 6ac4de19d7
Fix ApplicationTest interacting with other tests 2022-05-11 16:44:43 +02:00
Jordi Boggiano fdab6657c7
Add command testing utilities to TestCase, add tests for ConfigCommand 2022-05-11 16:08:39 +02:00
Jordi Boggiano ebfdae8883
Fix unsetting of existing props, fixes #10767, refs #10756 2022-05-11 13:52:49 +02:00
Jordi Boggiano 6af9fb63f5
Merge branch '2.2' into main 2022-05-11 13:08:11 +02:00
Jordi Boggiano aeb204bb1d
Fix race condition where multiple http requests requiring auth end up failing, fixes #10763 2022-05-11 13:06:59 +02:00
Jordi Boggiano 1b81b54025
Fix type issue in require command abort 2022-05-11 10:16:26 +02:00
Jordi Boggiano efbc0ddb78
Merge branch '2.2' into main 2022-05-11 10:16:11 +02:00
Jordi Boggiano 1d0fa93495
Fix lock:false still outputting lock file changes 2022-05-11 09:42:13 +02:00
Nicolas Grekas c27dca83ef
Fix deprecated syntax since PHP 8.2 (#10766) 2022-05-08 10:39:36 +02:00
Nicolas Grekas a812853fe4 Inline PackageEvents constants 2022-05-02 11:51:40 +02:00
Jordi Boggiano f1f013edde
Downgrade naming errors to warnings again in package links to avoid BC issues with tags on packagist 2022-04-29 15:02:24 +02:00
Jordi Boggiano da322643d6
Fix retry to add a small pause between retries after the second one, refs #10716 2022-04-29 14:50:58 +02:00
Jordi Boggiano 1f75af6f89
Move comment where it belongs 2022-04-29 13:40:17 +02:00
Jordi Boggiano 928e19e637
Merge branch '2.2' into main 2022-04-29 12:15:20 +02:00
Jordi Boggiano d5a8d2be22
Enable phpstan bleedingEdge 2022-04-29 11:10:21 +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
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 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
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
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 615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104) 2022-04-13 16:18:25 +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