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

Ruleset::setSniffProperty(): add tests to document trimming behaviour #882

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 16, 2025

Description

Document that both the property names as well as the value get trimmed off surrounding whitespace before being passed to the sniff object.

Includes fixing two incorrect property docs in the test sniff.

Suggested changelog entry

N/A

Document that both the property names as well as the value get trimmed off surrounding whitespace before being passed to the sniff object.

Includes fixing two incorrect property docs in the test sniff.
@jrfnl jrfnl added this to the 3.12.0 milestone Mar 16, 2025
@jrfnl jrfnl merged commit d0d4411 into master Mar 16, 2025
61 checks passed
@jrfnl jrfnl deleted the feature/ruleset-setproperty-add-extra-tests branch March 16, 2025 21:01
@jrfnl jrfnl changed the title Ruleset: add tests to document trimming behaviour Ruleset::setSniffProperty(): add tests to document trimming behaviour Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant