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

Issue #8: Add DocCommentAlignment sniff. #9

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Issue #8: Add DocCommentAlignment sniff. #9

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 1, 2023

Fixes #8

@@ -37,6 +36,14 @@
<rule ref="Squiz.Classes.DuplicateProperty"/>
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
<rule ref="Squiz.Classes.SelfMemberReference"/>
<rule ref="Squiz.Commenting.DocCommentAlignment">
<!-- Allow for nested tags. -->
<exclude name="Squiz.Commenting.DocCommentAlignment.SpaceAfterStar"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this, now we have ScopeIndentSniff?

<exclude name="Squiz.Commenting.DocCommentAlignment.SpaceAfterStar"/>
</rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration">
<!-- Avoid clash with another Squiz rule. -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not actually a clash, they just overlap and we'd end up with two differently worded hints for the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Squiz.Commenting.DocCommentAlignment sniff
1 participant