Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New Universal.UseStatements.DisallowUseClass sniff #7

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 23, 2020

Sniff to forbid using import use statements for classes/traits/interfaces.

The sniff contains two error codes FoundWithoutAlias and FoundWithAlias to allow for only forbidding class use import statements with or without alias.

Includes unit tests.
Includes documentation.
Includes metrics.

Related to #1

Sniff to forbid using import use statements for classes/traits/interfaces.

The sniff contains two error codes `FoundWithoutAlias` and `FoundWithAlias` to allow for only forbidding class `use` import statements with or without alias.

Includes unit tests.
Includes documentation.
Includes metrics.
@jrfnl jrfnl added this to the 1.0 milestone Jan 23, 2020
@jrfnl jrfnl merged commit 7b43ee5 into develop Jan 23, 2020
@jrfnl jrfnl deleted the feature/new-usestatements-disallowuseclass-sniff branch January 23, 2020 09:12
@jrfnl jrfnl modified the milestones: 1.0, 1.0.0-alpha1 Apr 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant