Page MenuHomePhabricator

Add abstract `getGroup()` method
ClosedPublic

Authored by joshuaspence on Feb 12 2015, 7:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 13 2024, 7:02 PM
Unknown Object (File)
Dec 8 2024, 5:39 PM
Unknown Object (File)
Dec 5 2024, 12:37 PM
Unknown Object (File)
Nov 29 2024, 12:56 PM
Unknown Object (File)
Nov 20 2024, 8:29 PM
Unknown Object (File)
Nov 19 2024, 9:26 PM
Unknown Object (File)
Nov 16 2024, 4:49 AM
Unknown Object (File)
Nov 12 2024, 3:50 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPeec2d145df03: Add abstract `getGroup()` method
Summary

In D11722, a getGroup() method was added to all subclasses of PhabricatorApplicationConfigOptions, but no abstract method was added to the base class. This will fail if a custom *ConfigOptions class does not provide a getGroup() method, in which case $group->getGroup() (in PhabricatorConfigListController) will fatal.

Test Plan

N/A

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add abstract `getGroup()` method.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Feb 28 2015, 9:55 PM
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited edge metadata.
This revision was automatically updated to reflect the committed changes.