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

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

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

12 Jul 2021 06:31AM UTC coverage: 95.563%. First build
DEFAULT_COMPOSER_FLAGS="--no-interaction --no-progress --optimize-autoloader" REPORT_TESTS_COVERAGE=0 CACHE_NAME=OPEN_API REPORT_TESTS_COVERAGE=1 XDEBUG_MODE=coverage

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

280 of 293 relevant lines covered (95.56%)

14.01 hits per line

Source Files on job 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)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 407
  • Travis Job 495.3
  • 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