Unary postfix expressions should not have a space before the operator.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARC968f4ae5d73e: Add a linter rule for unary postfix expression spacing
Added test case.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 7504 Build 8048: [Placeholder Plan] Wait for 30 Seconds Build 8047: arc lint + arc unit
Event Timeline
src/lint/linter/xhpast/rules/ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRule.php | ||
---|---|---|
29 | Looks like this is actually testing "preceded", not "followed"? |