Page MenuHomePhabricator

Revert "Reorder remarkup block rules for consistency with PhabricatorMarkupEngine"
ClosedPublic

Authored by richardvanvelzen on May 6 2016, 3:11 PM.
Tags
None
Referenced Files
F14073685: D15862.diff
Thu, Nov 21, 1:44 AM
Unknown Object (File)
Sun, Nov 17, 2:25 AM
Unknown Object (File)
Sun, Nov 3, 8:35 AM
Unknown Object (File)
Oct 22 2024, 5:28 AM
Unknown Object (File)
Oct 18 2024, 3:10 AM
Unknown Object (File)
Oct 14 2024, 2:18 AM
Unknown Object (File)
Oct 13 2024, 11:03 PM
Unknown Object (File)
Oct 9 2024, 3:33 AM
Subscribers
Tokens
"Doubloon" token, awarded by epriestley.

Details

Summary

This reverts commit c0370f2f3c140d5048034ffdab617af7631d14ad.

The sorting behavior has changed between PHP 5 and 7. The msort at libphutil/src/markup/engine/PhutilRemarkupEngine.php:44 reorders slightly differently.

Test Plan

php5 ../arcanist/scripts/arcanist.php unit now doesn't show an error.

Diff Detail

Repository
rPHU libphutil
Branch
revert-remarkup-fix
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12082
Build 15222: arc lint + arc unit

Event Timeline

richardvanvelzen retitled this revision from to Revert "Reorder remarkup block rules for consistency with PhabricatorMarkupEngine".
richardvanvelzen updated this object.
richardvanvelzen edited the test plan for this revision. (Show Details)
richardvanvelzen added a reviewer: epriestley.

Thanks. I filed T10929 to fix this properly.

Awesome.

I'll create a dedicated PHP 5 vm to use for Phabricator development from now on. I'm not wanting to risk this kind of breakage.

(I'll be away from my machine for the weekend, when accepted it'd be best if you land this since I probably won't be able to)

This revision is now accepted and ready to land.May 6 2016, 3:15 PM

I'll land this in, like, 5 minutes if it seems like you immediately stood up from your desk and returned to your mountain fortress after mashing submit.

This revision was automatically updated to reflect the committed changes.