Page MenuHomePhabricator

Add a linter rule for detecting missing variables for `pht`
Closed, ResolvedPublic

Description

We should be able to detect the following error:

<?php

echo pht('This string is missing a %s');

See D11501#inline-42448.

Related Objects

Event Timeline

joshuaspence claimed this task.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence triaged this task as Low priority.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Lint.
joshuaspence added a subscriber: joshuaspence.