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

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

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

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!

1 of 1 new or added line in 1 file covered. (100.0%)

790 of 802 relevant lines covered (98.5%)

13.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 297.1 08 Jan 2020 12:14PM UTC 0
98.53
Travis Job 297.1
2 297.2 08 Jan 2020 12:14PM UTC 0
98.53
Travis Job 297.2
3 297.3 08 Jan 2020 12:14PM UTC 0
98.51
Travis Job 297.3
Source Files on build 297
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #297
  • 1a1fa922 on github
  • Prev Build on catch-api-errors (#295)
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