HomePhabricator

[LINTER] Enforce custom coding standard for PHP files

Authored by Fabien on Mon, Apr 1, 15:04.

Description

[LINTER] Enforce custom coding standard for PHP files

Summary:
These rules are close to Pḧabricator standard.
Requires the installation of phpcs on the local machine.

Depends on D2760

Test Plan:
Should return no error:

arc lint -- arcanist/linter*

Add a tab at the beginning of a line in any of the
arcanist/linter/*.php file, then:

arc lint -- arcanist/linter*

The error should be reported.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: schancel

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

Details

Committed
FabienMon, Apr 15, 13:52
Pushed
FabienMon, Apr 15, 13:52
Reviewer
Restricted Project
Differential Revision
D2764: [LINTER] Enforce custom coding standard for PHP files
Parents
rABC62cbf381851b: Merge #11838: qa: Add getrawtransaction in_active_chain=False test
Branches
Unknown
Tags
Unknown