Skip to content

Add PHP 4.2 API coverage and fix request serialization - #18

Draft
kkimhannah wants to merge 3 commits into
masterfrom
feature/php-4.2-api-coverage
Draft

kkimhannah wants to merge 3 commits into
masterfrom
feature/php-4.2-api-coverage

Conversation

@kkimhannah

@kkimhannah kkimhannah commented Nov 5, 2026 •

Copy link
Copy Markdown

The PHP SDK now exposes document state, stakeholder creation/update/deletion, signed ZIP downloads and advanced queries through dedicated methods. The update also fixes multipart requests dropping explicit false/zero values, GET parameters being sent as JSON, and template-generation methods discarding their responses.

  • Add Document::getState(), addStakeholder(), updateStakeholder(), deleteStakeholder() and saveZIP(), plus Query::execute() using /api/query.
  • Preserve pagination metadata and server response status. Sandbox stakeholder deletion returns 205 and retains a record marked deleted.
  • Prepare 4.2.0 as unreleased, synchronize the User-Agent version, and add regression coverage and a PHP/Guzzle CI matrix triggered only on push. Remove the Travis configuration and replace its README badge with GitHub Actions.
  • Keep PHP >=8.3 and Guzzle 7/8 support.

Validation: 56 tests and 140 assertions pass in each PHP 8.3/8.4/8.5 × Guzzle 7/8 combination. PHP syntax checks, Composer validation and diff checks pass. Authenticated sandbox checks covered query routing, document creation/state, stakeholder lifecycle, webhook listing and signed ZIP/PDF/XML downloads. ZIP members match both individual downloads byte for byte.

Webhook creation/callback delivery and live legacy template generation were not exercised. This PR does not publish a release.

API usage examples are maintained centrally at docs.mifiel.com; this PR adds no separate repository usage examples.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 37b8657a-8e0c-4bba-963f-16d9eb10b733
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant