Zach Borboa
860c9ff968
Add run container tests section
2018-07-29 00:27:49 -07:00
Zach Borboa
957bee4c76
Add script to run tests in all docker images
2018-07-29 00:14:56 -07:00
Zach Borboa
fb698471e6
Add files to run php72 tests inside a docker container
2018-07-28 23:12:38 -07:00
Zach Borboa
d82ff51e44
Add files to run php71 tests inside a docker container
2018-07-28 23:09:55 -07:00
Zach Borboa
5be7bd6aac
Add files to run php70 tests inside a docker container
2018-07-28 23:03:44 -07:00
Zach Borboa
7edaee784d
Add files to run php56 tests inside a docker container
2018-07-28 22:44:01 -07:00
Zach Borboa
26e6a966df
Add allowed error that occurs when running unit tests inside container
2018-07-28 13:40:33 -07:00
Zach Borboa
7c750584fd
Fix undefined function json_last_error_msg() for older versions of php
2018-07-27 22:31:26 -07:00
Zach Borboa
24e98595f0
Throw error when json_encode fails
2018-07-27 01:43:17 -07:00
Zach Borboa
6ce706da91
Fix #532 : Add example that uses manual json encoding
2018-07-27 01:03:34 -07:00
Zach Borboa
01d9955e6d
Use correct mime type
2018-07-22 21:41:43 -07:00
Zach Borboa
d474d3f40f
Default Curl::setProxyTunnel() to enable tunneling; Use Curl::setProxyTunnel() in proxy example
2018-07-17 20:21:44 -07:00
Zach Borboa
29dd124a6d
Use Curl::setProxy() in proxy example
2018-07-17 20:16:55 -07:00
Zach Borboa
d98ba1b9fb
Merge pull request #531 from zachborboa/proxy
...
Implement methods to use proxy
2018-07-17 20:07:49 -07:00
Zach Borboa
86e12e3b91
Fix #331 : Add methods to use proxy
2018-07-17 04:29:25 -07:00
Zach Borboa
34355b1eff
Merge pull request #529 from zachborboa/mock
...
Add methods for mocking
2018-07-12 21:10:40 -07:00
Zach Borboa
c5db809662
Allow tests to have mock-style indentation
2018-07-07 04:29:21 -07:00
Zach Borboa
c21970ff9a
Fix #303 : Add methods for mocking.
...
Thanks to Sven Lütje (B4rb4ross4) for the initial suggestion and pull
request.
2018-07-07 04:16:34 -07:00
Zach Borboa
cdad9e1a01
Rename variable to use isChildOfMultiCurl as method name
2018-07-07 03:59:46 -07:00
Zach Borboa
668acf1e08
Allow running readme update script outside script directory
2018-06-21 23:56:14 -07:00
Zach Borboa
ee89e5fd67
Rename to remove abbreviation
2018-06-21 23:54:52 -07:00
Zach Borboa
7ba91bd554
Add XML external entity injection section to security doc
2018-06-20 03:03:25 -07:00
Zach Borboa
eca70c8d41
Add custom xml decoder example
2018-06-19 01:23:24 -07:00
Zach Borboa
76c2f82d32
Merge pull request #527 from zachborboa/master
...
Allow options when calling Curl::setDefaultXmlDecoder
2018-06-19 00:26:36 -07:00
Zach Borboa
0e1a0a1631
Clean up
2018-06-19 00:09:47 -07:00
Zach Borboa
bc1dd97917
Simplify test
2018-06-18 23:50:28 -07:00
Zach Borboa
463b2adc71
Reorder tests
2018-06-18 23:12:57 -07:00
Zach Borboa
2bb151e03d
Allow specifying xml decoder options when calling Curl::setDefaultXmlDecoder
2018-06-18 23:08:26 -07:00
Zach Borboa
e087a5c117
Clean up
2018-06-18 01:29:16 -07:00
Zach Borboa
aea056bab5
Clean up
2018-06-18 00:06:28 -07:00
Zach Borboa
3a6c5997a7
Fix error on python 2: "ImportError: No module named parse"
2018-06-15 22:07:02 -07:00
Zach Borboa
648ac2c21b
Reset response variables to match initial values
2018-06-09 01:45:46 -07:00
Zach Borboa
703d0acfa0
Clean up
2018-06-07 03:18:01 -07:00
Zach Borboa
e86246a1b7
Match order of unparsed url parts
2018-06-07 03:12:07 -07:00
Zach Borboa
12aac6d4cd
Clean up
2018-06-07 02:26:51 -07:00
Zach Borboa
0090c30b43
Bump minor version
8.1.0
2018-06-05 22:01:44 -07:00
Zach Borboa
addcd096d8
Merge pull request #526 from zachborboa/master
...
Implement url::reset()
2018-06-04 23:35:28 -07:00
Zach Borboa
f970bc64cb
Fix #523 : Implement accessor for curl_reset(): Curl::reset().
...
Merge branch 'rsanaie-support-reset'
2018-06-04 23:04:14 -07:00
Zach Borboa
51904c06e3
Simplify test for Curl::reset()
2018-06-04 23:03:32 -07:00
Zach Borboa
79dce964d1
Move extension to require-dev as it is only needed for running tests
2018-06-04 23:00:23 -07:00
Zach Borboa
5542659349
Merge branch 'support-reset' of https://github.com/rsanaie/php-curl-class into rsanaie-support-reset
2018-06-04 22:07:12 -07:00
Reza Sanaie
9f34c2bf57
Allow support for curl_reset()
2018-06-04 10:21:22 -07:00
Zach Borboa
402b013c14
Improve url filtering:
...
- Require urls to have a scheme and host
- Allow select ip addresses
2018-05-31 23:51:13 -07:00
Zach Borboa
b52e466fa5
Merge pull request #522 from zachborboa/master
...
Fix memory leak when class object is unset, but not manually closed
2018-05-23 01:10:35 -07:00
Zach Borboa
60917c1e8e
Use unset() to automatically call __destruct() when testing for a memory leak
2018-05-23 00:57:10 -07:00
Zach Borboa
d13c43160d
Fix #521 : Fix memory leak when class object unset, but not manually closed.
...
Move closure function outside class to avoid implicit reference to $this
and allow __destruct() to be called as expected when a class instance is
unset.
2018-05-23 00:31:33 -07:00
Zach Borboa
c3a563260f
Merge pull request #520 from zachborboa/master
...
Fix tests failing due to unexpected network error code
2018-05-20 03:02:00 -07:00
Zach Borboa
fddd222575
Add additional possible error
2018-05-20 02:47:13 -07:00
Zach Borboa
d736b5652b
Add assertion messages to display unexpected error codes
2018-05-20 02:46:43 -07:00
Zach Borboa
bab7ee9782
Merge pull request #519 from zachborboa/master
...
Fix failure tests erroring with mismatching error codes
2018-04-29 02:47:07 -07:00