Repository navigation
Regenerate PHP SDK (fern-php-sdk 2.30.12, encode-path-params) - #409
Merged
anubhav-intercom merged 2 commits intoNov 5, 2026
Merged
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.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
levindixon
approved these changes
Nov 5, 2026
Contributor
|
@SocketSecurity ignore composer/phpunit/phpunit@12.5.43.0 |
anubhav-intercom
deleted the
fern-bot/2026-11-04-php-2.30.12-encode-path-params
branch
November 5, 2026 11:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.