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
Jordi Boggiano
d64d1adf61
Rewrite php file cleaning step to be less regex intensive and support extreme cases better, fixes #10106 ( #10107 )
2021-10-02 14:39:39 +02:00
Jordi Boggiano
d99b200cf3
Fix tests
2021-10-01 10:54:33 +02:00
Jordi Boggiano
f85e2136fd
Merge branch '1.10'
2021-10-01 10:34:36 +02:00
Jordi Boggiano
1a994e41d4
Update deps
2021-10-01 10:10:43 +02:00
Jordi Boggiano
ffee8ca329
Update changelog
2021-09-15 13:55:05 +02:00
Vitaly Baev
7305d50277
Changed GitLab's applications URL ( #10104 )
2021-09-15 13:16:51 +02:00
Jordi Boggiano
d6a8b0252d
Fix phpdoc
2021-09-15 11:31:58 +02:00
Jordi Boggiano
8cd2d0e541
Fix scanning of classmaps in files containing invalid Unicode, fixes #10102
2021-09-15 11:31:43 +02:00
Jordi Boggiano
c44fbbc3eb
Update changelog
2021-09-14 14:25:04 +02:00
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.
2021-09-13 22:30:02 +02:00
Jordi Boggiano
8657f80ddd
Fix error output to be clearer when running composer.phar without phar extension, fixes #10097
2021-09-13 21:46:28 +02:00
Jordi Boggiano
6179f33c74
Fix docker being seen as WSL when run inside WSL, fixes #10094
2021-09-13 21:11:55 +02:00
Jordi Boggiano
4bcd860b65
Add more type annotations
2021-09-05 17:34:12 +02:00
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
2021-09-05 09:56:28 +02:00
Jordi Boggiano
6c9aecf4e7
Ignore all symfony deprecations
2021-09-03 21:39:06 +02:00
Jordi Boggiano
73e95aa0f9
Merge pull request #10088 from alexander-schranz/patch-1
...
Fix GithubDriver nextPage deprecation notice with no link header
2021-09-03 21:37:45 +02:00
Alexander Schranz
99c6b450e6
Check for returned link header in GithubDriver
2021-09-02 19:17:17 +02:00
Jordi Boggiano
5b16d61762
Merge pull request #10086 from iandunn/patch-1
...
Docs: Place general troubleshooting steps in a more logical order
2021-09-02 17:22:14 +02:00
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.
2021-08-31 11:44:46 -07:00
Jordi Boggiano
01d734125c
Add more type info
2021-08-30 17:45:35 +02:00
Jordi Boggiano
0761474599
Add type info to many properties/methods
2021-08-30 14:46:49 +02:00
Jordi Boggiano
fc04c86f82
Add type info to Autoload namespace
2021-08-30 13:58:31 +02:00
Jordi Boggiano
61fba697a0
Fix validating array loader handling of invalid target branch datatype
2021-08-30 13:43:33 +02:00
Jordi Boggiano
f4e2b389a1
Fix test
2021-08-29 20:10:24 +02:00
Jordi Boggiano
024f0eda53
Add a bunch of type info to Util namespace
2021-08-29 20:07:50 +02:00
Jordi Boggiano
8559279025
Merge pull request #10076 from aschempp/bugfix/package-type-update
...
Correctly resolve promises when package type changes
2021-08-29 14:16:01 +02:00
Jordi Boggiano
b8e461ea61
Make sure /proc/version read does not fail the process ever, closes #10080
2021-08-29 13:10:22 +02:00
Jordi Boggiano
0158436fb4
Fix list command not showing plugin commands, fixes #10075
2021-08-29 13:03:45 +02:00
Jordi Boggiano
2c292e705d
Mark and close stale support issues
2021-08-29 12:37:08 +02:00
Jordi Boggiano
922ba01d07
Merge pull request #10072 from jrfnl/feature/10067-fix-classmap-regression
...
ClassMapGenerator: stabilize the heredoc/nowdoc stripping
2021-08-29 12:26:20 +02:00
Jordi Boggiano
d8054d1d2f
Add more possessive quantifiers, unicode flag and support for more post-heredoc syntax, fix test file syntax being invalid
2021-08-29 12:23:02 +02:00
Andreas Schempp
0bed60e631
Correctly resolve promises when package type changes
2021-08-25 22:35:34 +02:00
Jordi Boggiano
73c109c561
Make sure that names with wildcards which are not preceded by dots are also seen as package names and not version constraints
2021-08-25 21:09:49 +02:00
Jordi Boggiano
6ab1b6a7d2
Regex simplifications
2021-08-23 22:18:03 +02:00
Jordi Boggiano
3f79e59f69
Add test assertions for heredoc marker inside the text
2021-08-23 13:14:16 +02:00
Jordi Boggiano
f6c446bdd7
Tweak to allow matching delimiter within the string
2021-08-23 13:14:15 +02:00