Ref T8742. We are adopting PSR-2 at my work, which means that we need to be using elseif instead of else if. The rationale behind this is so that all control keywords look like single words. I was considering adding a boolean xhpast.elseif.single-token configuration option, but I'm not sure how value this would be?
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T8742: Write a bunch of PSR-2 lint rules
Updated unit tests.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Test Failures - Build Status
Buildable 7094 Build 7240: [Placeholder Plan] Wait for 30 Seconds Build 7239: arc lint + arc unit
Time | Test | |
---|---|---|
4,069 ms | ArcanistJSHintLinterTestCase::Unknown Unit Message (" |