Page MenuHomePhabricator

Mark some PhabricatorApplication methods as final
ClosedPublic

Authored by joshuaspence on Jun 13 2015, 12:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 27, 8:01 PM
Unknown Object (File)
Mon, Sep 23, 8:59 PM
Unknown Object (File)
Fri, Sep 20, 7:15 PM
Unknown Object (File)
Mon, Sep 2, 8:15 PM
Unknown Object (File)
Sat, Aug 31, 8:31 AM
Unknown Object (File)
Aug 29 2024, 10:48 AM
Unknown Object (File)
Aug 29 2024, 9:20 AM
Unknown Object (File)
Aug 29 2024, 4:28 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP934285a6d3d2: Mark some PhabricatorApplication methods as final
Summary

I don't believe that any subclass should override these methods.

Test Plan

arc unit

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 6748
Build 6770: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
5,230 msPhabricatorLibraryTestCase::testMethodVisibility
764 msPhabricatorCelerityTestCase::testCelerityMaps
8 msPhabricatorConduitTestCase::testConduitMethods
0 msPhabricatorInfrastructureTestCase::testApplicationsInstalled
1 msPhabricatorInfrastructureTestCase::testRejectMySQLNonUTF8Queries
View Full Test Results (1 Failed · 6 Passed)

Event Timeline

joshuaspence retitled this revision from to Mark some PhabricatorApplication methods as final.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

I think it's plausible that a couple of these (like getApplicationURI() and isInstalled()) might eventually have some kind of use case, but we can add hooks or strip final if/when they do. Most of them seem unambiguously final.

This revision is now accepted and ready to land.Jun 13 2015, 3:52 PM
This revision was automatically updated to reflect the committed changes.