1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 01:53:58 +01:00

3301 Commits

Author SHA1 Message Date
Tobias Nyholm
e5d0eb2fc5
Implement PSR-18 (#2421)
* Implement PSR-18

* CS

* Remove snapshot
2019-12-08 14:23:48 +01:00
Graham Campbell
f83124f46f Fixed month in change log (#2422) 2019-12-07 21:28:19 +01:00
Tobias Nyholm
dbc2bc3a29
Prepare version 6.5 (#2420)
* Prepare version 6.5

* Updated date
6.5.0
2019-12-07 19:20:45 +01:00
Márk Sági-Kazár
8f53f9f495
Merge pull request #2399 from stephanedelprat/patch-1
Update RequestException.php
2019-12-07 19:01:35 +01:00
Alexey Shokov
9d4716949a Internationalized domain name (IDN) support (#2286)
* Internationalized domain name (IDN) support

* Documentation fix

* Tests for base_uri

* PHPStan and CI fixes

* cs
2019-12-07 10:28:27 +01:00
Diego Luces
1293c1b6c9 Fix RetryMiddleware default exponential delay (#2132)
* Fix RetryMiddleware::exponentialDelay by making it return milliseconds

RetryMiddleware::exponentialDelay was being used as-is to set the delay option in the retry middleware. However, the option requires milliseconds and this method was returning seconds.

* Fix RetryMiddleware::exponentialDelay by making it return milliseconds

RetryMiddleware::exponentialDelay was being used as-is to set the delay option in the retry middleware. However, the option requires milliseconds and this method was returning seconds.

* Fix exponentialDelay int casting

* Added comment
2019-12-07 09:54:01 +01:00
Tobias Nyholm
8d1a5f282d
Updated phpstan config for version 0.12.0 (#2419) 2019-12-07 09:41:32 +01:00
Márk Sági-Kazár
dd23412b4a
Merge pull request #2412 from reedy/reedy-patch-2
Update .gitattributes
2019-12-03 10:24:32 +01:00
Sam Reed
c189018b02 Update .gitattributes 2019-12-01 16:42:57 +00:00
Stéphane Delprat
edcdb5d102
Update RequestException.php
https://www.englishforums.com/English/AUsernameOrAnUsername/pxgzm/post.htm
2019-11-12 15:30:46 +09:00
Šimon Podlipský
df36d8dae3 Use PHPUnit static assertions (#2314)
* Call PHPUnit assertions property

* Fix CS
2019-10-30 13:22:04 +02:00
Tobias Nyholm
411b0764b8
Fixed CS in tests (#2385) 2019-10-30 12:56:22 +02:00
Tobias Nyholm
4d71358b8f
EOL version 5.3 (#2388) 2019-10-30 11:58:00 +02:00
Graham Campbell
cf2be08d0f Fixed branch alias (#2392)
* Fixed branch alias

* Bumped again
2019-10-30 11:27:27 +02:00
Marco Aurélio Deleu
9d6e080285 Change docs to match code (#2391) 2019-10-27 10:43:59 +02:00
Tobias Nyholm
7088357383
Use PHPStan baseline (#2387)
* Use PHPStan baseline

* Use max level

* added more errors
2019-10-24 15:55:19 +03:00
Tobias Nyholm
4ef5723c06
Deprecate ClientInterface::VERSION (#2382) 2019-10-24 15:37:59 +03:00
Andrew Clark
ac157c57f6 [CurlFactory] Prevent undefined offset when using array for ssl_key options (#2348)
* Test & changes to CurlFactory

* Code style and cleanup

* Restore import order

* Bugfix
2019-10-24 15:37:04 +03:00
Márk Sági-Kazár
0cf5794935
Merge pull request #2384 from Nyholm/frontendcoffee-2164
Update PHPDoc
2019-10-24 13:36:38 +02:00
Nyholm
74923670dd Reverted BC break 2019-10-23 22:27:38 +02:00
Nyholm
2a9a0f007d PHPStan config 2019-10-23 22:25:15 +02:00
Nyholm
fb6b954530 Removed comments not needed 2019-10-23 22:25:15 +02:00
Jesse Kramer
f9c53e0f99 Update BC breaking typehints. 2019-10-23 22:25:15 +02:00
Jesse Kramer
31a8b427ea Update PHPDoc 2019-10-23 22:25:15 +02:00
Tobias Nyholm
7e387c1097
Do not fail on BC break failure (#2383)
* Do not fail on BC break failure

* Adding BC break

* Removing BC break

* typos
2019-10-23 23:15:47 +03:00
Mponos George
7fad7865dc Use get_message_body_summary of PSR7 and require min 1.5 (#2227)
* Update RequestException.php

* Use get message body summary

* Added a message to getResponseBodySummary to apply changes to PSR7 also

* Require guzzlehttp/psr7 1.5.2

* Return to static call of getSummary

* remove the extra comment
2019-10-23 18:21:36 +02:00
Mponos George
11337163c1 Missing docblocks affecting code (#2223)
* Missing docblocks affecting code

* Reverted docblocks

* Revert instance check
2019-10-23 18:14:36 +02:00
Luis Jimenez
6a946467b3 MockHandler - Add support to reset internal queue (#2143) 2019-10-23 18:14:19 +02:00
Orian de Wit
33bee79d0c Update Client.php to handle null headers (#2259)
* Update Client.php

A post with options `['json' => $data, 'headers' => null]` gives a `Undefined index: _conditional` in the `Psr7\_caseless_remove()` call on line 326.

When the headers key exists but is null, it seems more logical to set `$defaults['_conditional']` to an empty array than null.

* added test
2019-10-23 18:13:55 +02:00
Alexey Shokov
8f10d0ea90 Custom option for cURL multi handler (#2287)
* Custom option for cURL multi handler

* Assertion fix
2019-10-23 18:13:30 +02:00
Márk Sági-Kazár
0895c93240
Merge pull request #2381 from Nyholm/641
Added change log for 6.4.1
6.4.1
2019-10-23 17:58:00 +02:00
Nyholm
ebfbcdacd6 Added change log for 6.4.1 2019-10-23 17:56:10 +02:00
Márk Sági-Kazár
57d54bcead
Merge pull request #2379 from Nyholm/psr-log
Make sure we dont use Psr\Log\LogLevel since we don't require it in mposer
2019-10-23 17:54:50 +02:00
Márk Sági-Kazár
434c013bc1
Merge pull request #2380 from guzzle/fix-api-key
Fix API key
2019-10-23 17:51:22 +02:00
Nyholm
ab33dc5170 cs 2019-10-23 17:48:26 +02:00
Mark Sagi-Kazar
101bf83fbc
Fix API key 2019-10-23 17:48:01 +02:00
Nyholm
53f39bbfbe Make sure we dont use Psr\Log\LogLevel since we dont require it in composer. 2019-10-23 17:46:03 +02:00
Márk Sági-Kazár
8551741932
Merge pull request #2375 from Nyholm/static-analysis
Static analysis with Github actions
2019-10-23 17:33:38 +02:00
Márk Sági-Kazár
4c1647b1e3
Merge pull request #2374 from Nyholm/640
Added changelog for 6.4.0
6.4.0
2019-10-23 17:29:22 +02:00
Nyholm
6f4024e875 fixed year 2019-10-23 17:28:20 +02:00
Nyholm
49c26d821a Fixed typos 2019-10-23 16:10:54 +02:00
Tobias Nyholm
d22913fae7
Updated date 2019-10-20 08:27:22 +02:00
Christian Weiske
2b1dfedd8d Link Multipartstream in PSR-7 docs (#2305) 2019-10-18 14:00:04 +02:00
Tobias Nyholm
d55dab8d2f
Updated the ClientInterface::VERSION (#2376) 2019-10-18 13:32:11 +02:00
Nyholm
294a66294e Added workflows for static analysis 2019-10-18 13:08:42 +02:00
Tobias Nyholm
5084d8e9f7
Require latest version of guzzlehttp/psr7 (#2373) 2019-10-18 12:17:52 +02:00
Nyholm
354b4b5575 Added changelog for 6.4.0 2019-10-18 12:14:45 +02:00
voprak
cbc63fb37f Add ability to test transfer time (#2362)
* Add ability to test transfer time
2019-10-18 11:22:48 +02:00
Márk Sági-Kazár
4013818df2
Merge pull request #2346 from BenMorel/patch-2
allow_redirects.referer is false by default
2019-10-18 10:32:18 +02:00
Márk Sági-Kazár
bcbb52f6f8
Merge pull request #2335 from j0k3r/patch-1
Prevent concurrent writes
2019-10-14 11:23:25 +02:00