Skip to content
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

Add MongoDB\BSON\Binary::TYPE_SENSITIVE constant #2939

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Nov 13, 2023

https://jira.mongodb.org/browse/PHPC-2267

Split this off from #2938 since it relates to an unmerged PR: mongodb/mongo-php-driver#1488

@jmikola jmikola requested a review from alcaeus November 13, 2023 20:03
@jmikola jmikola changed the title Add Binary::TYPE_SENSITIVE constant Add MongoDB\BSON\Binary::TYPE_SENSITIVE constant Nov 13, 2023
<varlistentry xml:id="mongodb-bson-binary.constants.type-sensitive">
<term><constant>MongoDB\BSON\Binary::TYPE_SENSITIVE</constant></term>
<listitem>
<para>Sensitive data. This subtype is used for sensitive data that should be excluded from server-side logging when possible.</para>
Copy link
Member

Choose a reason for hiding this comment

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

Nit for ease of translators.

Suggested change
<para>Sensitive data. This subtype is used for sensitive data that should be excluded from server-side logging when possible.</para>
<para>
Sensitive data.
This subtype is used for sensitive data that should be excluded from server-side logging when possible.
</para>

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I re-wrapped the text in an amended commit.

I considered fixing the wrapping on other, existing constants but that'd be beyond the scope of this PR and would likely only add more work for translators (assuming that content has already been translated).

@jmikola jmikola merged commit 3cb0efd into php:master Nov 14, 2023
2 checks passed
@jmikola jmikola deleted the phpc-2267 branch November 14, 2023 20:00
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