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

@@ -1,6 +1,6 @@
<?php
final class PhabricatorTokenPHIDTypeToken extends PhabricatorPHIDType {
final class PhabricatorTokenTokenPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'TOKN';

View File

@@ -45,7 +45,7 @@ final class PhabricatorTokenQuery
array('misc-4', pht('The World Burns')),
);
$type = PhabricatorTokenPHIDTypeToken::TYPECONST;
$type = PhabricatorTokenTokenPHIDType::TYPECONST;
$tokens = array();
foreach ($specs as $id => $spec) {