Jason Moore
6e0945c536
Change provider method prefix to provider
2018-10-03 14:23:23 -05:00
Nicolas CARPi
c7faf23816
Fix minor errors and doc comments ( #2120 )
...
* Fix minor errors and doc comments
* 2 anonymous functions were declaring using a variable that wasn't
used in the end, so this has been removed
* The 'delay' field of RetryMiddleware was not declared
* new TransferStats was called with 0 instead of null
* incorrect type was supplied to withHeader()
* various DocComments fixes
* revert back to 0
2018-09-12 17:59:05 +02:00
Mark Sagi-Kazar
dc4532af49
Add a docker file for quickly testing snippets
2018-09-12 17:44:37 +02:00
Daniel Espendiller
05f9f3b9f9
Using single qoute in testing documentation ( #2138 )
...
To make qoute documentation consistently use single qoute in Mock Handler section
2018-09-07 19:54:47 +02:00
SpacePossum
5c7a5c524e
RequestException - check if readable before access ( #2081 )
...
* check if readable before access
* Add unit tests for RequestException::getResponseBodySummary
* use real object in test
* update test for older PHP version support
* remove no longer used imports
* Update RequestExceptionTest.php
2018-08-08 06:37:00 +02:00
Márk Sági-Kazár
572593ad62
Merge pull request #2115 from shadowhand/patch-1
...
Correct reference to undefined default handler
2018-07-31 15:28:13 +02:00
Woody Gilk
634baabf14
Correct reference to undefined default handler
...
The default handler is created with `HandlerStack::create()`.
2018-07-30 11:07:04 -05:00
Márk Sági-Kazár
9133fe03c4
Merge pull request #2113 from tarjei/docs-patch-1
...
Clean up variable naming to make docs a bit clearer
2018-07-28 22:27:54 +02:00
Tarjei Huse
8eb20b4470
Clean up variable naming to make docs a bit clearer
...
Hope it's ok ;)
2018-07-27 08:08:03 +02:00
Márk Sági-Kazár
7bc46be28e
Merge pull request #2093 from dominikhajduk/patch-1
...
Fix guzzle 3 docs broken link
2018-06-26 01:51:40 +02:00
Dominik Hajduk
6ca1f10bdb
Fix guzzle 3 docs broken link
2018-06-25 13:32:10 +02:00
Márk Sági-Kazár
003757426c
Fix typo
2018-06-23 23:34:47 +02:00
Márk Sági-Kazár
365fe33705
Merge pull request #2079 from Zarthus/docs/quickstart-exception-treeview-2055
...
docs/quickstart: add Exception Tree View (#2055 )
2018-06-23 23:33:51 +02:00
Jos Ahrens
40b94a3e90
docs/quickstart: add Exception Tree View ( #2055 )
...
Add a tree view to the quickstart documentation for Exceptions
Closes #2055
2018-06-20 21:55:50 +00:00
Márk Sági-Kazár
b4e2ffb457
Merge pull request #2087 from MikeLund/patch-1
...
Update curl.haxx.se URL
2018-06-15 00:09:16 +02:00
MikeLund
f085456685
Update curl.haxx.se URL
2018-06-14 15:09:55 +02:00
Márk Sági-Kazár
0773d442aa
Merge pull request #2064 from AlessandroMinoccheri/split_in_many_lines
...
split some long lines in many
2018-04-23 15:18:18 +02:00
Alessandro Minoccheri
2e7aec0b44
split some long lines in many
2018-04-23 14:07:01 +02:00
Márk Sági-Kazár
da6a7201d8
Merge pull request #2063 from carusogabriel/assertion
...
Use assertRegExp
2018-04-23 13:06:26 +02:00
Gabriel Caruso
0d7c63a663
Use assertRegExp
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-04-23 02:33:37 -03:00
Márk Sági-Kazár
407b0cb880
Prepare release
6.3.3
2018-04-22 17:46:56 +02:00
Márk Sági-Kazár
f3504c44a8
Merge pull request #2052 from fiboknacky/fix-decode-content
...
Fix the wrong usage of _caseless_remove() when decode_content is specified
2018-04-22 17:33:15 +02:00
Thanet (Knack) Praneenararat
fc3d89a990
Fix a bug in Client.php that will clear all [] when decode_content is specified
2018-04-17 12:01:19 -04:00
Márk Sági-Kazár
73bf093706
Merge pull request #2044 from keradus/phpunit7
...
DX: Allow PHPUnit 7
2018-04-09 22:04:58 +02:00
Márk Sági-Kazár
c695d33223
Merge pull request #2045 from keradus/cs
...
DX: small CS fixes
2018-04-09 21:51:23 +02:00
Dariusz Ruminski
79294ad0a6
DX: small CS fixes
2018-04-08 21:15:02 +02:00
Dariusz Ruminski
2e06f1e1c6
DX: Allow PHPUnit 7
2018-04-08 21:11:25 +02:00
Márk Sági-Kazár
c9615e7a87
Merge pull request #2035 from webignition/update-middleware-history-docblock
...
Update Middleware::history() docblock to note $container type
2018-03-29 09:29:08 +02:00
Jon Cram
c82828b79a
Update Middleware::history() docblock, @param array|\ArrayAccess
2018-03-29 07:49:09 +01:00
Márk Sági-Kazár
68d0ea14d5
Fix release process
6.3.2
2018-03-26 18:33:04 +02:00
Márk Sági-Kazár
49e42e6539
Prepare release
6.3.1
2018-03-26 14:06:26 +02:00
Márk Sági-Kazár
188a9425a7
Merge pull request #1916 from alexeyshockov/service-headers-fix
...
Proper service headers modification
2018-03-26 13:53:50 +02:00
Márk Sági-Kazár
5d340a951c
Merge pull request #1915 from alexeyshockov/empty-headers-support
...
Empty headers support
2018-03-26 13:49:13 +02:00
Márk Sági-Kazár
21f5dde5f6
Merge pull request #2012 from sm2017/patch-1
...
Add `failed to open stream` to ConnectException
2018-03-26 13:44:22 +02:00
Márk Sági-Kazár
6e8c90fa18
Improve readme badges
...
Closes #2021
2018-03-26 13:42:22 +02:00
Márk Sági-Kazár
6da464c377
Merge pull request #1999 from curtisdf/malformed-domain
...
Error with malformed domain that contains a "/" character
2018-03-26 13:36:33 +02:00
Márk Sági-Kazár
8ffb1d2486
Merge pull request #1998 from curtisdf/master
...
A better fix for #1894 - "Undefined offset: 0"
2018-03-26 13:35:14 +02:00
Márk Sági-Kazár
9e6a3fa8db
Merge pull request #2014 from neerolyte/fix-cookie-isexpired-check
...
Fix bug parsing 0 epoch expiry times
2018-03-26 13:29:42 +02:00
Márk Sági-Kazár
ba1bce30ba
Merge pull request #2024 from GrahamCampbell/patch-1
...
Fixed branch alias
2018-03-11 16:03:34 +01:00
Graham Campbell
7d387e37e0
Fixed branch alias
2018-03-11 14:15:12 +00:00
sm2017
009cfa9151
Update StreamHandler.php
...
connection attempt failed
2018-02-16 14:43:24 +03:30
David Schoen
2a7d3a4ed2
Fix bug parsing 0 epoch expiry times
...
As per https://github.com/guzzle/guzzle/issues/1952 expiry times
specified as "Thu, 01 Jan 1970 00:00:00 GMT" should be treated as
expired, but they weren't because 0 was implicitly casting to a bool in
SetCookie::isExpired().
2018-02-16 21:23:26 +11:00
sm2017
2d4b3f5fcd
Add failed to open stream
to ConnectException
2018-02-14 12:45:47 +03:30
Márk Sági-Kazár
748d67e23a
Merge pull request #1922 from samuel4x4/patch-1
...
Remove duplicated {host} variable
2018-02-05 02:46:45 +01:00
Márk Sági-Kazár
8b8df0078e
Merge pull request #1953 from carusogabriel/phpunit
...
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2018-02-05 02:45:49 +01:00
Márk Sági-Kazár
287bc97422
Merge pull request #1957 from jyggen/master
...
Add annotations for exception methods
2018-02-05 02:40:51 +01:00
Márk Sági-Kazár
6a7e4e81a8
Merge pull request #1974 from TomzxForks/fixes/1972-update-docs-getHeader-returns-array
...
Fix documentation using the getHeader method
2018-02-05 02:39:58 +01:00
Curtis Farnham
e6f837a9a8
Error with malformed domain that contains a "/"
2018-01-31 12:46:25 -08:00
Curtis Farnham
64976eb401
Fix for #1894 - "Undefined offset: 0"
2018-01-31 11:44:37 -08:00
Gabriel Caruso
36e89c8968
Support PHPUnit 6
2018-01-23 16:01:32 -02:00