From 1dcf9c1bdf7fe9946a990b56978aa49ea94bd484 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Fri, 6 Apr 2018 13:40:08 +0200 Subject: [PATCH] Enabled debug mode. (bunq/sdk_php#126) --- .travis.yml | 4 ---- src/Http/ApiClient.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index fe46336b..72ee1c36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,7 @@ php: - 7.2 install: composer install before_script: - - sudo apt-get install -y language-pack-en-base - - sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php - - apt update - sudo apt-get build-dep curl - - sudo apt-get install php-curl - pushd /tmp - wget https://curl.haxx.se/download/curl-7.59.0.tar.bz2 - tar -xvjf curl-7.59.0.tar.bz2 diff --git a/src/Http/ApiClient.php b/src/Http/ApiClient.php index c42725df..9a52c067 100644 --- a/src/Http/ApiClient.php +++ b/src/Http/ApiClient.php @@ -334,7 +334,7 @@ private function determineRequestOptions($body, array $customHeaders): array return [ self::OPTION_HEADERS => $headers, self::OPTION_BODY => $this->determineBodyString($body), - self::OPTION_DEBUG => false, + self::OPTION_DEBUG => true, self::OPTION_HTTP_ERRORS => false, ]; }