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

pagarme / pagarme-php / 1560 / 1
76%
master: 73%

Build:
Build:
LAST BUILD BRANCH: V3
DEFAULT BRANCH: master
Ran 29 May 2018 08:40PM UTC
Files 131
Run time 8s
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

29 May 2018 08:01PM UTC coverage: 76.056%. First build
1560.1

push

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.

1242 of 1633 relevant lines covered (76.06%)

3.81 hits per line

Source Files on job 1560.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1350
  • Travis Job 1560.1
  • 2a1d179c on github
  • Next Job for on fix/request-timeout (#1562.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