Page MenuHomePhabricator

Rename `PhabricatorDestructableInterface` interface
ClosedPublic

Authored by joshuaspence on Jul 20 2014, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 11:51 PM
Unknown Object (File)
Thu, Apr 11, 10:17 AM
Unknown Object (File)
Wed, Apr 10, 1:56 AM
Unknown Object (File)
Sat, Mar 30, 3:51 AM
Unknown Object (File)
Fri, Mar 29, 5:50 PM
Unknown Object (File)
Mar 22 2024, 8:42 PM
Unknown Object (File)
Mar 22 2024, 8:42 PM
Unknown Object (File)
Mar 22 2024, 8:42 PM
Subscribers

Details

Summary

Ref T5655. The PhabricatorDestructibleInterface interface is misspelled as PhabricatorDestructableInterface. Fix the spelling mistake.

Test Plan

grep. Seeing as this interface is fairly recent, I don't expect that this would cause any widespread breakages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Rename `PhabricatorDestructableInterface` interface.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.
src/applications/system/interface/PhabricatorDestructableInterface.php
11–24

I got rid of this because I don't think it is necessary now that there are a bunch of classes which implement the interface.

epriestley edited edge metadata.
epriestley added inline comments.
src/applications/system/interface/PhabricatorDestructableInterface.php
11–24

Consider retaining this for consistency -- it's trivial here, but I find it pretty useful for some of the slightly more involved interfaces, like PhabricatorPolicyInterface and PhabricatorApplicationTransactionInterface. It also prevents the copy/paste error where you miss one copy of the application/object you copied from (e.g., I copy from "paste" and miss renaming one instance of "paste") and then get valid code that doesn't work, since it guarantees the code is invalid until all of the blanks are filled in.

This revision is now accepted and ready to land.Jul 21 2014, 1:29 PM
joshuaspence edited edge metadata.
  • Leave "TEMPLATE IMPLEMENTATION" comments
joshuaspence updated this revision to Diff 24027.

Closed by commit rP76ed7d1a02c9 (authored by @joshuaspence).