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

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

Build:
Build:
LAST BUILD BRANCH: V3
DEFAULT BRANCH: master
Ran 26 Jul 2018 03:54PM UTC
Files 131
Run time 20s
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

05 Jun 2018 08:20PM UTC coverage: 76.071%. Remained the same
1669.1

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

Source Files on job 1669.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1396
  • Travis Job 1669.1
  • 9bfbda3c on github
  • Prev Job for on V3 (#1668.1)
  • Next Job for on V3 (#1670.1)
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