Page MenuHomePhabricator

Improve error message from ArcanistXHPASTLinter::LINT_FORMATTED_STRING
ClosedPublic

Authored by joshuaspence on May 15 2015, 11:52 PM.
Tags
None
Referenced Files
F14080132: D12871.id30958.diff
Fri, Nov 22, 11:40 AM
F14080131: D12871.id30993.diff
Fri, Nov 22, 11:40 AM
F14080128: D12871.id.diff
Fri, Nov 22, 11:39 AM
F14080075: D12871.diff
Fri, Nov 22, 11:25 AM
F14078294: D12871.diff
Fri, Nov 22, 3:07 AM
F14075794: D12871.diff
Thu, Nov 21, 1:21 PM
Unknown Object (File)
Mon, Nov 18, 2:45 PM
Unknown Object (File)
Wed, Nov 13, 6:23 PM
Subscribers

Details

Summary

Currently the error message from ArcanistXHPASTLinter::LINT_FORMATTED_STRING is slightly wrong, mentioning xsprintf instead of the actual sprintf-style function which was used. This diff changes the error message to be more correct.

Test Plan

Linted a file containing sprintf('%s') and saw a reasonable lint message.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improve error message from ArcanistXHPASTLinter::LINT_FORMATTED_STRING.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 17 2015, 12:57 PM
This revision was automatically updated to reflect the committed changes.