HomePhabricator

Remove a trailing comma in a linter

Description

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10122

Details

Provenance
PiRKAuthored on Sep 15 2021, 15:51
PiRKPushed on Sep 16 2021, 04:37
Reviewer
Restricted Project
Differential Revision
D10122: Remove a trailing comma in a linter
Parents
rABCc90bbe1c1c24: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown