1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

1087 Commits

Author SHA1 Message Date
Michael Dowling
037ba252f6 Merge pull request #315 from bradfeehan/magic-method-compatibility
Make __call arguments required for consistency
2013-05-06 10:31:20 -07:00
Brad Feehan
d18da74ca8 Make __call arguments required for consistency
Making the second argument optional presents difficulty with some
testing libraries (namely Mockery) which subclasses a given class and
overrides __call() without the second argument being optional. This
gives a PHP error "Declaration must be compatible with that of
{superclass}".

The second argument is always provided by PHP, so there shouldn't be any
need for a default.
2013-05-06 15:42:33 +10:00
Michael Dowling
dd91c20488 No need to use JSON to convert XML to an array. get_object_vars() works too. 2013-05-04 17:38:07 -07:00
Michael Dowling
6e48b4db00 Cleaning up the MockPlugin 2013-05-01 17:13:13 -07:00
Michael Dowling
cb8439f1ca Removing unused event 2013-04-30 23:04:08 -07:00
Michael Dowling
5896a1475d Fixing typo in changelog v3.4.3 2013-04-30 13:31:38 -07:00
Michael Dowling
6e51109362 Preparing for 3.4.3 release 2013-04-30 13:30:19 -07:00
Michael Dowling
b7437a1475 Re-extracting the phar if the cacert file is deleted after a client is created 2013-04-30 13:21:28 -07:00
Michael Dowling
c2281ba97b Fixing redirect responses 2013-04-30 11:30:34 -07:00
Michael Dowling
bee77d3bfd Updating changelog v3.4.2 2013-04-29 16:55:30 -07:00
Michael Dowling
a010988134 Merge pull request #308 from jeremeamia/bugfix/date-formatting
Fixed two issues with the date formatting logic in SchemaFormatter
2013-04-29 13:33:24 -07:00
Jeremy Lindblom
6f0363f4b7 Fixed two issues with the date formatting logic in Service\Description\SchemaFormatter 2013-04-29 13:19:42 -07:00
Michael Dowling
0f991407bc Configuration loading now allows remote JSON files. Closes #306. Preparing for release 2013-04-29 12:50:03 -07:00
Michael Dowling
72aa99df4d Cleaning up how responses are queued on requests 2013-04-28 17:53:45 -07:00
Michael Dowling
b158adf2bb Fixing stale-if-error in CachePlugin and mocking CurlExceptions 2013-04-28 16:52:28 -07:00
Michael Dowling
b4b7152102 Adding the ability to queue exceptions for requests with the MockPlugin. Closes #303. 2013-04-26 12:13:31 -07:00
Michael Dowling
fb45f7c272 Fixing docblocks for MockPlugin 2013-04-26 11:35:06 -07:00
Michael Dowling
0ef81a94d2 Merge pull request #305 from bendavies/correct-branch-alias
correct the branch alias version
2013-04-26 10:27:30 -07:00
Ben Davies
f5ebaa4262 correct the branch alias version 2013-04-26 16:47:38 +01:00
Michael Dowling
b636a02193 Using the responseBody of a request when injecting a manual response 2013-04-25 17:15:33 -07:00
Michael Dowling
ad64f76d34 Removing the getDecoratedBody() method from AbstractEntityBodyDecorator. That was a mistake 2013-04-24 21:15:21 -07:00
Michael Dowling
1f024e0e11 Fixing the AsyncPlugin. Closes #304. 2013-04-24 18:03:59 -07:00
Michael Dowling
629f8cb82a Updating OauthPlugin to work with different charsets 2013-04-24 16:38:17 -07:00
Michael Dowling
026a68286d Using utf-8 charset for application/x-www-form-urlencoded POST requests 2013-04-24 15:36:24 -07:00
Michael Dowling
7f25138180 Adding the ability to get the decorated entity body of an entitybody decorator. Clearing the stat cache when getting the size of a local stream. 2013-04-23 18:02:57 -07:00
Michael Dowling
44ff800dd6 Allowing the debug LogPlugin to work when STDERR is not a registered constant 2013-04-23 16:01:55 -07:00
Michael Dowling
9ba6513612 Allowing the setting of multiple POST files for the same key in one call 2013-04-23 14:50:50 -07:00
Michael Dowling
487250f2c6 Better handling of Content-Length and chunked Transfer-Encoding collisions 2013-04-23 12:41:26 -07:00
Michael Dowling
aa33f0708e Merge pull request #301 from benjisg/patch-1
Update README.md
2013-04-22 10:58:16 -07:00
Benji
55f2c327bd Update README.md
Fixes the URL template example which showed using double curly braces rather than single. Using this format causes parsing errors when Guzzle runs.
2013-04-20 10:09:08 -07:00
Michael Dowling
69832a03ed Adding a and a+ stream information 2013-04-17 17:05:38 -07:00
Michael Dowling
938e2075f4 Preparing for 3.4.1 v3.4.1 2013-04-16 13:56:26 -07:00
Michael Dowling
fb039fec6e Adding test to ensure events are proxied 2013-04-16 13:30:26 -07:00
Michael Dowling
6031303275 Adding events back to CurlMulti and proxying all events 2013-04-16 13:27:11 -07:00
Michael Dowling
21df02bf29 Rethrowing redirect exceptions when a response is not available 2013-04-16 11:18:03 -07:00
Michael Dowling
ebad28f026 Removing all the popsicle sticks from sending requests with curl_multi 2013-04-16 02:43:07 -07:00
Michael Dowling
69e3f83717 Fixing how names are added to models. Closes #298 2013-04-15 13:42:27 -07:00
Michael Dowling
e64ff8e8bc Adding support for CurlFile in PHP 5.5. Closes #296. 2013-04-13 19:52:36 -07:00
Michael Dowling
5e9b3bfdef Trying to ucfirst a command when using the service description command factory 2013-04-13 19:24:12 -07:00
Michael Dowling
24af41160c Merge pull request #294 from fubhy/master
Adjustments for OAuth 1.0a
2013-04-12 15:44:37 -07:00
Sebastian Siemssen
83cc037417 Adding oauth_callback to signature. 2013-04-12 16:28:51 +02:00
Sebastian Siemssen
e9d8a17646 Adding oauth_verifier as required by OAuth 1.0a. 2013-04-12 16:28:14 +02:00
Sebastian Siemssen
13d7dc793d Removing special check for 'oauth_token' now that the check against FALSE has been removed. 2013-04-12 16:15:48 +02:00
Michael Dowling
76f16a1546 Preparing to release 3.4.0 v3.4.0 2013-04-11 22:58:15 -07:00
Michael Dowling
fedb6a83a2 Using a relative path for extracting the cacert so that Guzzle can be embedded in third-party phar files. 2013-04-11 16:42:03 -07:00
Michael Dowling
6664d8a1f6 Adding more information to the error when the phar cacert cannot be copied 2013-04-11 13:03:03 -07:00
Michael Dowling
28452534ca Removing requirement on PHP 5.3.7 for checking ResponseClassInterface. Closes #293 2013-04-11 11:59:49 -07:00
Michael Dowling
258ed3ce5a Updating CHANGELOG 2013-04-10 16:18:24 -07:00
Michael Dowling
4ed6be7256 Why, Travis? 2013-04-10 16:18:24 -07:00
Michael Dowling
99c8f279cf Fixing how errors are aggregated when sending multi transfers. Adding isRedirect() flag to requests. 2013-04-10 16:18:24 -07:00