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)
Thu, Mar 14, 10:24 PM
Unknown Object (File)
Feb 3 2024, 8:18 AM
Unknown Object (File)
Feb 2 2024, 10:11 PM
Unknown Object (File)
Jan 25 2024, 5:23 PM
Unknown Object (File)
Jan 6 2024, 3:35 AM
Unknown Object (File)
Dec 28 2023, 12:10 PM
Unknown Object (File)
Nov 30 2023, 4:06 PM
Unknown Object (File)
Nov 30 2023, 4:06 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.