Page MenuHomePhabricator

Move many task status hardcodes into ManiphestTaskStatus
ClosedPublic

Authored by epriestley on Feb 17 2014, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 29, 8:34 AM
Unknown Object (File)
Jul 4 2026, 10:09 AM
Unknown Object (File)
Jul 4 2026, 10:05 AM
Unknown Object (File)
Jul 4 2026, 10:05 AM
Unknown Object (File)
Jul 2 2026, 4:56 PM
Unknown Object (File)
Jun 26 2026, 2:41 PM
Unknown Object (File)
Apr 14 2026, 5:10 AM
Unknown Object (File)
Apr 14 2026, 12:16 AM
Subscribers

Details

Summary

Ref T1812. This cleans up most of the easy hard-coded references to specific statuses:

  • The "fixes" language moves into ManiphestTaskStatus.
  • Add a method to list open statuses.
  • Add a method to test if a status is open.
  • Add a method to get default status for new tasks.
Test Plan

Browsed around, lint, grep, created, filtered and updated tasks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped