Page MenuHomePhabricator
Paste P2071

(An Untitled Masterwork)
ActivePublic

Authored by amckinley on Sep 14 2017, 6:19 PM.
Tags
None
Referenced Files
F5182203:
Sep 14 2017, 6:19 PM
Subscribers
None
~/src/phacility/arcanist (T12981) $ arc lint
>>> Lint for src/lint/linter/xhpast/rules/ArcanistLongNameXHPASTLinterRule.php:
Warning (TXT3) Line Too Long
This line is 278 characters long, but the convention is 80 characters.
6 const ID = 666;
7
8 public function getLintName() {
>>> 9 return pht('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA');
10 }
11
12 public function getLintSeverity() {
Exception
Some linters failed:
- Exception: Parameter ("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA") passed to "setName()" when constructing a lint message must be a string with a maximum length of 255 bytes, but is 259 bytes in length.
(Run with `--trace` for a full exception trace.)