HomePhabricator

[linter] Always assign a path to arcanist linter messages

Description

[linter] Always assign a path to arcanist linter messages

Summary: Since PHP 8, NULL will not be implicitely converted to string so every length, compare and similar string operations will fail.

Test Plan:

arc lint --everything

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Sep 9 2022, 09:13
FabienPushed on Sep 9 2022, 09:58
Reviewer
Restricted Project
Differential Revision
D11946: [linter] Always assign a path to arcanist linter messages
Parents
rABCce1907059c6d: [avalanche] remove proofid from StakeCommitment ctor
Branches
Unknown
Tags
Unknown