chore: 🐝 Update SDK - Generate PHP SDK 0.6.2#26
Conversation
3dca571 to
da3bfdc
Compare
5fea6a1 to
c309c56
Compare
48cf88a to
589769f
Compare
9959960 to
de1eb5a
Compare
de1eb5a to
8779ef5
Compare
b2de0f0 to
b7c4fed
Compare
dc2660d to
7d7c69c
Compare
| $httpResponse = $res; | ||
| } | ||
|
|
||
| $statusCode = $httpResponse->getStatusCode(); |
There was a problem hiding this comment.
Stale contentType after afterError hook modifies response
Low Severity
$contentType is captured from the original $httpResponse before the afterError hook runs, but $statusCode is now captured after the hook potentially replaces $httpResponse. Previously both were captured before the hook, making them consistently from the same response. Now if a custom afterError hook modifies the response (e.g., changes status code from error to success), the subsequent matchContentType check uses a stale $contentType from the original error response rather than from the hook-modified response. This affects all service classes uniformly.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 7d7c69c. Configure here.
1d16488 to
f0cc309
Compare
ee95fca to
b204443
Compare
88a2c4f to
22ef020
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b1f14e2. Configure here.
| * @param ?string $fein | ||
| * @param ?string $salesTaxId | ||
| * @param ?ExemptionStatus $status | ||
| * @param ?\KintsugiTax\SDK\Models\Components\ExemptionStatus $status |
There was a problem hiding this comment.
Exemption constructor reordered parameters
Low Severity
The generated Exemption constructor moved reseller after fein, salesTaxId, status, and organizationId. Callers that still pass optional arguments positionally (as in 0.6.1) can bind values to the wrong parameters without a type error.
Reviewed by Cursor Bugbot for commit b1f14e2. Configure here.


SDK update
Versioning
Version Bump Type: [patch] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
OpenAPI Change Summary
No specification changesView full report
Linting Report
0 errors, 100 warnings, 12 hintsView full report
PHP CHANGELOG
core: 3.9.23 - 2026-05-26
🐝 New Features
core: 3.9.22 - 2026-03-26
🐛 Bug Fixes
core: 3.9.21 - 2026-03-25
🐛 Bug Fixes
core: 3.9.20 - 2026-03-10
🐛 Bug Fixes
laravel/pintto1.21.2in generated PHP SDK dev dependencies to avoid formatter drift breakingpint --test[force-gen]core: 3.9.19 - 2026-03-10
🐝 New Features
core: 3.9.18 - 2026-03-04
🐛 Bug Fixes
flattening: 2.81.2 - 2026-03-31
🐛 Bug Fixes
globalSecurity: 2.81.12 - 2026-03-25
🐛 Bug Fixes
globalSecurity: 2.81.11 - 2026-03-24
🐛 Bug Fixes
methodSecurity: 2.82.4 - 2026-03-09
🐛 Bug Fixes
Based on Speakeasy CLI 1.771.0
Last updated by Speakeasy workflow
Note
Medium Risk
The consolidated error-hook path runs for all 4XX/5XX responses and may change hook side effects for SDK consumers; otherwise this is generated output with no spec drift.
Overview
Automated Speakeasy regeneration bumps the PHP SDK from 0.6.1 to 0.6.2 with no OpenAPI spec changes—tooling and generated client code only.
Runtime client behavior: HTTP helpers across service classes (e.g.
AddressValidation,Customers,Transactions) now invokeafterErrorhooks when the status matches4XXor5XXin one step, instead of matching a long list of specific codes before branching. Per-status handling (401, 422, etc.) still runs afterward. PHPDoc on public methods and model constructors now uses fully qualified\KintsugiTax\SDK\...types in@param/@return.Packaging & quality:
composer.jsonpins dev tools (laravel/pint1.29.0,phpstan/phpstan2.1.44, broader PHPUnit ranges).pint.jsondisables additional format rules;phpstan.neondrops a ReflectionProperty constructor ignore. Speakeasy metadata (.speakeasy/gen.lock, workflow lock,RELEASES.md) reflects CLI 1.771.0 and generator feature bumps.Reviewed by Cursor Bugbot for commit b1f14e2. Bugbot is set up for automated code reviews on this repo. Configure here.