Closed roelvanduijnhoven closed 8 years ago
Hi Roel,
Thanks for adding this, I will close this PR. Please open a new one if you think it's ready to merge.
Allright.
The current test suit fails out of the box on my PC. To reproduce:
tests
dirphpunit .
What am I doing wrong?
you have to configure the test. Create a my-config.php and configure: $config = array( 'clientname' => '', 'username' => '', 'password' => '', 'authType' => 'http', 'oauth' => array( 'consumerKey' => '', 'consumerSecret' => '', 'token' => '', 'tokenSecret' => '', ), 'testcontact' => '', );
This PR introduces a decorator that one can use to configure a
Transport
object such that it logs to aPSR-3
valid object.I have found myself needing this for debugging purposes. This is a WIP that I backported from our own system. If I get green light and you are willing to merge such feature, I will finish the PR.
Left to do: