Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 11, 2025

Sister-sniff to the new Universal.Attributes.DisallowAttributeParentheses sniff.

This sniff enforces that all attribute instantiations use parentheses, even if no argument is passed.

Includes fixer.
Includes metrics.
Includes unit tests.
Includes documentation.

Related to #387

Closes #387

Sister-sniff to the new `Universal.Attributes.DisallowAttributeParentheses` sniff.

This sniff enforces that all attribute instantiations use parentheses, even if no argument is passed.

Includes fixer.
Includes unit tests.
Includes documentation.

Related to 387
@jrfnl jrfnl added this to the 1.5.0 milestone Nov 11, 2025
@jrfnl jrfnl merged commit c083e94 into develop Nov 11, 2025
79 checks passed
@jrfnl jrfnl deleted the feature/387-new-universal-require-attribute-parentheses-sniff branch November 11, 2025 01:46
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.

[FR] Attributes: sniffs to standardize the use of parentheses on attribute instantiation

2 participants