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

Util\Tokens: add tests #655

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Util\Tokens: add tests #655

merged 2 commits into from
Oct 31, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 31, 2024

Description

Tests: add tests for the Util\Tokens::tokenName() method

Tests: add tests for the Util\Tokens::getHighestWeightedToken() method

Includes fixing the docs for the method as it didn't represent correctly the actual behaviour of the function.

Suggested changelog entry

N/A

Includes fixing the docs for the method as it didn't represent correctly the actual behaviour of the function.
@jrfnl jrfnl added this to the 3.11.0 milestone Oct 31, 2024
@jrfnl jrfnl merged commit 7f39f60 into master Oct 31, 2024
52 checks passed
@jrfnl jrfnl deleted the feature/test-util-tokens-class branch October 31, 2024 14:34
jrfnl added a commit to PHPCSStandards/PHPCSUtils that referenced this pull request Oct 31, 2024
This test has now been ported to upstream via PHPCSStandards/PHP_CodeSniffer#655, so is no longer relevant in this repo.
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.

1 participant