Page MenuHomePhabricator

Remove a trailing comma in a linter
ClosedPublic

Authored by PiRK on Sep 15 2021, 15:58.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC07cfe1721f64: Remove a trailing comma in a linter
Summary

Some versions of PHP seem to not like this:

$ sudo arc liberate
 SCAN  Searching for libraries in the current working directory...
 WORK  Updating library: arcanist/
[2021-09-15 15:52:11] EXCEPTION: (XHPASTSyntaxErrorException) linter/StdintLinter.php: XHPAST Parse Error: syntax error, unexpected ')' on line 66 at [<arcanist>/src/moduleutils/PhutilLibraryMapBuilder.php:491]
...
Test Plan
sudo arc liberate
arc lint --everything

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable