Skip to content

PSR12/ImportStatement: test tweak #930

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

Merged
merged 1 commit into from
Apr 5, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 5, 2025

Description

Looking at the tests, each type of import use should have at least one test with a leading namespace separator and one without to properly cover what the sniff is looking for.

Looks like adding the leading \ was missed for the use const tests.

Suggested changelog entry

_N/A

Looking at the tests, each type of import `use` should have at least one test with a leading namespace separator and one without to properly cover what the sniff is looking for.

Looks like adding the leading `\` was missed for the `use const` tests.
@jrfnl jrfnl added this to the 3.12.2 milestone Apr 5, 2025
@jrfnl jrfnl merged commit fabb039 into master Apr 5, 2025
61 checks passed
@jrfnl jrfnl deleted the feature/psr12-importstatement-test-tweak branch April 5, 2025 20:15
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