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

optimizely / php-sdk / 38799749624
97%

Build:
DEFAULT BRANCH: master
Ran 15 Oct 2026 08:10PM UTC
Jobs 2
Files 79
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

15 Oct 2026 08:10PM UTC coverage: 97.303% (-0.03%) from 97.336%
38799749624

push

github

web-flow
[FSSDK-13266] Update dependency constraints for json-schema and murmurhash (#298)

* [FSSDK-13266] Update dependency constraints for json-schema and murmurhash

Allow justinrainbow/json-schema v6.x and lastguest/murmurhash v2.x
to support newer versions of these dependencies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [FSSDK-13266] Fix compatibility with murmurhash v2 and json-schema v6

murmurhash v2 removed the global murmurhash3_int() function in favor of
a static class method. Add a function_exists() check to support both APIs.

json-schema v6 deprecated check() in favor of validate(). Switch to the
new method for forward compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [FSSDK-13266] Fix: Add check() fallback for older json-schema versions

validate() does not exist in json-schema v1.6 and v2.x. Use
method_exists() to call validate() when available and fall back
to check() for older versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add latest dependency CI coverage

Co-authored-by: Tamara-Barum <88795935+Tamara-Barum@users.noreply.github.com>

* Limit permissions for dependency CI job

Co-authored-by: Tamara-Barum <88795935+Tamara-Barum@users.noreply.github.com>

* [FSSDK-13266] Address PR review feedback

- Fix Validator.php comment to accurately describe json-schema version
  history (validate() added in v5, check() deprecated in v6)
- De-duplicate bitmask operation in Bucketer.php
- Change murmurhash constraint from ^2.0 to ^2.1 (2.0.0 requires PHP 7)
- Regenerate composer.lock to match updated constraints
- Remove premature CHANGELOG 4.0.4 entry (belongs in release-prep PR)
- Add CI job to test with latest dependency versions (PHP 8.1 + 8.2)
  with version assertion to verify v6/v2 actually resolved
- Add edge-case bucketing test keys (empty string, UTF-8)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [FSSDK-13266] Fix: Split composer show into separate commands

comp... (continued)

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

2706 of 2781 relevant lines covered (97.3%)

109.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.0
-1.49% src/Optimizely/Bucketer.php
Jobs
ID Job ID Ran Files Coverage
1 38799749624.1 15 Oct 2026 08:10PM UTC 79
97.3
GitHub Action Run
2 38799749624.2 15 Oct 2026 08:10PM UTC 79
97.3
GitHub Action Run
Source Files on build 38799749624
  • Tree
  • List 79
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f1a319be on github
  • Prev Build on master (#26178455463)
  • Next Build on master (#38800979162)
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