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

File::getTokensAsString(): add tests #220

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 2, 2024

Description

AbstractMethodUnitTest: allow for select tests to use tabs in the test case file

An individual test can set the $tabWidth property in the test file to overwrite the default value.

File::getTokensAsString(): add tests

This imports the tests which were already in use in PHPCSUtils into PHP_CodeSniffer.

Suggested changelog entry

N/A

Related issues/external references

Related to #146

jrfnl added 2 commits January 2, 2024 15:24
…t case file

An individual test can set the `$tabWidth` property in the test file to overwrite the default value.
This imports the tests which were already in use in PHPCSUtils into PHP_CodeSniffer.
@jrfnl jrfnl added this to the 3.x Next milestone Jan 2, 2024
@jrfnl jrfnl merged commit d180eb0 into master Jan 2, 2024
46 checks passed
@jrfnl jrfnl deleted the feature/file-gettokensasstring-add-tests branch January 2, 2024 14:38
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