File tree 4 files changed +9
-11
lines changed
4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.4
5
- - 5.5
6
4
- 5.6
7
5
- 7.0
8
6
- 7.1
7
+ - 7.2
9
8
10
9
before_script :
11
10
- composer install -n --dev --prefer-source
Original file line number Diff line number Diff line change 26
26
"psr-4" : { "Omnipay\\ Payflow\\ " : " src/" }
27
27
},
28
28
"require" : {
29
- "omnipay/common" : " ~2.0"
29
+ "league/omnipay" : " ^3.0" ,
30
+ "squizlabs/php_codesniffer" : " ^3"
30
31
},
31
32
"require-dev" : {
32
- "omnipay/tests" : " ~2 .0"
33
+ "omnipay/tests" : " ^3 .0"
33
34
},
34
35
"extra" : {
35
36
"branch-alias" : {
Original file line number Diff line number Diff line change 14
14
<directory >./tests/</directory >
15
15
</testsuite >
16
16
</testsuites >
17
- <listeners >
18
- <listener class =" Mockery\Adapter\Phpunit\TestListener" file =" vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php" />
19
- </listeners >
20
17
<filter >
21
18
<whitelist >
22
19
<directory >./src</directory >
Original file line number Diff line number Diff line change @@ -282,13 +282,14 @@ public function getData()
282
282
283
283
public function sendData ($ data )
284
284
{
285
- $ httpResponse = $ this ->httpClient ->post (
285
+ $ httpResponse = $ this ->httpClient ->request (
286
+ 'POST ' ,
286
287
$ this ->getEndpoint (),
287
- null ,
288
+ [] ,
288
289
$ this ->encodeData ($ data )
289
- )-> send () ;
290
+ );
290
291
291
- return $ this ->response = new Response ($ this , $ httpResponse ->getBody ());
292
+ return $ this ->response = new Response ($ this , $ httpResponse ->getBody ()-> getContents () );
292
293
}
293
294
294
295
/**
You can’t perform that action at this time.
0 commit comments