Page MenuHomePhabricator

`pht`ize a bunch of strings
ClosedPublic

Authored by joshuaspence on Jan 26 2015, 5:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 8:14 AM
Unknown Object (File)
Fri, Jan 3, 3:24 AM
Unknown Object (File)
Mon, Dec 30, 6:49 PM
Unknown Object (File)
Mon, Dec 23, 10:46 AM
Unknown Object (File)
Thu, Dec 19, 6:39 PM
Unknown Object (File)
Fri, Dec 13, 1:35 AM
Unknown Object (File)
Dec 7 2024, 5:13 PM
Unknown Object (File)
Dec 6 2024, 6:18 PM
Subscribers

Details

Summary

Self-explanatory.

Test Plan

Eyeball it.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4049
Build 4062: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to `pht`ize a bunch of strings.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

One technical error.

src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
43

Missing a parameter.

This revision is now accepted and ready to land.Jan 26 2015, 3:15 PM
src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
43

Well spotted, I though that the linter was meant to pick this kind of stuff up.

This revision was automatically updated to reflect the committed changes.

A sprintf() linter would be helpful, but we don't have one currently.

We have checks that the parameter is a string, but we don't try to parse the pattern.

(It gets hard with %3$s and stuff, but pht(), qsprintf(), etc., don't support that stuff anyway.)