• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pagarme / pagarme-php / 1669
77%
master: 73%

Build:
Build:
LAST BUILD BRANCH: V3
DEFAULT BRANCH: master
Ran 26 Jul 2018 03:54PM UTC
Jobs 1
Files 131
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1669

cron

travis-ci

leonampd
client: fixes legacy guzzle request objects instantiation

Theres a big difference between `5.*` and `6.*` guzzle majors. So, in the `PagarMe\Sdk\Client::buildRequest` method the sdk should instantiate the correct request object accordingly its contracts, in this case twice: `\GuzzleHttp\Message\Request` and `\GuzzleHttp\Psr7\Request`.

If the user define request options, in guzzle `5.*` this options should be within the request object. If the major is `6.*` the options should be informed on `\GuzzleHttp\Client::send()` method as a second argument.

This fixes the described behavior above informing the request options on the right places.

1243 of 1634 relevant lines covered (76.07%)

3.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1669.1 26 Jul 2018 03:54PM UTC 0
76.07
Travis Job 1669.1
Source Files on build 1669
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1669
  • 9bfbda3c on github
  • Prev Build on V3 (#1668)
  • Next Build on V3 (#1670)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc