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

mlocati / ocsp / 39421877225
72%
master: 69%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Oct 2026 12:24PM UTC
Jobs 2
Files 41
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

20 Oct 2026 12:23PM UTC coverage: 72.029% (+3.0%) from 69.016%
39421877225

push

github

web-flow
Add support for phpseclib 4 (#20)

* Add support for phpseclib 4

phpseclib 4 moved its classes to the phpseclib4 namespace. Detect it before falling back to phpseclib3 and phpseclib 2, and allow ^4 in composer.json.

* Test against PHP 8.5

curl_close() is deprecated as of PHP 8.5 and has no effect since PHP 8.0, so only call it on older versions.

* Test OCSP against a local test CA

Public CAs are phasing out OCSP, which makes the remote tests unreliable. Add a test CA (with a good and a revoked certificate) and test against it in two ways:
- recorded OpenSSL requests and responses, which need nothing but PHP;
- the OpenSSL OCSP responder answering requests built by this library, skipped when openssl is not available.

test/assets/ocsp/generate.sh regenerates all of these assets.

* Replace google.com in the remote OCSP test

Google's certificates no longer include an OCSP responder URL. Use DigiCert's valid demo certificate instead, and skip the remote test when a certificate has no OCSP responder URL.

* Nest the phpseclib class_exists checks

---------

Co-authored-by: Michele Locati <michele@locati.it>

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

1 existing line in 1 file now uncovered.

497 of 690 relevant lines covered (72.03%)

10.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39421877225.1 20 Oct 2026 12:24PM UTC 41
71.6
GitHub Action Run
2 39421877225.2 20 Oct 2026 12:24PM UTC 41
71.78
GitHub Action Run
Source Files on build 39421877225
  • Tree
  • List 41
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5e660081 on github
  • Prev Build on main (#15656158590)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc