Page MenuHomePhabricator

Remove all product name literals in "pht()" in Arcanist
ClosedPublic

Authored by epriestley on Apr 25 2022, 4:44 PM.
Tags
None
Referenced Files
F22538424: D21764.id51892.diff
Tue, Sep 22, 9:13 AM
F22530629: D21764.id51900.diff
Mon, Sep 21, 3:13 PM
F22518172: D21764.id51900.diff
Sun, Sep 20, 11:34 AM
F22518171: D21764.id51892.diff
Sun, Sep 20, 11:34 AM
F22518170: D21764.id51883.diff
Sun, Sep 20, 11:34 AM
F22518169: D21764.id.diff
Sun, Sep 20, 11:34 AM
Unknown Object (File)
Wed, Aug 26, 2:52 AM
Unknown Object (File)
Tue, Aug 25, 2:51 PM
Subscribers
None

Details

Summary

Ref T13658. Remove all product name literals from "pht()" strings, by replacing them with generic text where that feels reasonably natural, or "PlatformSymbols" calls elsewhere.

These calls were identified with arc lint --everything after enabling the lint rule in D21763.

Test Plan

Read strings, ran "arc".

Diff Detail

Repository
rARC Arcanist
Branch
product2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25652
Build 35480: arc lint + arc unit

Event Timeline

epriestley created this revision.
  • Additional PHP 8.1 "strlen(null)" fix.
  • One additional PHP 8.1 fix for float/int precision.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 25 2022, 7:21 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.