Page MenuHomePhabricator

Improve validation of 'name' and 'code' parameters for lint messages
ClosedPublic

Authored by epriestley on Sep 25 2015, 5:02 PM.
Tags
None
Referenced Files
F19232691: D14165.id34222.diff
Sun, Dec 21, 5:23 PM
F18902195: D14165.diff
Nov 8 2025, 12:09 AM
F18879717: D14165.diff
Nov 6 2025, 6:39 PM
F18866410: D14165.diff
Nov 3 2025, 5:01 PM
F18749258: D14165.id34222.diff
Oct 4 2025, 3:04 AM
F18736516: D14165.id.diff
Oct 1 2025, 6:17 AM
F18712754: D14165.id.diff
Sep 29 2025, 5:31 AM
F18628396: D14165.id34222.diff
Sep 16 2025, 6:15 AM
Subscribers

Details

Summary

Ref T9145. Fixes T9316. We now require "name" and "code" has a maximum length (currently, this is 32, but the next diff will raise it to 128).

Test Plan
  • Installed PHPCS.
  • Hit both the "name" and "code" issues.
  • Applied this patch.
  • Got better errors sooner.

Diff Detail

Repository
rARC Arcanist
Branch
lintname
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8056
Build 9146: [Placeholder Plan] Wait for 30 Seconds
Build 9145: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Improve validation of 'name' and 'code' parameters for lint messages.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 25 2015, 6:11 PM
This revision was automatically updated to reflect the committed changes.