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
Unknown Object (File)
Thu, Dec 19, 5:43 PM
Unknown Object (File)
Fri, Dec 13, 11:59 PM
Unknown Object (File)
Wed, Dec 11, 2:44 AM
Unknown Object (File)
Sat, Dec 7, 6:29 PM
Unknown Object (File)
Sat, Dec 7, 1:25 PM
Unknown Object (File)
Mon, Dec 2, 2:56 AM
Unknown Object (File)
Tue, Nov 26, 9:00 PM
Unknown Object (File)
Tue, Nov 26, 8:59 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.