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

DarkaOnLine / L5-Swagger / 495
96%
master: 99%

Build:
Build:
LAST BUILD BRANCH: 10.1.0
DEFAULT BRANCH: master
Ran 12 Jul 2021 06:35AM UTC
Jobs 1
Files 13
Run time 1s
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
495

push

travis-ci-com

web-flow
Fix fatal during docs generation/respect "generate_always" flag (#385)

* Fix fatal during docs generation/respect "generate_always" flag

- fixes fatal when requested `$filePath` is invalid
  If non-existing doc is requested (e.g. https://example.com/docs/foo), an uncaught exception could be raised during `File::get()` call.
  Added a guard to prevent that.

- respect "generate_always" flag
  I think this was introduced back in https://github.com/DarkaOnLine/L5-Swagger/pull/172, presumably before `generate_always` config param was added.
  Imo with addition of `generate_always` this condition became slightly off - if user doesn't want the file to be generated on the fly (`generate_always=false`) l5-swagger shouldn't be ignoring that (by checking if `File::exists()`)

* add tests; fix lint error

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

280 of 293 relevant lines covered (95.56%)

14.01 hits per line

Jobs
ID Job ID Ran Files Coverage
3 495.3 (DEFAULT_COMPOSER_FLAGS="--no-interaction --no-progress --optimize-autoloader" REPORT_TESTS_COVERAGE=0 CACHE_NAME=OPEN_API REPORT_TESTS_COVERAGE=1 XDEBUG_MODE=coverage) 12 Jul 2021 06:35AM UTC 0
95.56
Travis Job 495.3
Source Files on build 495
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #495
  • 5e3d9c06 on github
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