Skip to content

Commit

Permalink
Issue #2 take 3.x branch to 3.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
judgej committed May 9, 2018
1 parent 06cceff commit 1978914
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ php:
before_script:
- composer install -n --dev --prefer-source

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
script:
- vendor/bin/phpcs --standard=PSR2 src
- vendor/bin/phpunit --coverage-text
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,23 @@
"Omnipay\\GiroCheckout\\" : "src/"
}
},
"minimum-stability": "dev",
"require": {
"php": ">=5.6",
"omnipay/common": "~3.0@alpha"
"omnipay/common": "~3.0"
},
"require-dev": {
"omnipay/tests": "~3.0",
"squizlabs/php_codesniffer": "^3.0@dev"
"squizlabs/php_codesniffer": "^2.8.1"
},
"scripts": {
"test": "phpunit",
"check-style": "phpcs -p --standard=PSR2 src/",
"fix-style": "phpcbf -p --standard=PSR2 src/"
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
4 changes: 2 additions & 2 deletions src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ public function sendData($data)
"Content-Type" => "application/x-www-form-urlencoded",
];

$httpResponse = $this->httpClient->send(
$httpResponse = $this->httpClient->request(
$this->requestMethod,
$this->getEndpoint(),
$headers,
$data
http_build_query($data)
);

// A valid response is one in which the hash that has been sent does
Expand Down

0 comments on commit 1978914

Please sign in to comment.