Repository navigation
Regenerate PHP SDK (fern-php-sdk 2.30.12, encode-path-params) - #409
fern-api[bot] wants to merge 2 commits into
Conversation
…30.12 and encode-path-params Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Add php-http/multipart-stream-builder and psr/http-factory, which the regenerated client now uses. - Bump phpunit to ^12.5 to match the generated tests, and move the Legacy data provider to the attribute form PHPUnit 12 requires. - Set the SDK version headers to 6.0.0; class renames make this a major release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
Regenerates the PHP SDK from Intercom-OpenAPI
184e88bwithfernapi/fern-php-sdk2.30.12 andencode-path-params: true.What changes
RawClient::encodePathParam()./,?and#are percent-encoded. Exact.and..throwInvalidArgumentExceptionbefore any request is sent. Values such asv1.2and...are unchanged.mixed|nulltype hints. The generator fix in 2.30.11 is included. For example,Unstable\Messages\MessagesClient::createMessageis nowmixed $request = null.Pager.src/Coreis regenerated too. For example, the HTTP client now uses PSR-18 discovery.Please review before merging
composer.jsonis in.fernignore, so it was not updated. The regenerated code needs packages that it does not list:php-http/multipart-stream-builder, used bysrc/Core/Multipart/MultipartFormData.php.psr/http-factory, used bysrc/Core/Client/HttpClientBuilder.php.composer.jsonalso requires PHPUnit^12.5for dev. This file still has^9.0.Unstable\Conversations\Requests\ReplyConversationRequestbecomesReplyConversationBody, andArticles\Types\UpdateArticleRequestStatebecomesUpdateArticleRequestBodyState. There are 16 renames in total; see the renamed files in the diff.5.0.2in the headers insrc/IntercomClient.php. Please set the version you want to release.src/Legacy,tests/Legacyand.github/. The generatedci.ymlwas not added, so the disabled workflow stays disabled.Verification
php -lpasses on all generated files.mixed|nulltype hints remain.composer installwas not run, the runtime tests (phpunit) have not been run.