Add a linter rule to ensure that there is no space between the operator and the operand in a unary prefix expression.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCc8f0deffab60: Add a linter rule for unary prefix expression spacing
Added test cases.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/lint/linter/xhpast/rules/ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRule.php | ||
---|---|---|
28 | Maybe the more colloquial "followed" instead of technically-correct-but-unusual-in-common-use "succeeded"? |