Page MenuHomePhabricator

Porter stemmer library uses obsolete array access syntax which raises warning under PHP 7.4
Closed, ResolvedPublic

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Related Objects

Event Timeline

epriestley triaged this task as Wishlist priority.Jan 13 2020, 4:49 PM
epriestley created this task.
epriestley added a revision: Restricted Differential Revision.Jan 14 2020, 7:41 PM
epriestley added a revision: Restricted Differential Revision.Jan 14 2020, 7:48 PM
epriestley added a commit: Restricted Diffusion Commit.Jan 14 2020, 7:49 PM
epriestley added a commit: Restricted Diffusion Commit.

I thought this was some kind of complicated mess with the regex on line 420, but it's actually an issue with this:

... $matches[1]{2} ...

...on line 422.

The {...} should just be [...].

epriestley added a revision: Restricted Differential Revision.Jan 14 2020, 8:04 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Jan 14 2020, 8:11 PM
epriestley added a commit: Restricted Diffusion Commit.