Jordi Boggiano
|
f509c41280
|
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
|
3 years ago |
Jordi Boggiano
|
ba1814f306
|
Added retry behavior for certain http status and curl error codes (#10162)
|
3 years ago |
Martin Herndl
|
995bf5a932
|
Add types to `Util` namespace, refs #10159 (#10190)
|
3 years ago |
Jordi Boggiano
|
626370d444
|
Suggest COMPOSER_DISABLE_NETWORK if a possibly-offline state is detected (#10163)
Co-authored-by: Nils Adermann <naderman@naderman.de>
|
3 years ago |
Jordi Boggiano
|
aa4de3b13d
|
Fix CurlDownloader requesting gzip encoding even though unsupported, fixes #10153
|
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 |
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 |
Jordi Boggiano
|
024f0eda53
|
Add a bunch of type info to Util namespace
|
3 years ago |
Jordi Boggiano
|
d3c176ec69
|
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
|
3 years ago |
Jordi Boggiano
|
1f4401005c
|
Allow default_socket_timeout to extend the curl timeout if it is longer than 300s, fixes #10018
|
3 years ago |
Jordi Boggiano
|
1b34495daa
|
Some phpstan level 4 fixes
|
3 years ago |
Jordi Boggiano
|
bf73a20bc0
|
Merge branch '2.0'
|
3 years ago |
Stephan
|
2f4b99eacd
|
MaxFileSizeException should reject download job (#9778)
|
3 years ago |
Jordi Boggiano
|
4940009f83
|
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
|
3 years ago |
John Stevenson
|
4f47a4c667
|
Proxy handling docs and tweaks (#9735)
|
3 years ago |
Jordi Boggiano
|
4ade9bd960
|
Avoid accessing undefined indices, fixes #9654
|
3 years ago |
Jordi Boggiano
|
5c35f37f92
|
Properly handle installed repos as additionalFixedRepository, fixes #9574
|
3 years ago |
Jordi Boggiano
|
c33f2615b5
|
Include json response bodies in transport exceptions, fixes #9606
|
3 years ago |
Wissem Riahi
|
f7bf635440
|
Add response info for 3xx/4xx/5xx http responses
|
4 years ago |
Wissem Riahi
|
bdecb4711d
|
Add all curl_getinfo into the response and exception for curl requests
|
4 years ago |
Wissem Riahi
|
a5d79db0a7
|
Make sure total_time_us from curl progress is set
|
4 years ago |
Wissem Riahi
|
370e082b4a
|
Add saving time duration for curl HTTP requests
|
4 years ago |
Jordi Boggiano
|
e8a3a33023
|
Also output headers
|
4 years ago |
Jordi Boggiano
|
8030fbc4ae
|
Add debug info for http status code 0
|
4 years ago |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
4 years ago |
Andrés De la Cruz
|
480a6439fd
|
Fix phpstan phpdocs issues (#9478)
|
4 years ago |
Jordi Boggiano
|
5248d6c9f1
|
Improve curl error reporting some more
|
4 years ago |
Jordi Boggiano
|
8ed2aa8d6d
|
Make sure curl errors without message are shown as code, and add URL linked to the failure
|
4 years ago |
johnstevenson
|
cda49323eb
|
Remove CURLOPT_SSL_FALSESTART option. Fixes #9405
|
4 years ago |
Jordi Boggiano
|
ce7cc3b444
|
Merge remote-tracking branch 'rtm-ctrlz/master'
|
4 years ago |
Jordi Boggiano
|
8f9486b20e
|
redirects are handled in userland now so no need for this hack anymore
|
4 years ago |
Ilia Urvachev
|
4faaf79b58
|
CurlDownloader enable support for SSL-client certificates
|
4 years ago |
Jordi Boggiano
|
34bdc6cbf2
|
Detect and hint for solutions for common curl errors, fixes #9376
|
4 years ago |
Jordi Boggiano
|
881ec8c751
|
Use httpdownloader/curl to process install notifications
|
4 years ago |
Jordi Boggiano
|
62eff8e979
|
Tweaks to new proxying code, refs #9324
|
4 years ago |
johnstevenson
|
d47261eb93
|
Refactor proxy handling for Composer2
|
4 years ago |
Jordi Boggiano
|
c5d8a13bc4
|
Bump curl timeout to 300
|
4 years ago |
Simon Berger
|
2223b93efd
|
Several small code improvements
|
4 years ago |
Simon Berger
|
80d71ccb3f
|
Merged isset, unset and str_replace calls
|
4 years ago |
Simon Berger
|
33d7a64df9
|
Removed unused private functions
|
4 years ago |
Simon Berger
|
a6475a7118
|
Removed unused variables, properties and parameters of private functions
|
4 years ago |
Stephan
|
a16f32484b
|
Downloader: add a max_file_size to prevent too big files to be downloaded
|
4 years ago |
Jordi Boggiano
|
8cec8bd546
|
Allow verify_peer/verify_peer_name http options to be handled by curl downloader
|
4 years ago |
Jordi Boggiano
|
8f6e82f562
|
Add support for aborting running promises cleanly
|
4 years ago |
Graham Campbell
|
462dc5a933
|
Fix for HHVM 3
|
4 years ago |
Jordi Boggiano
|
1e68555e0a
|
Sanitize URLs in getRepoName and centralize the Url sanitization process
|
4 years ago |
Jordi Boggiano
|
5fc31716dd
|
Avoid using CURLPIPE_HTTP1 in php7.4+
|
5 years ago |
Jordi Boggiano
|
bc2a1d762a
|
Merge branch 'master' into 2.0
|
5 years ago |
Jordi Boggiano
|
bfee701f9b
|
Deduplicate findHeaderValue code
|
5 years ago |