Skip to content

PHP 8.4 compatibility #1665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 28, 2025
Merged

PHP 8.4 compatibility #1665

merged 2 commits into from
Mar 28, 2025

Conversation

hubipe
Copy link
Contributor

@hubipe hubipe commented Mar 28, 2025

Method signatures updated to be compatible with PHP 8.4

Microsoft Reviewers: Open in CodeFlow

@hubipe hubipe requested a review from a team March 28, 2025 08:29
@rkodev
Copy link

rkodev commented Mar 28, 2025

Hi @hubipe , thank you for testing out the graph SDK, unfortunately changes to this Repo are generated by the Kiota tool and the manual changes you have added will not be reflected in the nest release. Would you like to submit a PR to kiota?

@hubipe
Copy link
Contributor Author

hubipe commented Mar 28, 2025

@rkodev I thought that only files in the src/Generated dir are generated by Kiota. Are you sure that the file src/GraphRequestAdapter.php is generated by Kiota as well? If so, where in Kiota is this file generated?

@rkodev
Copy link

rkodev commented Mar 28, 2025

@hubipe You are right, this is a manually file, the only change we would need is to verify that sdk complies in version 8.4

@hubipe
Copy link
Contributor Author

hubipe commented Mar 28, 2025

I've added the versions 8.3 and 8.4 to the pr-validation.yml

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@baywet
Copy link
Member

baywet commented Mar 28, 2025

@rkodev @hubipe I'll recap the next steps here to make sure we're all on the same page. Don't hesitate to add to this:

  1. @hubipe can you replicate this PR to https://github.com/microsoftgraph/msgraph-beta-sdk-php please?
  2. @hubipe can you make the promise dependency change on the kiota-php repo please? Require php-http/promise 1.3.0 to be compatible with PHP 8.4 microsoft/kiota-abstractions-php#179
  3. @rkodev we'll need to merge the PR in 2 with a feat: prefix to trigger a release of the kiota dependencies
  4. once the dependencies are released, we can update it in core, and release this chore(main): release 2.4.0 msgraph-sdk-php-core#211
  5. once core is released, we can release here as well (and beta) after updating all dependencies

How does that sound?

@baywet baywet enabled auto-merge (squash) March 28, 2025 12:02
@baywet baywet merged commit ed2a1b5 into microsoftgraph:main Mar 28, 2025
9 checks passed
@hubipe
Copy link
Contributor Author

hubipe commented Mar 28, 2025

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.

3 participants