Skip to content

[PHP] Fully qualify stdClass with global namespace#39996

Closed
sayuprc wants to merge 1 commit intogrpc:masterfrom
sayuprc:use-global-namespace
Closed

[PHP] Fully qualify stdClass with global namespace#39996
sayuprc wants to merge 1 commit intogrpc:masterfrom
sayuprc:use-global-namespace

Conversation

@sayuprc
Copy link
Copy Markdown
Contributor

@sayuprc sayuprc commented Jun 25, 2025

This PR addresses the following review comment: #37563 (comment)

Changed stdClass to \stdClass to explicitly reference the global namespace.

@sayuprc sayuprc changed the title Fully qualify stdClass with global namespace [PHP] Fully qualify stdClass with global namespace Jun 25, 2025
@stanley-cheung stanley-cheung added kokoro:run release notes: yes Indicates if PR needs to be in release notes labels Jun 25, 2025
@sayuprc sayuprc deleted the use-global-namespace branch June 25, 2025 23:06
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 23, 2025
This PR addresses the following review comment: grpc#37563 (comment)

Changed `stdClass` to `\stdClass` to explicitly reference the global namespace.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes grpc#39996

COPYBARA_INTEGRATE_REVIEW=grpc#39996 from sayuprc:use-global-namespace ea680d1
PiperOrigin-RevId: 775872442
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/php release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants