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

typhonius / acquia-php-sdk-v2 / 297 / 3
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: php73
DEFAULT BRANCH: master
Ran 08 Jan 2020 12:14PM UTC
Files 82
Run time 4s
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

08 Jan 2020 12:07PM UTC coverage: 98.506% (+0.2%) from 98.286%
297.3

push

travis-ci

typhonius
Adds final test case and resends the Exception.

The reason I have chosen to throw an exception
instead of catching the exception and printing
a message is twofold.

Firstly, we cannot test the use of an exit()
or die() that would be required to catch the
error and present a message alerting the user
of the issue.

Secondly, by handling the error, it prevents
consumming libraries from easily detecting an
error has been thown and handling it gracefully.

Both of these reasons have lead me to determining
that Exceptions should be handled in code by
consuming libraries. I'll document this on the
README so users can handle the exceptions if they
wish. I'll also have to use this in Acquia Cli
and Acquia Logstream. I don't catch errors in
these at all right now so it would be an
enhancement!

791 of 803 relevant lines covered (98.51%)

4.41 hits per line

Source Files on job 297.3
  • Tree
  • List 0
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 271
  • Travis Job 297.3
  • 1a1fa922 on github
  • Prev Job for on catch-api-errors (#295.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