Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
12 May 2018 at 21:28 UTC
Updated:
3 Jun 2018 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
msankhala commentedWorking on it.
Comment #3
msankhala commentedHere is the first version of the patch. There is a
Unicode::truncateBytes()function. Should that be replaced by mb_strcut? or there is other equivalent function? Because nothing is mentioned aboutUnicode::truncateBytes()in change recrod mentioned in issue descriptoin.Are we trying to remove the dependency from
Drupal\Component\Utility\Unicodecompletely? There is one constantsUnicode::PREG_CLASS_WORD_BOUNDARYIs this supposed to be removed as well?Comment #4
msankhala commentedAah! my bad. Uploaded the wrong patch. Here is correct one.
Comment #8
drunken monkeyGreat, thanks a lot!
The patch looks perfect as it is, just replaced one remaining "Unicode::" in a comment and then committed.
As
truncateBytes()andPREG_CLASS_WORD_BOUNDARYwere not deprecated, we don't want to replace them, so that was correct, too.Thanks again!