Page MenuHomePhabricator

Update deprecated array access syntax in Porter stemmer
ClosedPublic

Authored by epriestley on Jan 14 2020, 8:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 7:52 AM
Unknown Object (File)
Sat, Nov 16, 10:46 PM
Unknown Object (File)
Thu, Nov 14, 8:34 PM
Unknown Object (File)
Tue, Nov 12, 12:27 AM
Unknown Object (File)
Sun, Nov 10, 4:48 PM
Unknown Object (File)
Thu, Nov 7, 8:47 AM
Unknown Object (File)
Sun, Nov 3, 3:14 AM
Unknown Object (File)
Tue, Oct 29, 10:08 PM
Subscribers
None

Details

Summary

Fixes T13472. This library uses $a{0}, but this is deprecated in favor of $a[0].

Test Plan

Ran bin/search index Txxx --force on a task with "filing" in the title (this term reaches the "m" rule of the stemmer).

(I'm not on new enough PHP for this to actually raise an error, but I'll follow up with the reporting user.)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 14 2020, 8:06 PM
Harbormaster failed remote builds in B23722: Diff 49896!
  • Fix accidental index change which caused a stemming test failure.
This revision was not accepted when it landed; it landed in state Needs Review.Jan 14 2020, 8:11 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.