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:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorTokenPHIDTypeToken extends PhabricatorPHIDType {
|
||||
final class PhabricatorTokenTokenPHIDType extends PhabricatorPHIDType {
|
||||
|
||||
const TYPECONST = 'TOKN';
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user