1
0
Fork 0
Commit Graph

11136 Commits (4e3d812212b448f44ab302169df618290c5bbb21)

Author SHA1 Message Date
Jordi Boggiano f25398f52c
Fix 2021-10-17 10:49:57 +02:00
Jordi Boggiano e137046558
Type annotations 2021-10-17 10:31:09 +02:00
Fabien Villepinte 9fde6ec88b
PHPStan level 6 in src/Composer/Json (#10172) 2021-10-16 22:42:32 +02:00
pistej 04c157bf32
Reaching phpstan level 6 in Composer/SelfUpdate (#10169) 2021-10-16 22:35:31 +02:00
Jordi Boggiano 9f4b5c10a7
Update branch name in badge link 2021-10-16 22:32:18 +02:00
Fabien Villepinte 3861ce68cd
Replace master by main (#10171) 2021-10-16 22:30:15 +02:00
Jordi Boggiano 7d88de7d0b
Fix syntax 2021-10-16 11:17:44 +02:00
Jordi Boggiano 9599eb613b
Type annotations 2021-10-16 11:14:10 +02:00
immeëmosol 6d5f6eb090
Reaching phpstan level 6 in Composer\IO (#10166) 2021-10-16 10:36:02 +02:00
Jordi Boggiano c3c6969cf5
Type annotations 2021-10-16 10:25:12 +02:00
Jordi Boggiano 626370d444
Suggest COMPOSER_DISABLE_NETWORK if a possibly-offline state is detected (#10163)
Co-authored-by: Nils Adermann <naderman@naderman.de>
2021-10-16 09:47:04 +02:00
Jordi Boggiano 97fe881af4
Add some docblocks 2021-10-15 16:36:28 +02:00
Fabien Villepinte 1dd2bc6f02
Validate composer.lock strictly (#10160) 2021-10-15 15:11:38 +02:00
Jordi Boggiano 4b2a94c397
Merge pull request #10164 from Seldaek/fix_php81
Fix php8.1 build
2021-10-15 13:47:49 +02:00
Jordi Boggiano 135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies 2021-10-15 13:37:02 +02:00
Jordi Boggiano 5818b4aa51
Attempt fixing php8.1 build 2021-10-15 12:55:41 +02:00
Jordi Boggiano 915f3f4fb6
Make sure that if cleanup happens before install completes on zip updates, we do not report bogus errors, fixes #9804 2021-10-15 10:42:44 +02:00
Jordi Boggiano 1ef7076703
Update lock file 2021-10-14 21:05:56 +02:00
Matthew Davis fd5b1980a1
Allow psr/log ^2.0 (#10158) 2021-10-14 17:19:23 +02:00
Jordi Boggiano bfd819779d
Update lock file 2021-10-14 16:24:20 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Jordi Boggiano 4a7abd79c9
Fix 5.3 syntax 😒 2021-10-14 15:44:14 +02:00
Jordi Boggiano 759a3a9300
Fix require reverting changes even though dependency resolution succeeded if when something fails afterwards, closes #10118 2021-10-14 15:41:44 +02:00
Jordi Boggiano f776f52474
Hint composer require alternatives if dep resolution fails, fixes #10136 2021-10-14 15:12:29 +02:00
Jordi Boggiano 260ac0011c
Add constants to describe error codes from Installer::run 2021-10-14 15:12:06 +02:00
Jordi Boggiano 79727d35c4
Avoid warning due to invalid cache dir during init, wait for first use, fixes #10125 2021-10-14 10:24:08 +02:00
Rodrigo 131d6ade5d
Add alternative to custom installers (#10149)
Taken from composer/installers readme
2021-10-13 22:48:58 +02:00
immeëmosol bced747ed3
Note that CMPSR_HM/config.json is partially merged (#10152) 2021-10-13 22:45:15 +02:00
Jordi Boggiano f587237c55
Fix diagnose output when libz is not present for curl, refs #10153 2021-10-13 22:39:47 +02:00
Jordi Boggiano cf7fa7087c
Fix test 2021-10-13 22:23:18 +02:00
Jordi Boggiano 2828ce59cf
Merge branch '1.10' 2021-10-13 22:12:54 +02:00
Jordi Boggiano b8e5b1d2d4
Merge remote-tracking branch 'johnstevenson/escape' into 1.10 2021-10-13 22:08:26 +02:00
JDev4U 11810e3c2d
Fix help command not working with plugin commands, fixes #10147 (#10150)
- Add 'help' in the list of commands that need plugin command ($mayNeedPluginCommand)
- Remove `'global' !== $commandName` because $mayNeedPluginCommand encure that $commandName is one of `false`, `empty`, `list` or `help` (so never 'global')

Co-authored-by: Duret Joel <joel.duret@neo-soft.fr>
2021-10-13 22:03:31 +02:00
Jordi Boggiano aa4de3b13d
Fix CurlDownloader requesting gzip encoding even though unsupported, fixes #10153 2021-10-13 20:24:28 +02:00
John Stevenson 906442117c Carriage returns are ignored by cmd 2021-10-13 14:54:37 +01:00
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 2021-10-12 22:47:23 +02:00
Jordi Boggiano 1e3f7cfcba
Fix handling of json error responses 2021-10-12 17:32:59 +02:00
John Stevenson 0783b043d2 Fix Windows escaping in tests 2021-10-10 17:02:22 +01:00
John Stevenson 8f974fe741 Improve Windows escaping 2021-10-10 16:24:49 +01:00
Jordi Boggiano cb1e248258
Fix type annotation 2021-10-05 09:47:20 +02:00
Jordi Boggiano 2f3273b58a
Fix changelog 2021-10-05 09:43:59 +02:00
Jordi Boggiano 18e24976c1
Merge branch '1.10' 2021-10-05 09:43:00 +02:00
Jordi Boggiano b67ceb8e74
Prepare changelog 2021-10-05 09:40:51 +02:00
Jordi Boggiano ca5e2f8d50
Fix escaping issues on Windows which could lead to command injection, fixes GHSA-frqg-7g38-6gcf 2021-10-05 09:39:50 +02:00
Jordi Boggiano b3eebeb3b9
Merge pull request from GHSA-frqg-7g38-6gcf 2021-10-05 09:28:42 +02:00
Jordi Boggiano 532c6e7933
Fix show --all showing only the installed version if the package is installed, fixes #10095 2021-10-02 22:15:34 +02:00
Jordi Boggiano a7963b7fed
Fix ComposerRepository handling of offline state to allow resolution as long as everything is present in the cache, fixes #10116 2021-10-02 21:22:25 +02:00
Stephan edccad4e05
VcsRepository: do not continue when receiving 429 rate limit exception (#10132) 2021-10-02 20:40:49 +02:00
Sergii Dolgushev 90d112d98a
Mask Git credentials in the error message (#10115) 2021-10-02 20:30:21 +02:00
David Zülke 28b2b5c0c9
tests for solver handling multiple packages with same name and version (#10110)
Not a case with regular Packagist packages, but some custom installers with custom repos do this, and the current behavior should not randomly change at some point, as that would cause downstream breakage.
2021-10-02 19:02:22 +02:00