Skip to content

[php][compiler][ext] - Add missing has* methods and other well known types #20636

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

Conversation

FabioBatSilva
Copy link
Contributor

Should fix : #20036

@FabioBatSilva FabioBatSilva requested a review from a team as a code owner March 10, 2025 19:08
@FabioBatSilva FabioBatSilva requested review from bshaffer and removed request for a team March 10, 2025 19:08
@@ -319,6 +319,13 @@ static PHP_METHOD(google_protobuf_Api, setSourceContext) {
RETURN_COPY(getThis());
}

static PHP_METHOD(google_protobuf_Api, hasSourceContext) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

php/ext/google/protobuf/wkt.inc was generated with bazel build //php:gen_wkt_sources.

Unsure why this file is in git..

Copy link
Member

Choose a reason for hiding this comment

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

This will be automatically updated after the PR is submitted, so you could leave it out of the PR if you wanted. But there's also no harm in updating it eagerly, as you have.

@acozzette acozzette added php 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Mar 10, 2025
@FabioBatSilva FabioBatSilva force-pushed the php-wellknown-types-predicate-methods branch from a3f9c82 to 65aece9 Compare March 10, 2025 20:33
@acozzette acozzette added 🅰️ safe for tests Mark a commit as safe to run presubmits over and removed 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Mar 11, 2025
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Mar 11, 2025
@copybara-service copybara-service bot closed this in 01a7429 May 8, 2025
copybara-service bot pushed a commit that referenced this pull request May 8, 2025
FUTURE_COPYBARA_INTEGRATE_REVIEW=#20636 from ChessCom:php-wellknown-types-predicate-methods 65aece9
PiperOrigin-RevId: 756412500
@copybara-service copybara-service bot mentioned this pull request May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP Extension - Missing Google\Protobuf\Value:has* Methods
3 participants