Rename PHIDType classes

Summary: Ref T5655. Rename `PhabricatorPHIDType` subclasses for clarity (see discussion in D9839). I'm not too keen on some of the resulting class names, so feel free to suggest alternatives.

Test Plan: Ran unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin, hach-que

Maniphest Tasks: T5655

Differential Revision: https://secure.phabricator.com/D9986
This commit is contained in:
Joshua Spence
2014-07-24 08:05:46 +10:00
parent 9a892dd906
commit 97a8700e45
221 changed files with 418 additions and 425 deletions

View File

@@ -58,7 +58,7 @@ final class ManiphestTaskEditController extends ManiphestController {
if ($projects) {
$tokens = $request->getStrList('projects');
$type_project = PhabricatorProjectPHIDTypeProject::TYPECONST;
$type_project = PhabricatorProjectProjectPHIDType::TYPECONST;
foreach ($tokens as $key => $token) {
if (phid_get_type($token) == $type_project) {
// If this is formatted like a PHID, leave it as-is.