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

violinist-dev / licence-check / 13503762977
84%

Build:
DEFAULT BRANCH: main
Ran 24 Feb 2025 05:13PM UTC
Jobs 1
Files 3
Run time 1min
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

24 Feb 2025 05:13PM UTC coverage: 84.058% (+0.5%) from 83.582%
13503762977

push

github

web-flow
Make prefix work regardless of protocol (#8)

* Update LicenceTest.php

* Update `isValidForRepository` method to normalize URL before checking prefix

* Add `normalizeUrl` helper method to remove protocol part from URL
* Use `normalizeUrl` in `isValidForRepository` to normalize URL before checking prefix

* Update `isValidForRepository` method to handle URLs with or without protocol and add support for `git://` protocol

* Update `isValidForRepository` method to normalize the URL by removing the protocol part and check if the URL starts with the required prefix
* Update `normalizeUrl` method to remove `git://` protocol in addition to `http://` and `https://`
* Add test cases for URLs with `git://` protocol and URLs without protocol in `testValidForRepo` method

* Update LicenceTest.php

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

58 of 69 relevant lines covered (84.06%)

18.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13503762977.1 24 Feb 2025 05:13PM UTC 3
84.06
GitHub Action Run
Source Files on build 13503762977
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c607e629 on github
  • Prev Build on main (#10849886426)
  • Next Build on main (#18077607773)
  • Delete
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