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

comgate-payments / sdk-php
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: fix/payment-notification-json
DEFAULT BRANCH: master
Repo Added 21 Jul 2026 08:51AM UTC
Token zpt4gsWv5xsZH4lPPIWZAbLxibGhwmO5h regen
Build 5 Last
Files 97
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

LAST BUILD ON BRANCH fix/payment-notification-json
branch: fix/payment-notification-json
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/payment-notification-json
  • feature/functional-coverage-tests
  • master

22 Jul 2026 06:44AM UTC coverage: 90.351% (+5.9%) from 84.465%
37613364678

push

github

web-flow
Feature/functional coverage tests (#115)

* Add fixture-backed functional coverage for SDK workflows

* Remove internal coverage analysis report

* Make fixture router readable; drop env-mutating Cloudflare test

Rewrite tests/Support/Fixture/router.php for maintainability (named
helpers, sectioned routes, header comment explaining the fixture's
purpose) with identical behaviour - all fixture tests still pass.

Remove FixtureTransportCest::sendsCloudflareAccessHeaders and its
$_ENV unset in _after(): it mutated process-global $_ENV to force the
APPLICATION_ENV=sdk-github branch, which leaked across suites and broke
HelpersCest's env read.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Replace fixture HTTP server with in-process transport mocks

Drop the fixture API server (IntegrationApi + router.php) that booted a
real php -S process to return canned Comgate responses. Each functional
test now drives Client/ClientTerminal through a small FakeTransport
double that queues its own responses and records what the SDK sent.

- Add tests/Support/FakeTransport.php (ITransport double)
- Rewrite the fixture Cests as *FunctionalCest using per-test mocks
- MOTO test owns its RSA key pair and decrypts what the SDK sent
- Remove the transport-level and download-subprocess tests that could
  not be meaningfully mocked

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

2135 of 2363 relevant lines covered (90.35%)

8.12 hits per line

Relevant lines Covered
Build:
Build:
2363 RELEVANT LINES 2135 COVERED LINES
8.12 HITS PER LINE
Source Files on fix/payment-notification-json
  • Tree
  • List 97
  • Changed 14
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37613364678 fix/payment-notification-json Feature/functional coverage tests (#115) * Add fixture-backed functional coverage for SDK workflows * Remove internal coverage analysis report * Make fixture router readable; drop env-mutating Cloudflare test Rewrite tests/Support/Fixture/rout... push 07 Oct 2026 11:20AM UTC web-flow github
90.35
See All Builds (5)

Badge your Repo: sdk-php

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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