Jordi Boggiano
f587237c55
Fix diagnose output when libz is not present for curl, refs #10153
3 years ago
Jordi Boggiano
cf7fa7087c
Fix test
3 years ago
Jordi Boggiano
2828ce59cf
Merge branch '1.10'
3 years ago
Jordi Boggiano
b8e5b1d2d4
Merge remote-tracking branch 'johnstevenson/escape' into 1.10
3 years ago
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>
3 years ago
Jordi Boggiano
aa4de3b13d
Fix CurlDownloader requesting gzip encoding even though unsupported, fixes #10153
3 years ago
John Stevenson
906442117c
Carriage returns are ignored by cmd
3 years ago
Jordi Boggiano
d1c8a4d1b4
Lots of typing improvements
3 years ago
Jordi Boggiano
1e3f7cfcba
Fix handling of json error responses
3 years ago
John Stevenson
0783b043d2
Fix Windows escaping in tests
3 years ago
John Stevenson
8f974fe741
Improve Windows escaping
3 years ago
Jordi Boggiano
cb1e248258
Fix type annotation
3 years ago
Jordi Boggiano
2f3273b58a
Fix changelog
3 years ago
Jordi Boggiano
18e24976c1
Merge branch '1.10'
3 years ago
Jordi Boggiano
b67ceb8e74
Prepare changelog
3 years ago
Jordi Boggiano
ca5e2f8d50
Fix escaping issues on Windows which could lead to command injection, fixes GHSA-frqg-7g38-6gcf
3 years ago
Jordi Boggiano
b3eebeb3b9
Merge pull request from GHSA-frqg-7g38-6gcf
3 years ago
Jordi Boggiano
532c6e7933
Fix show --all showing only the installed version if the package is installed, fixes #10095
3 years ago
Jordi Boggiano
a7963b7fed
Fix ComposerRepository handling of offline state to allow resolution as long as everything is present in the cache, fixes #10116
3 years ago
Stephan
edccad4e05
VcsRepository: do not continue when receiving 429 rate limit exception ( #10132 )
3 years ago
Sergii Dolgushev
90d112d98a
Mask Git credentials in the error message ( #10115 )
3 years ago
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.
3 years ago
Jordi Boggiano
d64d1adf61
Rewrite php file cleaning step to be less regex intensive and support extreme cases better, fixes #10106 ( #10107 )
3 years ago
Jordi Boggiano
d99b200cf3
Fix tests
3 years ago
Jordi Boggiano
f85e2136fd
Merge branch '1.10'
3 years ago
Jordi Boggiano
1a994e41d4
Update deps
3 years ago
Jordi Boggiano
ffee8ca329
Update changelog
3 years ago
Vitaly Baev
7305d50277
Changed GitLab's applications URL ( #10104 )
3 years ago
Jordi Boggiano
d6a8b0252d
Fix phpdoc
3 years ago
Jordi Boggiano
8cd2d0e541
Fix scanning of classmaps in files containing invalid Unicode, fixes #10102
3 years ago
Jordi Boggiano
c44fbbc3eb
Update changelog
3 years ago
SvenRtbg
5c4e1cedb2
Add ability check for ZipArchive ( #10092 )
...
ZipArchive::setExternalAttributesName() is only available when libzip 0.11.2 or higher is present.
This is not the case with at least SUSE SLES 12, so a simple PHP version check will not work here.
3 years ago
Jordi Boggiano
8657f80ddd
Fix error output to be clearer when running composer.phar without phar extension, fixes #10097
3 years ago
Jordi Boggiano
6179f33c74
Fix docker being seen as WSL when run inside WSL, fixes #10094
3 years ago
Jordi Boggiano
4bcd860b65
Add more type annotations
3 years ago
Jordi Boggiano
dd49db6f08
Make sure that names with wildcards which are not preceded by dots are also seen as package names and not version constraints
3 years ago
Jordi Boggiano
6c9aecf4e7
Ignore all symfony deprecations
3 years ago
Jordi Boggiano
73e95aa0f9
Merge pull request #10088 from alexander-schranz/patch-1
...
Fix GithubDriver nextPage deprecation notice with no link header
3 years ago
Alexander Schranz
99c6b450e6
Check for returned link header in GithubDriver
3 years ago
Jordi Boggiano
5b16d61762
Merge pull request #10086 from iandunn/patch-1
...
Docs: Place general troubleshooting steps in a more logical order
3 years ago
Ian Dunn
b78570055d
Docs: Place general troubleshooting steps in a more logical order
...
* `self-update` should be run first, because it may affect the results of `diagnose`.
* `clear-cache` should be run before `update`, otherwise `update` would need to be run again after clearing the cache.
3 years ago
Jordi Boggiano
01d734125c
Add more type info
3 years ago
Jordi Boggiano
0761474599
Add type info to many properties/methods
3 years ago
Jordi Boggiano
fc04c86f82
Add type info to Autoload namespace
3 years ago
Jordi Boggiano
61fba697a0
Fix validating array loader handling of invalid target branch datatype
3 years ago
Jordi Boggiano
f4e2b389a1
Fix test
3 years ago
Jordi Boggiano
024f0eda53
Add a bunch of type info to Util namespace
3 years ago
Jordi Boggiano
8559279025
Merge pull request #10076 from aschempp/bugfix/package-type-update
...
Correctly resolve promises when package type changes
3 years ago
Jordi Boggiano
b8e461ea61
Make sure /proc/version read does not fail the process ever, closes #10080
3 years ago
Jordi Boggiano
0158436fb4
Fix list command not showing plugin commands, fixes #10075
3 years ago