Page MenuHomePhabricator

Bring "fixes x as y" parser forward and use new parsers instead of old ones
ClosedPublic

Authored by epriestley on Feb 17 2014, 8:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 19, 7:40 PM
Unknown Object (File)
May 8 2025, 9:19 AM
Unknown Object (File)
May 6 2025, 9:10 AM
Unknown Object (File)
Apr 18 2025, 12:31 PM
Unknown Object (File)
Apr 17 2025, 6:55 PM
Unknown Object (File)
Apr 15 2025, 2:11 PM
Unknown Object (File)
Apr 9 2025, 7:07 PM
Unknown Object (File)
Apr 8 2025, 7:02 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T1812: Allow for arbitrary values for task status
Restricted Maniphest Task
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP8a725ece0f8b: Bring "fixes x as y" parser forward and use new parsers instead of old ones
Summary

Fixes T3872. Ref T1812. Ref T3886. Modernize the "closes x as y" string parser, and use all the new parsers instead of the old ones.

Test Plan

Made a commit full of a pile of these trigger strings, then used scripts/repository/reparse.php --message to reparse it. Verified that parses came back as expected using a bunch of var_dump().

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/applications/differential/field/specification/DifferentialFreeformFieldSpecification.php
12–45

This duplicated stuff is going away soon.

src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php
4

Oops, this didn't get updated properly. I'll update.

epriestley updated this revision to Unknown Object (????).Feb 17 2014, 8:17 PM
  • Include appropriate unit tests.